Free PCAP-31-03 Exam Braindumps
Certified Associate in Python Programming Exam Questions 66–70 (page: 15)

Updated On: 9-Feb-2026

Which of the following statements are true? (Select two answers)

  1. Python strings are actually lists
  2. Python strings can be concatenated
  3. Python strings can be sliced like lists
  4. Python strings are mutable

Answer(s): B,C


Reference:

https://docs.python.org/2/tutorial/introduction.html



Which of the following sentences are true? (Select two answers)

  1. lists may not be stored inside tuples
  2. tuples may be stored inside lists
  3. tuples may not be stored inside tuples
  4. lists may be stored inside lists

Answer(s): B,D


Reference:

https://www.afternerd.com/blog/python-lists-for-absolute-beginners/



Assuming that String is six or more letters long, the following slice String[1:-2]
is shorter than the original string by:

  1. four chars
  2. three chars
  3. one char
  4. two chars

Answer(s): B



What is the expected output of the following snippet?

  1. 1
  2. 4
  3. 2
  4. 3

Answer(s): C

Explanation:



What is the expected output of the following snippet?

  1. abc
  2. The code will cause a runtime exception
  3. ABC
  4. 123

Answer(s): B

Explanation:



Viewing page 15 of 30
Viewing questions 71 - 75 out of 147 questions


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

AI Tutor AI Tutor 👋 I’m here to help!