
Python InstitutePCEP - Certified Entry-Level Python Programmer
Domain 3Objective 4
PCEP-30-02 3.4 Operate with Strings PCEP-30 Practice Questions (Page 4)
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 16–19
- 16
A developer has a variable `num = 42` and needs to convert it to a string to concatenate with another string. Which expression correctly performs this conversion?
Select an answer first - 17
What is the output of the following code? s = """Hello World""" print(len(s))
Select an answer first - 18
What is the result of "Python".find("th")?
Select an answer first - 19
What happens when you attempt to assign a new character to an index of an existing string, like s[0] = 'J'?
Select an answer first
Finished these 4 questions?
Review the revealed explanations, or continue through the curriculum.
No more pagesBack to PCEP-30
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.