
Python InstitutePCEP - Certified Entry-Level Python Programmer
Domain 1Objective 4
PCEP-30-02 1.4 Choose Operators and Data Types Adequate to the Problem PCEP-30 Practice Questions (Page 1)
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 26 practice questions to prepare you well beyond it. (estimate)
26questions here
6free pages
11concepts
18%of the exam
Questions 1–5
- 1
Which of the following expressions uses a unary operator?
Select an answer first - 2
A developer is writing a financial calculation and needs to compare the result of `0.1 + 0.2` to `0.3`. The developer is surprised that the comparison returns False. What is the most appropriate way to handle this situation?
Select an answer first - 3
What is the value of x after executing the following code? x = 10 x //= 3
Select an answer first - 4
A developer is reading user input as a string and needs to perform arithmetic. The variable `user_input` contains the string '42'. The developer wants to add 8 to this value. Which line of code correctly performs the addition?
Select an answer first - 5
A developer is writing a validation check. The variable `age` is 25 and `has_license` is True. The developer wants to allow access if the user is at least 18 years old AND has a license. Which expression correctly implements this check?
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.