In today's Google CS First activity,you imagined a fashion innovation and used conditionals,or if then blocks to describe the innovationwhen your user clicked around your project.
Today you learned a very important computer science concept,conditionals.
One type of conditional is an if then statement.
Conditions run code based on whether or not somethingis true.
When you play games, use your phone, or search the internet,the computer doesn't just decide something on its own.
Each action a computer performs is based on instructionsprogrammed by a computer scientist.
Take a look at this application created by a groupof high school students.
It uses conditionals like if a user clicks help out,then show them a community problem nearbythat they can fix.
We are the EPA Chica Squad.
We surveyed people and asked them what they thoughtabout the community trash and what they thoughtabout graffiti in the communityand most people said that it was a big issueso we wanted to fix that.
So we decided to code an appthat would help people get togetherand clean up their community.
What the user does is they take a picture of a sitewhere there's something that needs to be cleaned upand community members can come clean it up.
Before making Tag It, I thought code was oneof the hardest things and you had to go take so many classesto learn it but now I realize that if I push myself,I can learn code and it is not the hardest thingin the world.
Coding is not boring, it's not hard,it's actually pretty easyand it's fun to take on the challenge.
I mean we all did it and I'm pretty sure for most of us,our favorite subject isn't math.
It's your favorite?
Through making Tag It, it's opened my eyes to codingand it's just opened my eyes to new thingsthat I could do with my life and it's not somethingthat only certain people can do.
It's something that everyone can do.
In the next session, you'll build a surveyto find out your club mates' taste in fashionand program the survey to respond to their votes.
"Internet1" by Rock1997 (https://commons.wikimedia.org/wiki/File:Internet1.jpg) -- Licensed by CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/) -- No modifications made
"Phone photography" by Petar Milošević (https://commons.wikimedia.org/wiki/File:Phone_photography.jpg) -- Licensed by CC BY-SA 3.0 (https://creativecommons.org/licenses/by-sa/3.0/deed.en) -- No modifications made
"US Navy 100525-N-1831S-004 A Sailors en route to Fleet Week New York aboard the multipurpose amphibious assault ship USS Iwo Jima (LHD 7) play a demonstration copy of the new Top Gun video game" by Mass Communication Specialist 3rd Class Ash Severe (https://commons.wikimedia.org/wiki/File:US_Navy_100525-N-1831S-004_A_Sailors_en_route_to_Fleet_Week_New_York_aboard_the_multipurpose_amphibious_assault_ship_USS_Iwo_Jima_(LHD_7)_play_a_demonstration_copy_of_the_new_Top_Gun_video_game.jpg) -- Licensed by CC0 Public Domain (https://creativecommons.org/publicdomain/zero/1.0/deed.en) -- No modifications made