10/316 questions · Unlock full access
Q1

What is the expected behavior of the following code? It will:

Question image
Q2Multiple answers

Which of the equations are True? (Select two answers)

Q3

What will the value of the i variable be when the following loop finishes its execution?

Question image
Q4Multiple answers

Which of the listed actions can be applied to the following tuple? (Select two answers)

Question image
Q5

Files with the suffix .pyc contain:

Q6

A method for passing the arguments used by the following snippet is called:

Question image
Q7Multiple answers

You need data which can act as a simple telephone directory. You can obtain it with the following clauses (Select two relevant variants; assume that no other items have been created before)

Q8Multiple answers

A class constructor (Select two answers)

Q9

If you need to serve two different exceptions called Ex1 and Ex2 in one except branch, you can write:

Q10

What is the expected output of the following snippet?

Question image