ExamDumpster

Free PCAP sample questions

Real questions from the Certified Associate in Python Programming practice bank, with the correct answer and an explanation for each one. No junk, no filler.

Try them in the simulator Same questions, with study, timed and flashcard modes.

Showing 10 of 20 free sample questions.

Question 1Choose one

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

Question 2Choose 2

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

Question 3Choose one

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

Question 4Choose 2

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

Question 5Choose one

Files with the suffix .pyc contain:

Question 6Choose one

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

Question 7Choose 2

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)

Question 8Choose 2

A class constructor (Select two answers)

Question 9Choose one

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

Question 10Choose one

What is the expected output of the following snippet?

10 more free samples are waiting

Create a free account to unlock the whole PCAP sample bank, or get full access to all 316 practice questions in the simulator.

Create account