
Higher Standard Algorithms
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Easy
Emma Maley
Used 1+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
REORDER QUESTION
1 min • 1 pt
Reorder the following to create a find minimum algorithm
min = values(1)
for x = 2 to arraysize
end if
next
min = values(x)
if values(x) < min then
2.
REORDER QUESTION
1 min • 1 pt
Reorder the following to create a find maximum algorithm
if values(x) > max then
max = values(x)
end if
next
max = values(1)
for x = 2 to arraysize
3.
REORDER QUESTION
1 min • 1 pt
Reorder the following to create a count occurrences algorithm:
end if
next
counter = counter + 1
if values(x) = "condition" then
counter = 0
for x = 1 to arraysize
4.
REORDER QUESTION
1 min • 1 pt
Reorder the following to create a linear search algorithm:
counter = 0
found = false
do
if values(x) = target then
loop until counter = arraysize-1 or found = true
found = true
end if
counter = counter +1
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Lego Spike - Challenge 1 Quiz
Quiz
•
6th Grade - University
10 questions
Arduino
Quiz
•
7th - 12th Grade
10 questions
CDI
Quiz
•
11th Grade
10 questions
Javascript & Client side scripting
Quiz
•
10th - 12th Grade
12 questions
Tin học 2
Quiz
•
11th Grade
10 questions
Bài ôn lớp 5_bài 2
Quiz
•
5th Grade - University
10 questions
Pengaturcaraan T4-Set 1
Quiz
•
11th Grade
11 questions
Цикли While i Repeat
Quiz
•
8th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
