Quiz 7

Quiz 7

University

11 Qs

quiz-placeholder

Similar activities

exceptions in python

exceptions in python

University

7 Qs

Quiz 2

Quiz 2

University

15 Qs

Milking Minds 2 17-01-24

Milking Minds 2 17-01-24

University

15 Qs

0xDebug - Python

0xDebug - Python

University

10 Qs

PE2 Module 3

PE2 Module 3

KG - Professional Development

11 Qs

X-quiz #3

X-quiz #3

University

10 Qs

DevNet Express

DevNet Express

10th Grade - Professional Development

11 Qs

Exception Handling

Exception Handling

University

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