
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 7)
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 31–35
- 31
Which expression creates a 2x3 matrix (2 rows, 3 columns) filled with zeros?
Select an answer first - 32
What is the result of the following code? ```python a = [1, 2, 3] b = a[:] b.append(4) print(a) ```
Select an answer first - 33
What is the result of `[1, 2, 3, 4, 5][1:4]`?
Select an answer first - 34
A list `data = [3, 1, 4, 1, 5, 9, 2, 6]` needs to be modified so that it becomes `[1, 1, 2, 3, 4, 5, 6, 9]` in place (the original variable must reference the sorted list). Which single statement accomplishes this?
Select an answer first - 35
What is the result of `[x * 2 for x in [1, 2, 3]]`?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
No more pagesBack to PCEP-30
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.