
Python InstitutePCAP - Certified Associate Python Programmer
Domain 3Objective 1
PCAP-31-03 3.1 Understand Machine Representation of Characters 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
4concepts
18%of the exam
Questions 11–15
- 11
A developer is working with a legacy system that only supports ASCII. They need to send a message that includes the character 'ñ' (U+00F1). What is the most appropriate action?
Select an answer first - 12
Which statement best describes the purpose of the Unicode standard?
Select an answer first - 13
A developer is creating a Python string that will be printed to a terminal to display a table. The table has columns separated by tabs and rows separated by newlines. Which string literal correctly represents a two-row, two-column table?
Select an answer first - 14
A developer is building a Python application that needs to handle text from a legacy system that uses a custom single-byte encoding. The developer wants to convert this text to Unicode. What is the most important first step?
Select an answer first - 15
A developer is writing a Python script that needs to convert a string to its ASCII byte representation. The string contains only uppercase letters and digits. Which method should the developer use?
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.