CBSE-CS · Python Programming

Lists and slicing questions with answers

Build accuracy with explanation-led practice, then open a focused search or timed exam drill.

PRACTICE PREVIEW

Five questions to begin your revision

Open each answer only after choosing your own response.

01Medium · ✦ AI-labelled practice

Computer Science (083): given L = [2, 4, 6, 8, 10], what is the value of L[1:4]?

  1. [4,6,8]
  2. [4,6]
  3. [2,4,6,8]
  4. [6,8,10]
Check answer and explanation +
A — [4,6,8]

A slice includes the start position and excludes the stop position. Indices 1, 2 and 3 are therefore selected.

Source: CBSE Computer Science (083) curriculum 2026–27 · original syllabus-aligned practice
02Easy · ✦ AI-labelled practice

Computer Science (083): given L = [3, 5, 7, 9, 11], what is the value of L[1:4]?

  1. [5,7]
  2. [3,5,7,9]
  3. [7,9,11]
  4. [5,7,9]
Check answer and explanation +
D — [5,7,9]

A slice includes the start position and excludes the stop position. Indices 1, 2 and 3 are therefore selected.

Source: CBSE Computer Science (083) curriculum 2026–27 · original syllabus-aligned practice
03Easy · ✦ AI-labelled practice

Computer Science (083): given L = [4, 6, 8, 10, 12], what is the value of L[1:4]?

  1. [4,6,8,10]
  2. [8,10,12]
  3. [6,8,10]
  4. [6,8]
Check answer and explanation +
C — [6,8,10]

A slice includes the start position and excludes the stop position. Indices 1, 2 and 3 are therefore selected.

Source: CBSE Computer Science (083) curriculum 2026–27 · original syllabus-aligned practice
04Medium · ✦ AI-labelled practice

Computer Science (083): given L = [5, 7, 9, 11, 13], what is the value of L[1:4]?

  1. [9,11,13]
  2. [7,9,11]
  3. [7,9]
  4. [5,7,9,11]
Check answer and explanation +
B — [7,9,11]

A slice includes the start position and excludes the stop position. Indices 1, 2 and 3 are therefore selected.

Source: CBSE Computer Science (083) curriculum 2026–27 · original syllabus-aligned practice
05Easy · ✦ AI-labelled practice

Computer Science (083): given L = [6, 8, 10, 12, 14], what is the value of L[1:4]?

  1. [8,10,12]
  2. [8,10]
  3. [6,8,10,12]
  4. [10,12,14]
Check answer and explanation +
A — [8,10,12]

A slice includes the start position and excludes the stop position. Indices 1, 2 and 3 are therefore selected.

Source: CBSE Computer Science (083) curriculum 2026–27 · original syllabus-aligned practice
✓

Know what you are practisingVerified and AI-generated records remain labelled separately. Previous-exam claims appear only when the source record supports them.

See every Lists and slicing question →