01Hard · ✦ AI-labelled practice
A Pandas Series S has values [10, 20, 30, 40] with default index. What values are returned by S.head(2)?
- 10, 20
- 10, 20, 30
- 30, 40
- 20, 30
Check answer and explanation +
A — 10, 20head(2) returns the first two observations of the Series.
Source: CBSE Informatics Practices (065) curriculum 2026–27 · original syllabus-aligned practice 02Medium · ✦ AI-labelled practice
A Pandas Series S has values [12, 22, 32, 42] with default index. What values are returned by S.head(2)?
- 32, 42
- 22, 32
- 12, 22
- 12, 22, 32
Check answer and explanation +
C — 12, 22head(2) returns the first two observations of the Series.
Source: CBSE Informatics Practices (065) curriculum 2026–27 · original syllabus-aligned practice 03Medium · ✦ AI-labelled practice
A Pandas Series S has values [14, 24, 34, 44] with default index. What values are returned by S.head(2)?
- 14, 24
- 14, 24, 34
- 34, 44
- 24, 34
Check answer and explanation +
A — 14, 24head(2) returns the first two observations of the Series.
Source: CBSE Informatics Practices (065) curriculum 2026–27 · original syllabus-aligned practice 04Medium · ✦ AI-labelled practice
A Pandas Series S has values [16, 26, 36, 46] with default index. What values are returned by S.head(2)?
- 36, 46
- 26, 36
- 16, 26
- 16, 26, 36
Check answer and explanation +
C — 16, 26head(2) returns the first two observations of the Series.
Source: CBSE Informatics Practices (065) curriculum 2026–27 · original syllabus-aligned practice 05Medium · ✦ AI-labelled practice
A Pandas Series S has values [18, 28, 38, 48] with default index. What values are returned by S.head(2)?
- 18, 28
- 18, 28, 38
- 38, 48
- 28, 38
Check answer and explanation +
A — 18, 28head(2) returns the first two observations of the Series.
Source: CBSE Informatics Practices (065) curriculum 2026–27 · original syllabus-aligned practice