Coding - traffic light and song challenges
Coding - traffic light and song challenges
Monday January 24, 2022
Submit the following two codes to Mr. O’Bryan by the start of Wednesday’s class
Tuesday - class time devoted to the assignment
Wednesday - onto next lesson
Challenge 1:
Using the 10 minutes of code unit 1 innovator hub application, code a model traffic light with loops and an input
option for how long the green, red, and yellow lights are. The code should result in multiple loops using the
loop command and turn off the color light at the end.
traffic light 10 minutes of code
Submit code to o
yan.
Challenge 2:
Using the sound feature of the innovator hub, code at least 10 lines of an actual song. Here is a table that has
frequencies for notes. frequency table and you can use the notes command when coding as well.
Keeping it simple with a familiar song or children’s song is a good idea. I can help you search song notes.
Remember, you also need note lengths.
This is graded for completion of the criteria. Submit both codes to O’Bryan
Plan for the week
Date Instruction/content Homework
Mon 1/24
Day 5
Introduce two challenges - table from last week due
-two challenges due wednesday
Tue 1/25
Day 6
Self directed time -two challenges due wednesday
Wed 1/26
Day 7
Skill builder unit 2, lessons 1 and 2
using the “for loop”
-no new homework, complete any
previous work
Thu 1/27
Day 8
Skill builder unit 3, lessons 1 and
2, if command and sensor use
-handout to use in Friday’s class
for discussion
Fri 1/28
Day 1
Review and practice No homework unless working on
previous work
https:
drive.google.com/file/d/1YGJE_DCcRs-n5ybVq_dzoJUWX4aiy1F1/view?usp=sharing
https:
pages.mtu.edu/~suits/notefreqs.html
Coding challenges
Coding challenges
Jan 27
Instructions for slides
Work with O’Bryan to get your traffic light or blink code screenshots onto a slide
On a second slide, upload your audio file and a link to the original version of the song. O’Bryan can put a screenshot of your code on your slide
O’Bryan will work on putting your original codes from the challenge assignment last week onto a slide
Anna, Meadow and Anna
https:
m.youtube.com/watch?v=tollGa3S0o8
“All Too Well” Taylor Swift - Song Link:
https:
drive.google.com/file/d/1CASsUvTaoNEcgKU2vAle1XPxOo4QNg1P/view?usp=drivesdk
Our Video:
Codes two and three (Anna, Meadow, Anna)
David, Eric
innovator hub song
Original song
Write your own codes - David, James, Eric
James - One Last Time - Ariana Grande
https:
drive.google.com/file/d/1EUbj36WNhgnKG0RyfGltH9N9SPewcOSJ/view?usp=drivesdk - link to the video
Link to the actual song - https:
youtu.be/Wg92RrNhB8s
Maya Fur Elise
Actual song - https:
www.youtube.com/watch?v=_mVW8tgGY_w
Coded song -
Aliyah - Baby by Justin Bieber
Recording -