Python Loops Post Test

Python Loops Post Test

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Python. Функції

Python. Функції

9th Grade

17 Qs

UH 1 Teknologi wan

UH 1 Teknologi wan

12th Grade

20 Qs

Informática 903 Segundo Trimestre- 2024

Informática 903 Segundo Trimestre- 2024

9th Grade

10 Qs

Chapter 2: Input Device

Chapter 2: Input Device

12th Grade - University

12 Qs

EXAMEN-2°AÑO-INFORMATICA P3-2021

EXAMEN-2°AÑO-INFORMATICA P3-2021

1st - 9th Grade

13 Qs

Hệ Điều Hành Của Máy Tính

Hệ Điều Hành Của Máy Tính

10th Grade - University

10 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

tin 10 l11

tin 10 l11

12th Grade

10 Qs

Python Loops Post Test

Python Loops Post Test

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Jakobi Gorham

Used 64+ 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?

@
¬
;
#

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?