Hardest Q’s: 23, 28, 30 X←Y: The value of Y is being assigned to X. Citizen science: the collection and analysis of data relating to the natural world by members of the general public, typically as part of a collaborative project with professional scientists. Incremental process: checking code through outputs at each step PROCEDURE = function Statements are capitalized(IF<, IN, FOR) {} are used Redundant Routing: a failover strategy that ensures every call connects by rerouting traffic to alternate destinations if the primary one fails Byte Pair encoding: a simple form of data compression algorithm in which the most common pair of consecutive bytes of data is replaced with a byte that does not occur in that data Oval: start or end of algorithm Diamond: a conditional statement Rectangle: one or more processing steps DISPLAY = print
Score: 64/66
Corrections: adjusted = Max(midterm, finalexam) + finalexam This will replace the midterm with the final score if it is greater and add the final exam score which will give us the total score. I got this wrong because I left out the + finalexam thinking they just wanted the adjusted using the mac.
sciFiFans = analysis(scientific fiction)
genre_list = [comedy, drama, mystery, romance]
FOR EACH genre IN genre_list
IF analysis(genre > sciFiFans)
DISPLAY(genre)
Runtime 5 hours not 4 because analysis takes 1 hour to run for exerytime it is called.