NEW
Font size
WorksheetsAlgorithms
Total questions: 48
Worksheet time: 25mins
print "Hello"
A linear search is to be performed on the list above.
How many comparisons would it take to find the number 1?
1
2
3
4
A binary search is to be performed on the list above.
How many comparisons would it take to find the number 9?
0-1
2-3
4-5
It can't find the number 9
A binary search is to be performed on the list above.
How many comparisons would it take to the find the number 101?
0-1
1-2
3-4
4-5
Identify the search performed by the above algorithm
Linear
Binary
Both linear and binary
Neither, it does not work
The above list is to be sorted using a bubble sort.
What will the list look like after the first iteration through the list.
The two lists above are to be merged, which element first goes into the new merged list
0
1
2
3
Identify the purpose of the above flowchart symbol
Input/Output
Output
Start/Stop
Decision
Identify the purpose of the above flowchart symbol
Process
Input/Output
Sub-process
Decision
Identify the purpose of the above flowchart symbol
Process
Input/Output
Sub-process
Decision
How many arrows should come out of a decision symbol in a flowchart?
0
1
2
3
The following algorithm should take as input and add together two numbers, outputting the result.
Identify the correct algorithm.
The following algorithm should take as input on number, and output the 12 times table for that number.
Identify the correct algorithm.
The following algorithm should take as input two numbers, add them together, multiply the answer by 11, add 4, then divide by 2. It should output the result.
Identify the correct algorithm.
