
Python InstitutePCEP - Certified Entry-Level Python Programmer
Domain 1Objective 3
PCEP-30-02 1.3 Introduce Literals and Variables into Code and Use Different Numeral Systems PCEP-30 Practice Questions (Page 4)
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 29 practice questions to prepare you well beyond it. (estimate)
29questions here
6free pages
13concepts
18%of the exam
Questions 16–20
- 16
Which of the following is a valid integer literal in Python?
Select an answer first - 17
A scientist is writing a Python script to represent the mass of an electron, which is approximately 9.109 × 10⁻³¹ kilograms. They want to use a floating-point literal in scientific notation. Which assignment correctly stores this value?
Select an answer first - 18
Which of the following variable names follows the PEP-8 naming recommendation?
Select an answer first - 19
Which of the following is a valid binary literal in Python?
Select an answer first - 20
A developer is comparing different numeral systems in Python. They write the following code: ```python a = 10 b = 0b10 c = 0x10 ``` What are the decimal values of `a`, `b`, and `c` respectively?
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.