Python Loops

Python Loops

9th - 12th Grade

27 Qs

quiz-placeholder

Similar activities

INFORMATYKA OD PODSTAW

INFORMATYKA OD PODSTAW

KG - Professional Development

24 Qs

SHS Quiz 2 Grade X

SHS Quiz 2 Grade X

10th Grade

25 Qs

MS EXCEL

MS EXCEL

9th Grade

25 Qs

Unions in C Programming

Unions in C Programming

10th Grade

25 Qs

Sumative susulan dan remedial Grade 9

Sumative susulan dan remedial Grade 9

9th Grade

24 Qs

ASSESMEN TP 2,3

ASSESMEN TP 2,3

10th Grade

25 Qs

Đề thi số 4 (A2)

Đề thi số 4 (A2)

6th - 9th Grade

25 Qs

Web 2.0 Versión 2. 11º

Web 2.0 Versión 2. 11º

11th Grade

24 Qs

Python Loops

Python Loops

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

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?