While Loops and Arrays (Code.org)

While Loops and Arrays (Code.org)

9th - 12th Grade

26 Qs

quiz-placeholder

Similar activities

Network Threat Prevention 2

Network Threat Prevention 2

8th - 10th Grade

25 Qs

Diagramas de Flujo

Diagramas de Flujo

12th Grade

21 Qs

Fun facts about video game design

Fun facts about video game design

4th Grade - Professional Development

21 Qs

UC2: Planejar e executar a instalação de hardware e software

UC2: Planejar e executar a instalação de hardware e software

12th Grade

22 Qs

Las TICs y el uso de Internet

Las TICs y el uso de Internet

11th Grade

22 Qs

IT in Everyday life

IT in Everyday life

10th Grade

23 Qs

Fourth Grade March Rivision

Fourth Grade March Rivision

4th Grade - University

24 Qs

B.TIK KLS 9

B.TIK KLS 9

9th Grade

25 Qs

While Loops and Arrays (Code.org)

While Loops and Arrays (Code.org)

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Steven Hahn

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

Which type of loop iterates until instructed otherwise?

FOR loop
A count-controlled loop
Repeat-once loop
WHILE loop

2.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

The condition for a while loop to continue could include which of the following?

While something equals something
While something is greater than something
While something is True
All of these

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is making this code inefficient?

A loop could have been used instead of a Pick Function.

The function is only called on once.

There are programming blocks that could have been added to a function.

There is code in your program where could have called on a function instead, saving blocks

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Can you create a new function to make this code more efficient?

Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a piece of code runs unintentionally forever it is known as

An infinite loop

A long loop

A broken loop

A for loop

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What does the code output?

hi

It won't output anything

It will output an error!

It will output "hi" infinitely

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What does the code output?

hi

hi

hi

hi

hi

hi

hi

hi

hi

hi

Access all questions and much more by creating a free account

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?