Unit 5 Quiz - Loops & Lists (code.org)

Unit 5 Quiz - Loops & Lists (code.org)

Assessment

Quiz

Computers

10th - 12th Grade

Practice Problem

Medium

CCSS
HSG.MG.A.1

Standards-aligned

Created by

Robert Garber

Used 573+ times

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the word used to describe repetition in programming?

Sequence
Selection
Iteration
Coding

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What does this code do?

Moves forward 1 time

Moves forward forever

Moves forward 5 times

Moves left

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What shape does this code make?

Rectangle

Triangle

Square

Circle

Tags

CCSS.HSG.MG.A.1

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

For this scenario related to turtle/robot drawing, indicate whether it is better to write a loop or a function (or a set of functions) to handle the task:


Drawing a hexagon (six-sided shape)

Loop

Function

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

For this scenario related to turtle/robot drawing, indicate whether it is better to write a loop or a function (or a set of functions) to handle the task:


Drawing out the letters of a word "HELLO"

Loop

Function

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

For this scenario related to turtle/robot drawing, indicate whether it is better to write a loop or a function (or a set of functions) to handle the task:


Drawing 100 tiny dots in a line.

Loop

Function

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

What is a possible output when the following code segment executes? The ending position of the turtle is shown in each diagram. The starting position is shown as a white triangle in cases where the turtle starts and ends in different locations.

Media Image
Media Image
Media Image
Media Image
Media Image

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?