Questions: Step-by-Step Instructions (Algorithms)

4 questions to test your understanding

Score: 0 / 4
Question 1 Multiple Choice

A recipe says: (1) Preheat oven. (2) Mix ingredients. (3) Pour batter in pan. (4) Bake for 30 minutes. (5) Let cool. What would happen if you did step 4 before step 2?

ANothing — the order does not matter
BYou would bake an empty pan because you have not mixed or poured the batter yet
CThe recipe would work fine, just in a different order
DYou would need to preheat longer
Question 2 Multiple Choice

Which of the following is the best step in an algorithm for making a peanut butter sandwich?

A'Make the sandwich' — short and clear
B'Use a knife to spread peanut butter on one side of a slice of bread' — specific and actionable
C'Do the peanut butter thing' — everyone knows what that means
D'Put stuff on bread' — broad enough to cover any situation
Question 3 True / False

An algorithm is primarily an algorithm if a computer runs it.

TTrue
FFalse
Question 4 Short Answer

What makes a good algorithm different from just a list of ideas?

Think about your answer, then reveal below.