Search Header Logo

Quiz 7

Authored by Mohand Mahmoud

Computers

University

Used 1+ times

Quiz 7
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?