Python Institute PCAP-31-03 Exam
Certified Associate in Python Programming Exam (Page 3 )

Updated On: 12-Jan-2026

Assuming that the V variable holds an integer value to 2, which of the following operators should be used instead of OPER to make the expression equal to 1?

V OPER 1 -

  1. <<<
  2. >>>
  3. >>
  4. <<

Answer(s): C



Which of the following words can be used as a variable name? (Select two valid names)

  1. for
  2. True
  3. true
  4. For

Answer(s): C,D



The following class hierarchy is given.
What is the expected output of the code?

  1. BB
  2. CC
  3. AA
  4. BC

Answer(s): D



How many elements will the list1 list contain after execution of the following snippet?

  1. two
  2. zero
  3. one
  4. three

Answer(s): A



What is the expected behavior of the following code?



It will:

  1. print 0
  2. cause a runtime exception
  3. prints 3
  4. print an empty line

Answer(s): B



Viewing page 3 of 30
Viewing questions 11 - 15 out of 147 questions



Post your Comments and Discuss Python Institute PCAP-31-03 exam prep with other Community members:

Join the PCAP-31-03 Discussion