CBSE-IP · Data Handling

Pandas Boolean indexing 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

A Series contains [11, 21, 31, 41]. Which values remain after applying S[S > 21]?

  1. 21, 31, 41
  2. 11
  3. 41
  4. 31, 41
Check answer and explanation +
D — 31, 41

Boolean indexing keeps only values strictly greater than 21, namely 31, 41.

Source: CBSE Informatics Practices (065) curriculum 2026–27 · original syllabus-aligned practice
02Medium · ✦ AI-labelled practice

A Series contains [13, 23, 33, 43]. Which values remain after applying S[S > 23]?

  1. 43
  2. 33, 43
  3. 23, 33, 43
  4. 13
Check answer and explanation +
B — 33, 43

Boolean indexing keeps only values strictly greater than 23, namely 33, 43.

Source: CBSE Informatics Practices (065) curriculum 2026–27 · original syllabus-aligned practice
03Hard · ✦ AI-labelled practice

A Series contains [15, 25, 35, 45]. Which values remain after applying S[S > 25]?

  1. 25, 35, 45
  2. 15
  3. 45
  4. 35, 45
Check answer and explanation +
D — 35, 45

Boolean indexing keeps only values strictly greater than 25, namely 35, 45.

Source: CBSE Informatics Practices (065) curriculum 2026–27 · original syllabus-aligned practice
04Medium · ✦ AI-labelled practice

A Series contains [17, 27, 37, 47]. Which values remain after applying S[S > 27]?

  1. 47
  2. 37, 47
  3. 27, 37, 47
  4. 17
Check answer and explanation +
B — 37, 47

Boolean indexing keeps only values strictly greater than 27, namely 37, 47.

Source: CBSE Informatics Practices (065) curriculum 2026–27 · original syllabus-aligned practice
05Medium · ✦ AI-labelled practice

A Series contains [19, 29, 39, 49]. Which values remain after applying S[S > 29]?

  1. 29, 39, 49
  2. 19
  3. 49
  4. 39, 49
Check answer and explanation +
D — 39, 49

Boolean indexing keeps only values strictly greater than 29, namely 39, 49.

Source: CBSE Informatics Practices (065) 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 Pandas Boolean indexing question →