Quiz 2.1: Algorithms
Which searching algorithm requires the data to be in sorted order?
Which of the following best defines an algorithm?
What type of error is present in this pseudocode?
Pseudocode
Which sorting algorithm works by repeatedly stepping through the list and comparing adjacent elements?
What is the primary advantage of binary search over linear search?
In a flowchart, what does this symbol represent?
Flowchart symbol
Which of the following is an example of abstraction in programming?
What is the primary purpose of identifying patterns in data?
Why might an illustrator use abstraction to draw an animated cartoon character?
What is the purpose of a trace table?