Question: Python 1. The following is NOT an augmented assignment operator: += -= *= == 2.Which function in the math module will round up to 4?

Python

1. The following is NOT an augmented assignment operator:

+=
-=
*=

==

2.Which function in the math module will round up to 4?

round(3.14)
int(3.14)
math.ceil(3.14)

math.floor(3.14)

3.You write this statement to respond to exceptions.

run/handle
try/except
try/handle

attempt/except

4.When an object is __________, it is converted to a stream of bytes that can easily be stored in a file for later retrieval.

defined
serialized
set

iterated over

5.The __init__ method is called automatically when __________.

a module is imported
a class is defined
a function is defined

an object is created

6.What is encapsulation?

a module used to serialize data
the combining of data and code into a single object
the process of indenting and formatting code
a structure used to iterate over data

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!