In this video, Dr. Wu goes over of the commonly missed questions on the AP CSP Create task - how does your list manage the complexity of your code?
Dr. Wu gives six ways you can use lists to help you score a 5 on the AP CSP exam.
0:00 Intro
0:19 Select item from list by number (game show)
2:15 Select random item from list (Hogwarts hat)
3:45 Adding items to a list (positive numbers to list)
5:38 Using a list method (sort Tom Brady's Super Bowl Touchdowns)
7:19 Loop through items of list, unknown items (print out friends)
8:43 Use a dictionary (vote counter)
10:12 Bad answers - small lists (scores)
10:58 Bad answers - random item from small list (rock, paper, scissors)
11:29 Bad answers - loop through items of list, unchanging items (print numbers)
12:10 Outro
Video is done assuming Python code, but concepts are transferrable to other languages.
Dr. Wu is not an official AP CSP grader (and has never been), so Dr. Wu does not speak for the AP board in any official capacity.
#APCSP #createtask