Python Loops

Python Loops

9th - 12th Grade

27 Qs

quiz-placeholder

Similar activities

Jaringan Masa Depan (NGN)

Jaringan Masa Depan (NGN)

11th Grade

23 Qs

CS CPU - End of Unit Quiz

CS CPU - End of Unit Quiz

9th Grade

23 Qs

Nat5 - Computer Structure

Nat5 - Computer Structure

11th Grade

24 Qs

Cloudwatch

Cloudwatch

1st Grade - University

23 Qs

operating systems

operating systems

5th - 11th Grade

24 Qs

Problem Solving PP2

Problem Solving PP2

12th Grade

24 Qs

11 AIT - application skills (unit 2)

11 AIT - application skills (unit 2)

11th - 12th Grade

24 Qs

Print, Input, Subroutines, Selection

Print, Input, Subroutines, Selection

10th - 11th Grade

22 Qs

Python Loops

Python Loops

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Tina Fountain

Used 90+ times

FREE Resource

AI

Enhance your content in a minute

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

27 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Look at the following code, what will it generate

1,2,3,4,5,6,7,8,9,10,11,12

0,1,2,3,4,5,6,7,8,9,10,11,12

1,2,3,4,5,6,7,8,9,10,11,12,13

0,1,2,3,4,5,6,7,8,9,10,11,12,13

2.

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

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Media Image
Media Image
Media Image

1,2,3,4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When do you know when you come to the end of the loop?

Its states End loop

The command End is given

The indentation stops

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

if you wished a loop to repeat 3 types whwt should you use?

For counter in range(0,5):

For counter in range(1.3):

For counter in range(0.3):

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

what is the name of the variable used in the following code?

counter

print

for

#

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What button do you press to compile (run) your program so that it runs in the shell?
F3
F5
F7
F9

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?

Discover more resources for Computers