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

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

  1. 6application · medium

    A dictionary `stock = {'pen': 10, 'pencil': 20, 'eraser': 5}` tracks inventory. The developer must print a sorted list of all product names. Which code produces the sorted names?

    Select an answer first
  2. 7foundation · easy

    Given `d = {'x': 10, 'y': 20}`, which loop correctly prints all values?

    Select an answer first
  3. 8application · medium

    A dictionary `grades = {'math': 90, 'science': 85, 'history': 78}` holds student grades. The developer must find and print the subject with the HIGHEST grade. Which code correctly identifies it?

    Select an answer first
  4. 9application · medium

    A dictionary `prices = {'apple': 1.5, 'banana': 0.5}` stores fruit prices. The developer must print each fruit and its price in the format `apple costs 1.5`. Which loop correctly uses `items()`?

    Select an answer first
  5. 10foundation · easy

    Given `d = {'x': 10, 'y': 20}`, what is the result of `d['x']`?

    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.