
Python InstitutePCEP - Certified Entry-Level Python Programmer
Domain 3Objective 4
PCEP-30-02 3.4 Operate with Strings PCEP-30 Practice Questions (Page 2)
Part of the Data Collections Tuples, Dictionaries, Lists, and Strings domain, which accounts for 25% of the PCEP-30 exam. Python Institute does not publish an official question count, but from its 45-minute exam (~20–30 total, ~5–8 in this domain), expect 1–2 from this objective — we provide 19 practice questions to prepare you well beyond it. (estimate)
19questions here
4free pages
9concepts
25%of the exam
Questions 6–10
- 6
What is the output of print("Line1\nLine2")?
Select an answer first - 7
What is the result of len("Hello")?
Select an answer first - 8
A developer needs to create a string that contains a newline character between two words. Which escape sequence should be used?
Select an answer first - 9
What is the correct way to include an apostrophe in a string delimited by double quotes?
Select an answer first - 10
What does the slice "abcdef"[::2] return?
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. “PCEP-30” is a trademark of its owner, used for identification only.