Question:medium

In the context of Project based learning, the following question has to be solved-
What is the total population, total male population and total female population aged 10 to 24 in India?
Arrange the following solution steps to accomplish the same:
A. Read CSV file and check the shape of the DataFrame.
B. Identify the columns and the number of rows that you wants to use for plotting.
C. Create a new DataFrame containing the filtered data and Group data as per the requirement.
D. Plot data for the DataFrame.

Show Hint

Visualization is always the final step of a data science task.
Thus, "Plot data" (D) must occur at the end of the pipeline, which makes option (A) the logical choice.
Updated On: Jun 11, 2026
  • A, B, C, D
  • D, B, C, A
  • B, A, D, C
  • C, B, D, A
Show Solution

The Correct Option is A

Solution and Explanation


Step 1: Understanding the Concept:

Data analysis workflows typically follow a structured pipeline: data ingestion, inspection, transformation, and visualization.

Step 2: Detailed Explanation:

1. A: Load data from the CSV into a pandas DataFrame and inspect its dimensions.
2. B: Identify relevant features (columns) needed for the specific analysis of age-groups.
3. C: Filter the data for age 10-24 and perform aggregation (grouping).
4. D: Visualize the results using a plotting library like Matplotlib or Seaborn.

Step 3: Final Answer:

The correct logical sequence is A, B, C, D.
Was this answer helpful?
0


Questions Asked in CUET (UG) exam