CSP Unit 6 - Algorithms

CSP Unit 6 - Algorithms

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

2.1 Linear and Binary Searching Algorithms

2.1 Linear and Binary Searching Algorithms

8th - 10th Grade

16 Qs

Scratch

Scratch

7th - 9th Grade

19 Qs

Merge Sort

Merge Sort

10th Grade

14 Qs

Scratch Basics

Scratch Basics

7th - 9th Grade

12 Qs

Search & Sort Algorithms

Search & Sort Algorithms

7th - 11th Grade

18 Qs

Sorting Algorithms

Sorting Algorithms

12th Grade

20 Qs

Scratch Quiz 2

Scratch Quiz 2

7th - 9th Grade

20 Qs

2.1 Algorithms

2.1 Algorithms

10th - 12th Grade

20 Qs

CSP Unit 6 - Algorithms

CSP Unit 6 - Algorithms

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Amy Kueck

Used 56+ times

FREE Resource

15 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Every ________________ can be constructed using combinations of sequencing, selection, and iteration

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Walk into class

Put backpack at seat

Get laptop from cart

Return to seat

Log into Laptop


What concept does this algorithm best demonstrate

sequencing

iteration

selection

execution

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

The City of Knoxville is designing a new metro rail system and are deciding where to put the different stations. They want to pick locations that minimizes the distance anyone needs to walk in order to get to a metro rail station. What term best defines the kind of problem?

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

REPEAT 2 TIMES

{

REPEAT 3 TIMES

{

MOVE_FORWARD()

}

ROTATE_LEFT()

MOVE_FORWARD()

ROTATE_RIGHT()

}


Which picture displays where the location of the cursor at the end of the algorithm shown above?

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

REPEAT 6 TIMES

{

MOVE FORWARD

TURN LEFT

MOVE FORWARD

TURN RIGHT

}


Which picture displays where the location of the cursor at the end of the algorithm shown above?

Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following algorithm do?


target <- list[1]

FOR EACH num IN list {

IF(num > target) {

target <- num }}

DISPLAY(target)

Finds the largest value in a list

Finds the smallest value in a list

Sorts the list from smallest to largest

Sorts the list from largest to smallest

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the following algorithm do?

A loop that generates random numbers; displays those greater than 8; ends when random number generated is less than 8

A loop that generates random numbers; displays those less than 9; ends when an 8 is generated

A loop that generates random numbers; displays those less than 8; ends when a 9 or 10 is generated

A loop that generates random numbers; displays those less than 9; ends when a 9 or 10 is generated

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?