
Python InstitutePCAP - Certified Associate Python Programmer
Domain 5Objective 4
PCAP-31-03 5.4 Understand Basic Input/output Terminology PCAP-31 Practice Questions (Page 2)
Part of the Miscellaneous (List Comprehensions, Lambdas, Closures, I/O) domain, which accounts for 22% of the PCAP-31 exam. Python Institute does not publish an official question count, but from its 65-minute exam (~25–45 total, ~6–10 in this domain), expect 1–2 from this objective — we provide 10 practice questions to prepare you well beyond it. (estimate)
10questions here
2free pages
4concepts
22%of the exam
Questions 6–10
- 6
What is the primary role of the stdin stream in a Python program?
Select an answer first - 7
Which file opening mode in Python allows writing to a file while preserving its existing content, with new data added at the end?
Select an answer first - 8
What is the key difference between text mode and binary mode when opening a file in Python?
Select an answer first - 9
How does a stream differ from a file handle in Python?
Select an answer first - 10
In Python's I/O system, what does a file handle represent?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
No more pagesBack to PCAP-31
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.