PCEP Control Flow, Loops, Lists and Logic Practice Question
Which three of the following statements about lists are true? (Choose three.)
⚠ Common exam trap
Python Institute often tests the misconception that lists are fixed-size or homogeneous, similar to arrays in other languages, to catch candidates who confuse Python lists with static arrays or typed collections.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Lists can be indexed with integers.
Lists in Python are ordered sequences that support indexing with integers, starting from 0 for the first element and negative integers for reverse indexing. This allows direct access to any element by its position, a fundamental feature of sequence types in Python.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Lists can be indexed with integers.
Why this is correct
Indexing starts at 0.
- ✓
Lists can be sliced to create a new list.
Why this is correct
Slicing returns a new list.
- ✓
Lists are mutable.
Why this is correct
Elements can be changed after creation.
- ✗
Lists have a fixed size once created.
Why it's wrong here
Lists are dynamic; size can change.
- ✗
Lists can only contain elements of the same data type.
Why it's wrong here
Lists can contain mixed data types.
Go deeper
Related to this question
About these practice questions
Courseiva writes every PCEP question from scratch — 498 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on PCEP
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. Which two of the following statements about Python lists are true?
medium- A.Lists are immutable.
- ✓ B.List elements can be accessed using negative indices.
- C.The append() method inserts an element at the beginning of the list.
- ✓ D.The len() function returns the number of elements in a list.
- E.Lists can only contain elements of the same data type.
Why B: Python lists support negative indexing, where -1 refers to the last element, -2 to the second last, and so on. This allows convenient access to elements from the end of the list without needing to calculate the length.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PCEP practice question is part of Courseiva's free Python Institute certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCEP exam.