Quiz 7

Quiz 7

University

11 Qs

quiz-placeholder

Similar activities

Java quiz based on inheritance

Java quiz based on inheritance

University

10 Qs

OOP Quiz

OOP Quiz

University

10 Qs

Quiz 6

Quiz 6

University

10 Qs

Third Year Placement Training Revision Test

Third Year Placement Training Revision Test

University

10 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Python Day 10

Python Day 10

University

7 Qs

PYTHON QUIZ3

PYTHON QUIZ3

University - Professional Development

10 Qs

Java Arrays

Java Arrays

University

10 Qs

Quiz 7

Quiz 7

Assessment

Quiz

Computers

University

Hard

Created by

Mohand Mahmoud

Used 1+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

print(math.remainder(9,2))

1

0

1.0

0.0

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

print(math.factorial(3))

2

0

error

6

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Convert from JSON to Python:

loads

dumps

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Convert from Python to JSON

loads

dumps

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

output from json is

int

dict

str

anytype

6.

MULTIPLE SELECT QUESTION

45 sec • 4 pts

to handel shape of json use

sparators

loads

indent

dumps

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

try:

  print(x)

except: 

print("An exception occurred")

Error

None

An exception occurred

Exception

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?