What is a function?, a block of code that can be reused to perform a specific task., a block of code that can't be reused to perform a specific task., a list of numbers in a program., a way to store date permanently., Why are functions used in everyday life?, Ruin coding, To make code longer, to complicate code, To create reusable, efficient code, why are functions important?, they fend off viruses, functions are not necessary and are not that important, functions can make coding easier by avoiding repetition, they are important to know so you can avoid them., How do you create a function?, by using "loop command", By putting all the code inside quotations, By saving code in a text file, by using "def" to define a new function, What is an example of a function, def move_up():, define move_up(), def chocolate cake(), def_move_sideways_():, What does Crowdsourcing help with?, Solving problems, Create more clutter, Accumulate unnecessary data, Spread false information, Why do researchers crowdsource?, Make research lengthy, Overcomplicate things, To make their research more diverse, Get limited number of answers, What is an example of crowdsourcing, Getting drive in orders in McDonalds, Wikipedia, Gathering data by yourself, Through wasting time, Why is crowdsourcing important, To get money, Bother people, Get more information with a larger amount of people, help code, What is a positive impact of crowdsourcing, Prevents people from working together, It gathers ideas, work, or funds from a large group of people online., Limits ideas to one person, Makes projects more expensive, What is digital divide, A type of computer virus, The gap between people who have and don't have technology, New social media platform, Method for fixing broken computers, Causes of Digital Divide?, Affordable and fast internet everywhere, Everyone owns a smartphone, lack of affordable internet devices, and digital skills., Too many people using the internet at once, What are impacts of digital divide?, Student without internet can't access online learning, Teachers stop using books to teach, Students only learn coding in schools, Students learn faster without tech, Real-World Example of Digital Divide, Rural areas often having slower or no internet compared to cities, everyone in a city having fiber internet, A person buying a new laptop every year, A school giving students the same device, Digital Divide Solutions, Taking away smartphones from teenagers, Providing public wifi, or affordable internet, Stopping people from using social media, Making computers more complicated, What is a loop used for?, To store data in variables, To repeat a block of code a set number of times, To end a program, To display your messages, What is the correct way to write a loop that prints 1-5, for i in range(1,6): print(i), loop i = 1 to 5: print(i), loop():, loop1_5():, How does a loop know when to stop, It doesn't, You press a key, It never stops, It stops when it reaches the end of a sequence or range, What is the main difference between a for loop and a while loop, The user presses a key, A for loop runs forever, A for loop repeats a fixed number of times, while a while loop runs until the condition is false, they are exactly the same, Which of the following is a good use of a for loop?, Storing text in a string variable, Checking if a computer has viruses, Repeating a task a set number of times, Waiting until you press a button

Abstraction Group Project

Leaderboard

Visual style

Options

Switch template

Continue editing: ?