
Python InstitutePCEP - Certified Entry-Level Python Programmer
Domain 1Objective 1
PCEP-30-02 1.1 Understand Fundamental Terms and Definitions PCEP-30 Practice Questions (Page 5)
Part of the Computer Programming and Python Fundamentals domain, which accounts for 18% of the PCEP-30 exam. Python Institute does not publish an official question count, but from its 45-minute exam (~20–30 total, ~4–5 in this domain), expect 1–1 from this objective — we provide 25 practice questions to prepare you well beyond it. (estimate)
25questions here
5free pages
6concepts
18%of the exam
Questions 21–25
- 21
A student writes `x = 5` and then `print(x)`. The output is `5`. Later they write `x = '5'` and `print(x)`. The output is `5` as well. What does this demonstrate about the semantics of Python variables?
Select an answer first - 22
A junior developer claims that Python is a compiled language because the interpreter produces .pyc files. You need to correct this misunderstanding. Which statement best clarifies the role of compilation in Python?
Select an answer first - 23
Which statement correctly describes a key difference between an interpreter and a compiler?
Select an answer first - 24
What is the primary purpose of compiling Python source code to bytecode?
Select an answer first - 25
A developer writes the following code: ```python x = 10 y = 20 if x > y: print('x is greater') else: print('y is greater') ``` The output is 'y is greater'. What does this output represent?
Select an answer first
Finished these 5 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.