Python Loops Post Test

Python Loops Post Test

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

สอบย่อย ครั้งที่ 1 (BC.2/2)

สอบย่อย ครั้งที่ 1 (BC.2/2)

11th Grade

10 Qs

Arduino_Quiz

Arduino_Quiz

12th Grade

20 Qs

Паскаль. Основные команды

Паскаль. Основные команды

8th - 11th Grade

10 Qs

Identidad Corporativa

Identidad Corporativa

10th Grade

15 Qs

Bài tập Tin học 11 (Tiết 6)

Bài tập Tin học 11 (Tiết 6)

11th Grade

13 Qs

Quiz Informatika Bab 3 & 4

Quiz Informatika Bab 3 & 4

10th Grade

20 Qs

Excel - basic

Excel - basic

9th Grade

15 Qs

11º Quiz-1 Mantenimiento de un PC

11º Quiz-1 Mantenimiento de un PC

9th 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?