Python Quiz Ver- 1.3

Python Quiz Ver- 1.3

University

15 Qs

quiz-placeholder

Similar activities

Programmeerimiskeeled

Programmeerimiskeeled

10th Grade - University

12 Qs

Python

Python

KG - Professional Development

13 Qs

Fundamentos de Programación

Fundamentos de Programación

University

10 Qs

PHP MySQL

PHP MySQL

University

10 Qs

Building Powerful Web Applications with Laravel 11

Building Powerful Web Applications with Laravel 11

University

10 Qs

Teks dan Desktop Berbasis Objek

Teks dan Desktop Berbasis Objek

University

10 Qs

SCRIPTING PROGRAMMING WITH PYTHON

SCRIPTING PROGRAMMING WITH PYTHON

University

15 Qs

PHP hypertext preprocessor

PHP hypertext preprocessor

University

20 Qs

Python Quiz Ver- 1.3

Python Quiz Ver- 1.3

Assessment

Quiz

Computers

University

Hard

Created by

Rahul Mahato

Used 5+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a = "python"

b = "pythoN"

print(a > b)

False

True

Error

None of these

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

a=100

b=5

print(a//b*a/b)

400.0

300.0

200.0

100.0

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = [1,2,3]

y=x

y[1] = 4

print(x)

[1,2,3]

[1,4,3]

[1,4]

[4,2,3]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x, y = 67, 80

x, y, z = 1, 2, 3

print (x,y,z)

1 2 3

67 80 3

Error

67 2 80

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 0

while x < 20:

x = x + 3

print (x)

18

19

20

21

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

set1 = { 1, 2, 3, int('4') }

set2 = {3, str(4) }

print( set1.union(set2) )

{1, 2, 3, 4, '4' }

{1, 2, 3, 4}

{1, 2, 3, '4' }

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

sum = lambda x, y: x+y

print(sum(3, 4))

7

7.0

7.00

Error

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?