For Loop-Python

For Loop-Python

8th Grade

16 Qs

quiz-placeholder

Similar activities

Robotic /coding exam

Robotic /coding exam

6th - 8th Grade

16 Qs

Tech Trivia, Part III

Tech Trivia, Part III

7th - 12th Grade

20 Qs

ptscod

ptscod

8th Grade

20 Qs

Week 3 Summative

Week 3 Summative

7th - 10th Grade

15 Qs

UH - 01 VII

UH - 01 VII

1st - 12th Grade

20 Qs

Microsoft Excel

Microsoft Excel

KG - Professional Development

20 Qs

kiểm tra tin 8

kiểm tra tin 8

8th Grade

20 Qs

Basic Docs

Basic Docs

8th - 9th Grade

17 Qs

For Loop-Python

For Loop-Python

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Sylvia wang

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

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

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code will print each number in the list [1, 2, 3, 4, 5]?

Media Image
Media Image
Media Image

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code output?

120

100

90

60

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code will print only the even numbers in the list [2, 3, 4, 5, 6, 7]?

Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code output?

[1, 4, 9, 16, 25]

[1, 2, 3, 4, 5]

[1, 2, 4, 8, 16]

[1, 4, 9, 16, 20]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code print?

Python

P y t h o n

Media Image

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code output?

[2, 4, 6, 8]

[1, 2, 3, 4, 5, 6, 7, 8]

[2, 3, 4, 5]

[0, 2, 4, 6]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the following program display?

1,2,3,4

1,2,3,4,5

counter,counter,counter,counter,counter

0,1,2,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?