Chapter 8 Exam Review

Chapter 8 Exam Review

8th Grade

20 Qs

quiz-placeholder

Similar activities

Ulangan Harian Kelas XI

Ulangan Harian Kelas XI

2nd Grade - University

20 Qs

ICT G7 Chapter 2.2 Direct Data Entry Devices

ICT G7 Chapter 2.2 Direct Data Entry Devices

7th Grade - University

15 Qs

Summative Assessment on Arduino Output Devices

Summative Assessment on Arduino Output Devices

8th Grade

20 Qs

Statements in Python

Statements in Python

8th Grade

20 Qs

Home Row Key Review

Home Row Key Review

8th Grade

15 Qs

Keyboarding Skills Vocabulary

Keyboarding Skills Vocabulary

6th - 8th Grade

18 Qs

Microbit 2

Microbit 2

8th Grade

15 Qs

Speed & Accuracy

Speed & Accuracy

8th Grade

20 Qs

Chapter 8 Exam Review

Chapter 8 Exam Review

Assessment

Quiz

Information Technology (IT)

8th Grade

Easy

Created by

Ashley Brown

Used 16+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of loop would you use if you want a numeric index and know how many times the loop should run?

"for" loop

"while" loop

infinite loop

"numeric" loop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a "for" loop ends, where does the program flow continue?

At the first non-indented statement after the loop body

Program flow resumes at the statement directly above the "for" keyword

The entire program halts immediately when the loop is done

for() loops, by design, will never end

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In the code, which statement(s) are part of the "for" loop body?

LINE 3 only

LINES 2 and 3 only

LINE 1 and 4 only

LINES 1, 2, and 3 only

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times will the loop body run in the code below? data = "count" for x in data: print(x)

5

6

1

0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What value is stored in the "total" variable after the following code runs? total = 0 for i in range(1,4): total = total + i

6

0

5

10

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following "for" loop?

0 3 6 9 12 15 18 21 24 27

1 3 6 9 12 15 18 21 24 27 30

0 9 18 27

0 3 6 9

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be displayed on the screen when the following code is run?

c#o#u#n#t

count

#t

#####

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?