Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Python Institute logo

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 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 29 practice questions to prepare you well beyond it. (estimate)

29questions here
6free pages
13concepts
18%of the exam

Questions 21–25

  1. 21foundation · easy

    Which of the following is a valid floating-point literal in Python?

    Select an answer first
  2. 22application · medium

    A developer is working with a configuration where a flag variable `debug_mode` should be set to the binary value 1010 (which is 10 in decimal). Which assignment correctly sets this variable using a binary literal?

    Select an answer first
  3. 23foundation · easy

    According to PEP-8, how many spaces should be used for each level of indentation?

    Select an answer first
  4. 24application · medium

    A data analyst is writing a Python script to process astronomical measurements. One value, the distance to a star, is 1.5 million kilometers. The analyst wants to store this value in a variable named `distance_km` using scientific notation so the code is more readable. Which assignment statement should be used?

    Select an answer first
  5. 25foundation · easy

    What is the decimal value of the octal literal 0o17?

    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.