Python Loops Post Test

Python Loops Post Test

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

IT - TYPING TUTOR

IT - TYPING TUTOR

9th Grade

10 Qs

PERANGKAT UNTUK MENGAKSES INTERNET - KELAS IX

PERANGKAT UNTUK MENGAKSES INTERNET - KELAS IX

9th Grade

10 Qs

3.8  Mengevaluasi Perangkat Eksternal / Peripheral (SisKom)

3.8 Mengevaluasi Perangkat Eksternal / Peripheral (SisKom)

10th Grade

20 Qs

Repaso Tecnología Tercero Básico "A"

Repaso Tecnología Tercero Básico "A"

9th Grade

12 Qs

Security and Ethics

Security and Ethics

9th - 12th Grade

17 Qs

CIA Mid-Term Review 1

CIA Mid-Term Review 1

9th - 10th Grade

17 Qs

Pre-Assessment: ICT 10 Orientation Day

Pre-Assessment: ICT 10 Orientation Day

10th Grade

10 Qs

Coding Quiz

Coding Quiz

6th - 10th Grade

15 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?