Files with the suffix .pyc contain:
A. Python 4 source code
B. backups
C. temporary data
D. semi-compiled Python code
Which of the listed actions can be applied to the following tuple? (Select two answers)
A. tup [:]
B. tup.append (0)
C. tup [0]
D. del tup
What is the expected behavior of the following code?

A. it outputs -2
B. it outputs 2. 0
C. it outputs 0. 0
D. the code is erroneous and it will not execute
What is the expected behavior of the following code?

A. it outputs error
B. it outputs list assignment index out of range
C. the code is erroneous and it will not execute
D. it outputs
A compiler is a program designed to (select two answers)
A. rearrange the source code to make it clearer
B. check the source code in order to see if its correct
C. execute the source code
D. translate the source code into machine code
What is the expected behavior of the following code?

It will:
A. print 4321
B. print
C. cause a runtime exception
D. print 1234
Which of the following expression evaluate to True? (Select two answers)

A. Option A
B. Option B
C. Option C
D. Option D
What is a true about python class constructors? (Select two answers)
A. the constructor must have at least one parameter
B. the constructor must return a value other than None
C. the constructor is a method named_init_
D. there can the more than one constructor in a Python class.
What is the expected behavior of the following code?

A. it outputs 'None'
B. it outputs 3
C. it raises an exception
D. it outputs 0
A method for passing the arguments used by the following snippet is called:

A. sequential
B. named
C. positional
D. keyword