Which of these standard algorithms do you need to be familiar with for Higher Computing Science?
Higher Computing - Standard Algorithms

Quiz
•
Computers
•
11th Grade
•
Hard
Calum Gordon
Used 12+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
linear search
find min/max
count occurrences
binary search
minimax
Answer explanation
There are three standard algorithms you need to know about for Higher Computing Science: find min/max, count occurrences and linear search.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For which of these algorithms would it be best to use a conditional loop?
linear search
find min/max
count occurrences
Answer explanation
A conditional loop woud be best for the linear search algorithm because there is no way of knowing where, or if, the search item will be found in the searched data.
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
In which of these algorithms is it necessary to process all the items in the data structure?
linear search
find min/max
count occurrences
Answer explanation
In both find min/max and count occurrences algorithms it is necessary to check all the items in the array/list before the alsgorithm can complete.
4.
MATCH QUESTION
1 min • 1 pt
Match each algorithm to its correct description ...
checks that input data meets necessary requirements
find min/max
looks to see if the search item appears in the data
count occurrences
return how many times the search item appears in the data
linear search
looks for the largest or smallest value in the data
input validation
Answer explanation
It's important that you know the purpose of each of these standard algorithms ...
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The findMax algorithm is shown.
The findMin algorithm could also be implemented within the same FOR loop.
TRUE or FALSE?
True
False
Answer explanation
Yes, the same loop could be used to also find the smallest item.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these algorithms also finds the location of the largest or smallest item of data?
Answer explanation
An extra variable is required to store the index position of the max or min item. If there were several occurrences of the max or min item their index positions could be stored in an array.
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What (exact) output will be produced by the procedure call
findMax()
if
numbers = [13, 19, 37, 9, 37, 42, 40, 41, 42, 21]
Answer explanation
42 is the largest value in the array (it doesn't matter that it appears twice in the list of numbers)
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Searching and Sorting

Quiz
•
10th - 12th Grade
20 questions
iGCSE Computer Science: Problem Solving

Quiz
•
9th - 12th Grade
20 questions
AP CSP Vocab #1

Quiz
•
9th - 12th Grade
20 questions
Code.org CSD Unit 3 Lessons 1-12

Quiz
•
3rd - 12th Grade
20 questions
fun codeing

Quiz
•
11th Grade - Professi...
25 questions
CSD Unit 5, Chapter 1 Review

Quiz
•
6th - 12th Grade
24 questions
GCSE - Mixed question computer science revision

Quiz
•
10th - 11th Grade
22 questions
AP CSP Midterm Review

Quiz
•
10th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University