Back to Certified Associate Python Programmer PCAP questions

Scenario-based practice

Select Two (Multi-Select) Questions

Practise Certified Associate Python Programmer PCAP practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

20
scenario questions
PCAP
exam code
Python Institute
vendor

Scenario guide

How to approach select two (multi-select) questions

Multi-select questions tell you to 'Choose TWO' or 'Choose THREE'. Getting partial credit is not a thing — you must select all correct answers with no incorrect ones. The stem always states how many to choose, so trust it. These questions require precision, not best-guess elimination.

Quick answer

Select Two (Multi-Select) Questions questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Related practice questions

Related PCAP topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Which TWO of the following are valid ways to raise an exception in Python?

Question 2hardmulti select
Full question →

Which THREE methods return a boolean value?

Question 3hardmulti select
Full question →

Refer to the exhibit. Which THREE statements about the class hierarchy are correct?

Exhibit

class A:
    def method(self):
        return 'A'

class B(A):
    def method(self):
        return 'B'

class C(A):
    def method(self):
        return 'C'

class D(B, C):
    pass

Which TWO of the following string methods modify the string in place? (Note: Python strings are immutable.)

Which TWO of the following are valid ways to define a class attribute (as opposed to an instance attribute) in Python?

Which TWO of the following are built-in Python exceptions?

Question 7mediummulti select
Full question →

Which TWO of the following methods return a boolean value?

Which TWO of the following are immutable in Python?

Question 9mediummulti select
Full question →

Which TWO of the following are valid ways to read a file line by line without loading the entire file into memory?

Which THREE of the following are true about Python's exception hierarchy?

Which TWO of the following are correct statements about the 'with' statement in Python file I/O?

Which TWO of the following are valid ways to import a module 'math' in Python?

Question 13hardmulti select
Full question →

Which THREE methods must be implemented to create an immutable object that supports iteration and membership testing?

Question 14easymulti select
Full question →

Which TWO statements about static methods (@staticmethod) are correct?

Which THREE of the following escape sequences are valid in a Python string and represent a single character? (Select exactly three.)

Question 16easymulti select
Full question →

Which TWO string methods are used to determine if a string begins or ends with a specified prefix or suffix? (Choose two.)

Which THREE of the following are immutable types in Python?

Given s = 'Python', which THREE of the following expressions evaluate to True? (Choose three.)

Question 19easymulti select
Full question →

Which TWO of the following expressions evaluate to `True`? (Select exactly two.)

Which TWO of the following are valid ways to use string formatting in Python? (Choose two.)

These PCAP practice questions are part of Courseiva's free Python Institute certification practice question bank. Courseiva provides original exam-style PCAP questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.