Unit 10 CSP Algorithms Review

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Hannah Chu
Used 55+ times
FREE Resource
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following algorithm display?
a ← 11
a ← a + 35
a ← a + 6
a ← a MOD 2
a ← a x b
DISPLAY (a)
0
42
84
126
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these does NOT represent an algorithm?
Following recipe instructions
Working out how an engine works
Tying your shoelaces
Making a cup of coffee
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If it is AFTER 7am, what do you need to do?
Take the bus
Take the subway
Check the time
Leave home
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are at the yellow arrow, pointing in the direction indicated. How would you move to fill in the 2 black squares?
Straight, Turn right, Straight x 1, Fill Square, Straight x 2, Turn left, Straight x 1, Fill Square
Straight x 2, Turn right, Straight x 1, Fill Square, Straight x 2, Turn left, Straight x 1, Fill Square
Straight x 2, Turn right, Straight x 1, Fill Square, Straight x 2, Turn right, Straight x 1, Fill Square
Straight x 2, Turn right, Straight x 1, Fill Square, Straight x 2, Turn left, Straight x 2, Fill Square
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What must be true before performing a binary search?
The elements must be sorted.
It can only contain binary values.
The elements must be some sort of number (i.e. int, double, Integer)
There are no necessary conditions.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or false: If an array is already sorted, Linear Search / Sequential Search is more efficient than Binary Search.
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given this list:
1, 2, 4, 5, 6, 7, 8, 12, 14, 21, 22, 42, 53
How many comparisons are required to find 42 using the Binary Search?
3
2
10
5
Create a free account and access millions of resources
Similar Resources on Wayground
23 questions
Intro to Algorithms

Quiz
•
9th - 12th Grade
25 questions
Unit 10 Algorithms

Quiz
•
9th - 12th Grade
25 questions
Higher Computing - Standard Algorithms

Quiz
•
11th Grade
30 questions
bjc vocab for unit 5

Quiz
•
12th Grade
26 questions
N5 Computing Science: Standard Algorithms

Quiz
•
9th Grade
22 questions
Cloud Computing

Quiz
•
11th Grade
31 questions
Year 11 Revision: Unit 2.1-Algorithms

Quiz
•
10th Grade
25 questions
Graph Traversal

Quiz
•
12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade