Unit 10 CSP Algorithms Review

Unit 10 CSP Algorithms Review

9th - 12th Grade

27 Qs

quiz-placeholder

Similar activities

bjc vocab for unit 5

bjc vocab for unit 5

12th Grade

30 Qs

Computer Algorithm

Computer Algorithm

9th - 12th Grade

23 Qs

Intro to Algorithms

Intro to Algorithms

9th - 12th Grade

23 Qs

Searching and Sorting Algorithms

Searching and Sorting Algorithms

10th Grade

24 Qs

Binary Search Tree

Binary Search Tree

11th - 12th Grade

25 Qs

Unit 1 Exam: Computational Thinking

Unit 1 Exam: Computational Thinking

12th Grade

25 Qs

Higher Computing - Standard Algorithms

Higher Computing - Standard Algorithms

11th Grade

25 Qs

GCSE Computer Science - 2.1: Algorithms

GCSE Computer Science - 2.1: Algorithms

9th - 11th Grade

31 Qs

Unit 10 CSP Algorithms Review

Unit 10 CSP Algorithms Review

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

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

Media Image

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

Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?