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 2)

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 6–10

  1. 6application · medium

    A developer is working with a color value stored as `color_code = 0x1A2B`. They need to extract the decimal value of this color code to use in a configuration file that only accepts decimal numbers. What is the decimal value of `color_code`?

    Select an answer first
  2. 7foundation · easy

    Are the variable names 'Score' and 'score' considered the same in Python?

    Select an answer first
  3. 8application · medium

    A developer is configuring network permissions and needs to set a variable named `mask` to the decimal value 255. The team's coding standard requires that any value that represents a bitmask be written in its native numeral system. Which line of code should the developer use?

    Select an answer first
  4. 9foundation · easy

    What is the type of the literal 2.0 in Python?

    Select an answer first
  5. 10foundation · easy

    What is the value of the variable x after the following code executes? x = 5 x = "hello"

    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.