python module

python module

9th - 12th Grade

14 Qs

quiz-placeholder

Similar activities

Quiz 01 Keamanan Jaringan

Quiz 01 Keamanan Jaringan

12th Grade

17 Qs

PRA-PAS-02

PRA-PAS-02

10th Grade

13 Qs

TCP/IP & other protocols [A Level]

TCP/IP & other protocols [A Level]

12th Grade

14 Qs

Abhyudaya coding class -  Grade 7

Abhyudaya coding class - Grade 7

6th Grade - University

10 Qs

Design Concept, Corporate Identity and Folder Management

Design Concept, Corporate Identity and Folder Management

12th Grade

16 Qs

Câu hỏi trắc nghiệm Tin Học 10 - Bài 10

Câu hỏi trắc nghiệm Tin Học 10 - Bài 10

10th Grade

10 Qs

Access - Lesson 14

Access - Lesson 14

9th - 12th Grade

10 Qs

ICT 10 : Introduction to Adobe Illustrator(CS5)

ICT 10 : Introduction to Adobe Illustrator(CS5)

10th Grade

10 Qs

python module

python module

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Ibrahim Khaleel

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To sterilize an object hierarchy, the _____________ function must be called. To desterilize a data stream, the ______________ function must be called.

dumps(), undumps()

loads(), unloads()

loads(), dumps()

dumps(), loads()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many except statements can a try-except block have?

zero

one

more than one

more than zero

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When will the else part of try-except-else be executed?

always

when an exception occurs

when no exception occurs

when an exception occurs in to except block

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Is the following Python code valid?

no, there is no such thing as else

no, else cannot be used with except

no, else must come before except

yes

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When is the finally block executed?

when there is no exception

when there is an exception

only if some condition that has been specified is satisfied

always

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following Python code?

1 2

1

2

none of the mentioned

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can one block of except statements handle multiple exception?

yes

no

type error

none

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?