While Loops and Arrays (Code.org)

While Loops and Arrays (Code.org)

9th - 12th Grade

26 Qs

quiz-placeholder

Similar activities

PTS PWPB Kelas 11 Sem 1

PTS PWPB Kelas 11 Sem 1

11th Grade

21 Qs

DDD2 Y10 19th July Networks

DDD2 Y10 19th July Networks

10th Grade

23 Qs

Fun Quiz 1 - KSNP TIK 2021

Fun Quiz 1 - KSNP TIK 2021

8th - 12th Grade

21 Qs

Eider Irizabal / 17-18 Galdetegia

Eider Irizabal / 17-18 Galdetegia

KG - Professional Development

21 Qs

Cuestionario Final

Cuestionario Final

9th Grade

22 Qs

Setting a pc system vocab

Setting a pc system vocab

9th - 12th Grade

22 Qs

UD1_EQUIPOS INFORMÁTICOS

UD1_EQUIPOS INFORMÁTICOS

10th Grade

23 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

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?