Search Header Logo

Quiz 3.1

Authored by Mohand Mahmoud

Computers

Professional Development

Used 1+ times

Quiz 3.1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

21 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))

3

6

0

3*2*1

3.

FILL IN THE BLANKS QUESTION

1 min • 3 pts

Convert from JSON to Python:

(a)  

4.

FILL IN THE BLANKS QUESTION

1 min • 3 pts

Convert from Python to JSON

(a)  

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

output from json is

str

int

dict

anytype

6.

MULTIPLE SELECT QUESTION

45 sec • 2 pts

to handel shape of json use

sparators

indent

loads

dumps

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

try:

  print(x)

except: 

print("An exception occurred")

Error

An exception occurred

None

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?