Quiz 7

Quiz 7

Assessment

Quiz

Created by

Mohand Mahmoud

Computers

University

1 plays

Hard

Student preview

quiz-placeholder

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

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?