Search Header Logo

Lesson 2 Recap

Authored by P zet

Computers

University

Used 1+ times

Lesson 2 Recap
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

I want to iterate through a list of numbers, what loop should I use?

integer loop

while loop

for loop

index loop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times will this loop execute?

it won't terminate

9

10

11

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the value of a at the end of this program?

1

2

0

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the value of a at the end of this program?

1

2

0

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the value of a at the end of this program?

1

2

3

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword should I use to exit out of a loop?

quit

return

continue

break

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the value of a at the end of this program?

10

3

4

5

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?

Discover more resources for Computers