Professional Documents
Culture Documents
a. It is a named place in the memory where a programmer can store and retrieve data
c. It could be assigned a numeric value (e.g., -2, or 9, or 3.14), or a string value (e.g.,
'Hello World')
L2.4. Choose the best answer, which are valid VARIABLE names in Python?
b. 23_spam
d. #spam
a. Variables
b. Assignment statement
c. Functions
d. Operators
L2.6. Which terminology is used to call 'print' in the statement "print(x + 3)"?
a. Modules
b. Libraries
c. Functions
d. Variables
L2.7. Which terminology is used to call 'x+3' in the statement "print(x + 3)"?
a. Arguments
b. Libraries
c. Variables
d. Functions
L2.8. Which terminology is used to call '==' in the statement "x == 3"?
a. Operators
b. Functions
c. Variables
d. Assignment statement
L2.9. Which terminology is used to call 'pow' in the statement "x = pow(4, 3)"?
a. Built-in functions
b. Expressions
c. Submodules
d. User-defined functions
a. -43
b. 5
c. -93
a. Parenthesis > Multiplication > Power > Left to Right > Addition
b. Parenthesis > Power > Multiplication > Addition > Left to Right
c. Power > Parenthesis > Multiplication > Addition > Left to Right
d. Parenthesis > Multiplication > Power > Addition > Left to Right
a. 36 0
b. 66 0
c. 66 3
d. 36 3
a. 64
c. 512
d. It depends on computers
a. It depends on computers
d. 12
b. Syntax Error
c. 72
d. 48
a. 2
b. 0.33
c. ValueError
a. 9.0
b. 9
a. 4.5
b. Error
c. 4.0
d. 4
a. 1 0 2 4 3 5
b. 0 1 2 3 4 5
a. 64
b. 256
c. The maximum possible length of an identifier is not defined in the python language.
It can be of any number.
d. 128