In today's Google CS First activity you imagined a fashion innovation and used conditionals,or "if/then" blocks," to describe the innovation when your user clicked around your project.
Today, you learned a very important computer science concept, Conditionals. One type ofconditionals, are if-then statements.
Conditionals run code based on whether or not something is true. When you play games,use your phone, or search the internet, the computer doesn’t *just* "decide" somethingon its own. Each action a computer performs is based on instructions programmed by a computerscientist. Take a look at this application created by a group of high school students.
It uses conditionals like "If a user clicks Help Out, then show them a community problemnearby that they can fix."
We are the E.P.A. Chica Squad. We surveyed people and asked them what they thought abouttheir community trash, and what they thought about graffiti in the community. And mostpeople said that it was a big issue, so we wanted to fix that.
So we decided to code an app that would help people get together and clean up their community.
What the user does is they take a picture of a site where there's something that needsto be cleaned up, and community members can help clean it up. Before making Tag It, Ithought that code was one of the hardest things and you had to go take so many classes tolearn it. But now I realize that if I push myself I can learn code, and it's not thehardest thing in the world.
Coding-- it's not boring, it's not hard. It's actually pretty easy, and it's fun to takeon the challenge. I mean, we all did it, and like I'm pretty sure for most of us our favoritesubject isn't math. It's your favorite. Okay. Making tag it has opened my eyes to coding,and new things that I can do with my life. It's not something that only certain peoplecan do. It's something that everyone can do.
In the next session, you will build a survey to find out your clubmates’ tastes in fashion,and program the survey to respond to their votes.
Connexion pour suivre tes progrès et gagner des badges
"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
"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