A step-by-step solution to a problem is known as…
- Abstraction
- Decomposition
- Pattern recognition
- Algorithm
The London Underground map is a good example of…
- Abstraction
- Decomposition
- Pattern recognition
- Algorithm
What is a prerequisite of a binary search?
- Values must be in order
- Values must be in a random order
- Memory must be pre-allocated to the process
- Values must be in a trace table
What is the primary purpose of a sorting algorithm?
- Searching for elements
- Generating random numbers
- Rearranging data into a specific order
- Creating new data
Which of the following is an essential characteristic of a good algorithm?
- Complexity
- Lengthiness
- Ambiguity
- Clarity and precision
Why might an illustrator use abstraction to draw an animated cartoon character?
- To speed-up the drawing process
- To preserve as much detail as possible
- To maximise the image resolution
- To overcome copyright restrictions
What is the primary advantage of binary search over linear search?
- Simplicity
- Suitable for unsorted data
- Requires less memory
- Faster on large lists
Which of the following best defines an algorithm?
- A physical device used for computation
- A step-by-step procedure or set of instructions for solving a problem
- A high-level programming language
- A type of computer hardware
What is a set of steps to solve a problem known as?
- Abstraction
- Decomposition
- Pattern recognition
- Algorithm
What does the term "efficiency" refer to in the context of algorithms?
- The length of the algorithm
- The clarity of the algorithm
- The speed and resource usage of the algorithm
- The complexity of the problem being solved