
Higher Standard Algorithms

Quiz
•
Computers
•
11th Grade
•
Easy
Emma Maley
Used 1+ times
FREE Resource
7 questions
Show all answers
1.
REORDER QUESTION
1 min • 1 pt
Reorder the following to create a find minimum algorithm
end if
next
min = values(x)
for x = 2 to arraysize
if values(x) < min then
min = values(1)
2.
REORDER QUESTION
1 min • 1 pt
Reorder the following to create a find maximum algorithm
if values(x) > max then
max = values(x)
max = values(1)
end if
next
for x = 2 to arraysize
3.
REORDER QUESTION
1 min • 1 pt
Reorder the following to create a count occurrences algorithm:
counter = 0
counter = counter + 1
if values(x) = "condition" then
for x = 1 to arraysize
end if
next
4.
REORDER QUESTION
1 min • 1 pt
Reorder the following to create a linear search algorithm:
counter = 0
found = false
loop until counter = arraysize-1 or found = true
counter = counter +1
do
if values(x) = target then
found = true
end if
5.
DRAG AND DROP QUESTION
1 min • 1 pt
It is more efficient to use a (a) in a linear search algorithm as the loop will stop repeating when the item is found (b) or when each item in the array has been traversed. This means the loop is not repeating unnecessarily after the item has been found.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which standard algorithm would be used to find the fastest swimmer's time?
find minimum
find maximum
count occurrences
linear search
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which standard algorithm would be used to find the highest test percentage?
find maximum
find minimum
linear search
count occurrences
Similar Resources on Wayground
12 questions
WJEC Computer Science KO - Algorithms 1

Quiz
•
11th Grade
10 questions
7.9 Identifying and Correcting Errors Cambridge IGCSE 0478

Quiz
•
10th Grade - University
6 questions
Assessment - for loop in Python

Quiz
•
11th - 12th Grade
11 questions
49. Programming 1 : Basic Programming Constructs

Quiz
•
9th - 12th Grade
11 questions
G11L-Q2- Graded Assignment

Quiz
•
11th Grade
10 questions
A-level CSc Page ranking algorithm

Quiz
•
11th Grade
9 questions
Nested Loops and Multi-dimensional Arrays

Quiz
•
11th Grade
10 questions
Python Alternating Turns

Quiz
•
7th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade