functions, A block of code that can be reused to perform repetitive tasks., benefits of functions, makes the program less repetitive and simplifies the code, body of a function, What the function should carry out, write a function, def function(): what function should carry out, important part of every function, Making sure you spell everything correctly and are using the correct code, crowdsourcing, practice of getting information from a group of people via the internet, examples of crowdsourcing, polls and surveys, benefits of crowdsourcing, allows you to gather information from large groups that have differences; also helps take a small sample of a larger demographic, four types of crowdsourcing, crowd wisdom, crowd creation, crowd voting, and crowd funding, challenges of crowdsourcing, finding a diverse group, ensuring submissions have a high quality and are semi-consistent, and the results aren’t majorly biased, for loop, piece of code that tells the program to run it multiple times, writing a for loop, for variable_name in iterable_object:, difference between for loops and while loops, For loops are programmed to run a certain number of times. While loops are programmed to run as long as a certain condition is met., different types of For Loops, range(), enumerate(), keys(), items(), values(), and nested for loops, Why are for loops more efficient than repeating the code over and over, For loops allow for the program to be neat and organized which help it become more clean and understandable., while loop, command that tells a piece of code to repeat until a certain characteristic isn’t activated, How do you write a while loop?, while CONDITION: code that will run while condition is true, once condition isn't true, code will stop, why use a while loop, allows you to repeat code without having to manually write, important part of every while loop, make sure that all the conditions are defined and everything is spelled right, three parts of while loops, while key, the condition to be tested, the EndWhile key
0%
wordwall abstraction
Share
Share
by
Giaa2
CS
Edit Content
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Matching pairs
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
Switch template
Show all
Open results
Copy link
QR code
Delete
Continue editing:
?