Python Library-1

Python Library-1

12th Grade

11 Qs

quiz-placeholder

Similar activities

Word 2016 Lesson 1

Word 2016 Lesson 1

9th - 12th Grade

10 Qs

Computer Hardware - CPU & GPU

Computer Hardware - CPU & GPU

7th Grade - University

16 Qs

ICT as Platform for Change

ICT as Platform for Change

11th - 12th Grade

10 Qs

Cyber Security Quiz

Cyber Security Quiz

12th Grade

10 Qs

emtech

emtech

12th Grade

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

1.2.4. Types of Programming Language

1.2.4. Types of Programming Language

12th Grade

12 Qs

Numpy-1

Numpy-1

9th - 12th Grade

10 Qs

Python Library-1

Python Library-1

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Bessie Carl

Used 27+ times

FREE Resource

AI

Enhance your content in a minute

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

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of these definitions correctly describes a module?
a) Denoted by triple quotes for providing the specification of certain program elements
b) Design and implementation of specific functionality to be incorporated into a program
c) Defines the specification of how it is to be used
d) Any program that reuses code

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is not an advantage of using modules?
a) Provides a means of reuse of program code
b) Provides a means of dividing up tasks
c) Provides a means of reducing the size of the program
d) Provides a means of testing individual parts of the program

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Program code making use of a given module is called a ______ of the module.
a) Client
b) Docstring
c) Interface
d) Modularity

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

______ is a string literal denoted by triple quotes for providing the specifications of certain program elements.
a) Interface
b) Modularity
c) Client
d) Docstring

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is not a valid namespace?
a) Global namespace
b) Public namespace
c) Built-in namespace
d) Local namespace

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is false about “import modulename” form of import?
a) The namespace of imported module becomes part of importing module
b) This form of import prevents name clash
c) The namespace of imported module becomes available to importing module
d) The identifiers in module are accessed as: modulename.identifier

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is false about “from-import” form of import?
a) The syntax is: from modulename import identifier
b) This form of import prevents name clash
c) The namespace of imported module becomes part of importing module
d) The identifiers in module are accessed directly as: identifier

Create a free account and access millions of resources

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

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

Already have an account?

Discover more resources for Computers