Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Python Institute logo

Python InstitutePCEP - Certified Entry-Level Python Programmer

Domain 3Objective 3

PCEP-30-02 3.3 Collect and Process Data Using Dictionaries PCEP-30 Practice Questions (Page 1)

Part of the Data Collections Tuples, Dictionaries, Lists, and Strings domain, which accounts for 25% of the PCEP-30 exam. Python Institute does not publish an official question count, but from its 45-minute exam (~20–30 total, ~5–8 in this domain), expect 1–2 from this objective — we provide 19 practice questions to prepare you well beyond it. (estimate)

19questions here
4free pages
9concepts
25%of the exam

Questions 1–5

  1. 1application · medium

    A dictionary `temperatures = {'mon': 20, 'tue': 22, 'wed': 19}` records daily highs. The developer must compute the average temperature. Which code correctly calculates the average?

    Select an answer first
  2. 2foundation · easy

    Given `d = {'a': 1, 'b': 2}`, what does `d.keys()` return?

    Select an answer first
  3. 3application · medium

    A dictionary `session = {'user': 'alice', 'token': 'abc123'}` represents an active session. The developer must clear the session by removing ALL key-value pairs. Which code accomplishes this?

    Select an answer first
  4. 4foundation · easy

    Given `d = {'a': 1, 'b': 2}`, what is the result of `'a' in d`?

    Select an answer first
  5. 5application · medium

    A developer receives two parallel lists: `names = ['ada', 'bob']` and `ages = [36, 42]`. They must build a dictionary mapping each name to its age. Which approach creates the correct dictionary?

    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.