Python Loops Post Test

Python Loops Post Test

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

TMK  TAHUN 4

TMK TAHUN 4

10th Grade

10 Qs

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 Qs

Quizz Internet

Quizz Internet

KG - Professional Development

12 Qs

BÀI KIỂM TRA GIỮA KÌ 2 LỚP 5

BÀI KIỂM TRA GIỮA KÌ 2 LỚP 5

1st - 10th Grade

10 Qs

UNIT 1.2 MEMORY

UNIT 1.2 MEMORY

10th Grade

19 Qs

PTS Informatika Kelas 9 Semester Ganjil 2021-2022

PTS Informatika Kelas 9 Semester Ganjil 2021-2022

9th Grade

20 Qs

9.1 Homework #3

9.1 Homework #3

9th Grade

20 Qs

REMEDI PAS - DESAIN DAN KOMP. GRAFIS

REMEDI PAS - DESAIN DAN KOMP. GRAFIS

12th Grade

20 Qs

Python Loops Post Test

Python Loops Post Test

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Jakobi Gorham

Used 60+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

Choose the correct output of the following code.

for i in range(10,15):       

print(i)

10

11

12

13

14

10

11

12

13

14

15

11

12

13

14

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

What is the output of the following:-

x = "123"

for i in x:

print("a")

x

1

a

1

2

3

x

1

2

3

a

a

a

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

The program above

prints all the odd numbers between 1 and 20

prints all even numbers between 1 and 20

print all the odd numbers between 1 and 21

prints all the even numbers between 1 and 21

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

A while loop equivalent of the for loop above is

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

Media Image
Media Image
Media Image

1,2,3,4

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What symbol do you use to make a comment in Python?

@
¬
;
#

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

Already have an account?