01Medium · ✦ AI-labelled practice
Computer Science (083): given L = [2, 4, 6, 8, 10], what is the value of L[1:4]?
- [4,6,8]
- [4,6]
- [2,4,6,8]
- [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]?
- [5,7]
- [3,5,7,9]
- [7,9,11]
- [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]?
- [4,6,8,10]
- [8,10,12]
- [6,8,10]
- [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]?
- [9,11,13]
- [7,9,11]
- [7,9]
- [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]?
- [8,10,12]
- [8,10]
- [6,8,10,12]
- [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