Python Programming Quiz

Python Programming Quiz

Professional Development

25 Qs

quiz-placeholder

Similar activities

3D Objects - Terms & Transfomations

3D Objects - Terms & Transfomations

6th Grade - Professional Development

20 Qs

Câu hỏi TN ôn tập Tin học khối 5

Câu hỏi TN ôn tập Tin học khối 5

Professional Development

20 Qs

LPC 16 - AIO

LPC 16 - AIO

Professional Development

20 Qs

U.T. 7: Configuración de Routers y Encaminamiento

U.T. 7: Configuración de Routers y Encaminamiento

Professional Development

20 Qs

MS OFFICE QUIZ 01

MS OFFICE QUIZ 01

Professional Development

20 Qs

Ports

Ports

Professional Development

20 Qs

NM-BIG DATA Course

NM-BIG DATA Course

Professional Development

20 Qs

latihan-hari-02-digiup-jna

latihan-hari-02-digiup-jna

Professional Development

20 Qs

Python Programming Quiz

Python Programming Quiz

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Roshni Mahajan

FREE Resource

AI

Enhance your content in a minute

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

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of the following code?

A

B

C

Error

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be printed?

Python

Java

Error

Nothing

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the output?

Equal

Not Equal

Error

None

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the output?

0

2

4

0

1

2

3

4

0

2

4

6

Infinite loop

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will happen when we run this code?

Prints 5

TypeError

Prints None

SyntaxError

6.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

Fill in the blank to print numbers from 1 to 5. for i in _______(1, 6): print(i)

7.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

Fill in the blank to get a random integer between 1 and 10. import random num = random._______(1, 10)

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?