Python Quiz

Python Quiz

University - Professional Development

25 Qs

quiz-placeholder

Similar activities

โปรแกรมนำเสนอ ม.1

โปรแกรมนำเสนอ ม.1

3rd Grade

20 Qs

TIN 12_BÀI 11

TIN 12_BÀI 11

12th Grade

20 Qs

Text and Image representation

Text and Image representation

11th Grade

22 Qs

CLASS 1 THE MOUSE

CLASS 1 THE MOUSE

1st - 2nd Grade

20 Qs

PTS TIK Kelas 9 Semester Ganjil

PTS TIK Kelas 9 Semester Ganjil

9th Grade

20 Qs

Teaching Strategy

Teaching Strategy

Professional Development

20 Qs

เทคโนโลยี (วิทยาการคำนวณ) ชั้นมัธยมศึกษาปีที่ 5

เทคโนโลยี (วิทยาการคำนวณ) ชั้นมัธยมศึกษาปีที่ 5

Professional Development

20 Qs

Python Quiz

Python Quiz

Assessment

Quiz

Computers

University - Professional Development

Practice Problem

Hard

Created by

sreenivas pasupuleti

Used 1K+ times

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

Is Python a Case Sensitive Language?

Yes

No

May not be

None of the above

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is a invalid variable in Python

_a=1

__a=1

_str_=1

None of the above

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is answer of this expression, 22 % 3 is?

7

1

0

5

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Mathematical operations can be performed on a string.

True

False

May not be

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following?

x = ['ab', 'cd']

for i in x:

i.upper()

print(x)

[‘ab’, ‘cd’].

[‘AB’, ‘CD’].

None of the above

[None, None]

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of the following?

i = 1

while True:

if i%2 == 0:

break

print(i)

i += 2

1

1 2

1 2 3 4 5 6...

1 3 5 7 9 11....

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of the following?

i = 0

while i < 5:

print(i)

i += 1

if i == 3:

break

else:

print(0)

0 1 2 0

0 1 2

error

none of the mentioned

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?