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

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 21–25

  1. 21application · easy

    A playlist is stored as `playlist = ['song1', 'song2', 'song4']`. A user wants to add 'song3' so it appears between 'song2' and 'song4'. Which statement accomplishes this?

    Select an answer first
  2. 22foundation · easy

    Which method creates a deep copy of a list?

    Select an answer first
  3. 23foundation · easy

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

    Select an answer first
  4. 24application · easy

    A program has `allowed = ['admin', 'editor', 'viewer']` and a variable `role = 'admin'`. The program must print 'Access granted' only if role is in the allowed list. Which code accomplishes this?

    Select an answer first
  5. 25foundation · easy

    What is the result of `3 in [1, 2, 3]`?

    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.