
Python InstitutePCAP - Certified Associate Python Programmer
Domain 3Objective 2
PCAP-31-03 3.2 Operate on Strings PCAP-31 Practice Questions (Page 3)
Part of the Strings domain, which accounts for 18% of the PCAP-31 exam. Python Institute does not publish an official question count, but from its 65-minute exam (~25–45 total, ~5–8 in this domain), expect 2–3 from this objective — we provide 22 practice questions to prepare you well beyond it. (estimate)
22questions here
5free pages
10concepts
18%of the exam
Questions 11–15
- 11
What is the result of "ab" * 3?
Select an answer first - 12
A developer needs to check whether a string `s` contains any uppercase letters. Which expression correctly performs this check?
Select an answer first - 13
What is the result of the comparison "apple" < "banana"?
Select an answer first - 14
A developer is implementing a Caesar cipher that shifts each letter by 3 positions. For a lowercase letter `ch`, which expression correctly produces the shifted character, wrapping around from 'z' to 'a'?
Select an answer first - 15
A developer is building a simple password-strength checker. The rule states that a password must contain at least one lowercase letter whose Unicode code point is between 97 and 122. The developer writes a loop that examines each character `ch` in the password. Which expression correctly tests this rule?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Python Institute. “PCAP-31” is a trademark of its owner, used for identification only.