Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Python Institute logo

Python InstitutePCEP - Certified Entry-Level Python Programmer

Domain 3Objective 1

PCEP-30-02 3.1 Collect and Process Data Using Lists PCEP-30 Practice Questions (Page 6)

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

35questions here
7free pages
15concepts
25%of the exam

Questions 26–30

  1. 26foundation · easy

    Which function is used with a for loop to get both the index and the element of a list?

    Select an answer first
  2. 27foundation · easy

    What is the result of the following code? ```python nums = [3, 1, 2] nums.sort() print(nums) ```

    Select an answer first
  3. 28application · easy

    A developer has `numbers = [5, 2, 8, 1, 9]` and needs to create a new list `sorted_numbers` containing the values in ascending order, while leaving `numbers` unchanged. Which code accomplishes this?

    Select an answer first
  4. 29application · easy

    A matrix is stored as `matrix = [[1, 2], [3, 4], [5, 6]]`. A developer needs to access the value 4. Which expression retrieves it?

    Select an answer first
  5. 30foundation · easy

    What happens when you call `[1, 2, 3].index(5)`?

    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.