Python Quiz Ver- 1.3

Python Quiz Ver- 1.3

University

15 Qs

quiz-placeholder

Similar activities

TEST FINAL - Algoritmia de Programación

TEST FINAL - Algoritmia de Programación

University

20 Qs

Python Basics

Python Basics

University

15 Qs

Quiz -3: JavaScript & PHP (AIML)/CC/1st Year

Quiz -3: JavaScript & PHP (AIML)/CC/1st Year

University

15 Qs

Java Collections

Java Collections

University

10 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Round 2 Debug-The-Code

Round 2 Debug-The-Code

University

15 Qs

Python

Python

KG - Professional Development

13 Qs

PRAKTIKUM PDK - TES TULIS MODUL 5

PRAKTIKUM PDK - TES TULIS MODUL 5

University

10 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?