Modules and Packages
Exceptions
Strings
Object Oriented
Miscellaneous
100

A file containing Python definitions and statements which can be imported

A Module

100

Exceptions can be handled using _____ clause, or left alone, which causes abnormal program termination.

the try-except clause

100

The way in which certain numbers are assigned to corresponding characters is called an

encoding standard

100

The 4 Pillars of OOP

Encapsulation, Inheritance, Polymorphism, and Abstraction

100

A Python ________ is a class containing a piece of specialized code able to produce a series of values, and to control the iteration process.

generator

200

A built-in function that can be used to obtain an alphabetically sorted list which contains all entity names available in the module

dir()

200

Error which is triggered by operations which misuse argument types

TypeError,

200

A number assigned to a certain character according to a given encoding standard is a

Code Point

200

_______ is a mechanism of basing a class upon another class, retaining a similar implementation and a common set of traits.

Inheritance

200

An iterator must provide which two methods

__iter__() and __next__()

300

A module that contains some useful constants and functions for carrying out mathematical operations

Math Module

300

The sample code prints ________when the variable tires to divide by zero

ZeroDivisionError

300

What does UTF stand for

Unicode Transformation Standards

300

__________takes place when a class has more than one direct superclass.

Multiple inheritance

300

In Python, a ________ is a function without a name (an anonymous function). Its declaration takes the following form:

lambda function

400

The semi-compiled files are placed in this directory located in the same directory in which the source module exists.

 __pycache__

400

Error which is connected to problems caused by improper use of data aggregates

LookupError

400

Python 3 accepts this kind of encoded source files

UTF-8

400

____________is a mechanism which enables the programmer to modify the behavior of any of the object's superclasses without modifying these classes themselves.

Polymorphism

400

________ is a technique which allows the storing of values in spite of the fact that the context in which they have been created does not exist anymore.

Closure

500

This code is displayed when the module is run as a standalone code

set to "__main__"

500

Python analyzes exception branches in the same order in which they appear in the source code, it means that more general except branches should do this

follow the most specialized ones

500

A commonly adopted and globally used encoding standard is ASCII. What does that stand for?

American Standard Code for Information Interchange

500

A _______is a function embedded inside a class

method

500

Two types of files that are readable in a file stream

Text and Binary

M
e
n
u