Skip to content

Ch 7 · Understanding Data

Exercises

Understanding Data

Exercises · Class 12 Computer Science · NCERT 2026-27

Question 1
Identify data required to be maintained to perform the following services:
  1. (a) Declare exam results and print e-certificates
  2. (b) Register participants in an exhibition and issue biometric ID cards
  3. (c) To search for an image by a search engine
  4. (d) To book an OPD appointment with a hospital in a specific department.
Answer

(a) Student name, roll number, subject-wise marks, grade, and certificate template/format details. (b) Participant name, contact details, exhibition category, biometric (fingerprint/photo) data, and unique registration ID. (c) Image metadata (filename, tags, keywords, source URL), image content features (colour, pattern data used for image recognition), and indexing data linking images to searchable terms. (d) Patient name, contact details, department requested, doctor availability/schedule data, and appointment date/time slot data.

Question 2
A school having 500 students wants to identify beneficiaries of the merit-cum-means scholarship, requiring more than 75% marks for two consecutive years and family income less than ₹5 lakh per annum. Briefly describe the data processing steps to prepare the beneficiary list.
Answer

Data processing steps: (1) Input — collect each student's marks for the last two years and family income declarations; (2) Processing — for each student, check if marks in both years exceed 75% and if family income is below ₹5 lakh, filtering out students who satisfy both conditions; (3) Storage — maintain this filtered data in a structured format (e.g. a list/database); (4) Output — generate and display/print the final list of eligible scholarship beneficiaries.

Question 3
A bank "XYZ" wants to know its popularity among residents of city "ABC" based on the number of bank accounts each family has and the average monthly account balance of each person. Briefly describe the steps for collecting data and what results can be checked through processing the collected data.
Answer

Data collection steps: conduct a survey or use existing bank records to gather, for each family/individual in the city, the number of accounts held with the bank and their monthly account balances. Processing this data can reveal results such as: the average number of accounts per family (indicating market penetration), the average monthly balance per person (indicating depositor engagement/wealth), and comparisons across localities or demographics to assess where the bank is more or less popular, guiding targeted marketing or branch expansion decisions.

Question 4MCQ
Identify the type of data being collected/generated in the following scenarios:
  1. (a) Recording a video
  2. (b) Marking attendance by a teacher
  3. (c) Writing tweets
  4. (d) Filling an application form online.
Answer

(a) Recording a video generates unstructured data (multimedia data without a predefined format). (b) Marking attendance generates structured data (fixed fields like student ID, present/absent, date). (c) Writing tweets generates unstructured (or semi-structured) data (free-form text, though with some metadata like hashtags/timestamps). (d) Filling an application form online generates structured data (fixed fields such as name, address, date of birth).

Question 5MCQ
Consider the temperature (in Celsius) of 7 days of a week as 34, 34, 27, 28, 27, 34, 34. Identify the appropriate statistical technique to calculate:
  1. (a) the average temperature
  2. (b) the temperature range of that week
  3. (c) the standard deviation of temperature.
Answer

(a) Use Mean: (34+34+27+28+27+34+34)/7 = 218/7 ≈ 31.14°C. (b) Use Range: maximum (34) − minimum (27) = 7°C. (c) Use Standard Deviation — the positive square root of the average of the squared differences of each value from the mean, giving a measure of how spread out the daily temperatures are around the average.

Question 6
A school teacher wants to analyse results. Identify the appropriate statistical technique, with justification, for:
  1. (a) comparing performance (division secured) of students in Class XII A and XII B, where each class has the same strength;
  2. (b) comparing class performance across five unit tests conducted from July to November.
Answer

(a) Use Mode (the most frequently occurring division/grade) — since both classes have equal strength, comparing which division occurs most frequently in each class gives a clear, simple comparison of overall performance level. (b) Use Mean (average score) for each of the five unit tests — comparing the mean scores across the five months shows the trend in the class's performance over time, and could be supplemented with the Range or Standard Deviation to see how consistent performance was.

Question 7
For the school annual day, parents of students in classes XI and XII who are alumni of the same school will be felicitated.
  1. (a) Which statistical technique should be used to find the number of students whose both parents are alumni?
  2. (b) How varied are the ages of parents of the students of that school?
Answer

(a) Use simple counting/frequency of the specific condition (both parents being alumni) across the student data — essentially a frequency count rather than mean/median/mode, since the goal is a direct count of qualifying students. (b) Use the Range (difference between the oldest and youngest parent's age) and/or Standard Deviation (to measure how spread out the parents' ages are around the average) to describe the variation in parents' ages.

Question 8
For the annual day celebrations, the teacher is looking for an anchor in a class of 42 students, selecting based on singing skill, writing skill, and monitoring skill.
  1. (a) Which mode of data collection should be used?
  2. (b) How would you represent the skill of students as data?
Answer

(a) A survey/assessment or audition-based data collection mode should be used — directly observing/testing each student's singing, writing, and monitoring/leadership skills (e.g. through a short audition, writing sample, and classroom observation). (b) Each skill could be represented as numerical ratings/scores (e.g. on a scale of 1-10) for singing, writing, and monitoring ability for each student, allowing these scores to be compared, ranked, or combined (e.g. averaged) to identify the best-suited anchor.

Question 9
Differentiate between structured and unstructured data, giving one example. The principal wants to analyse food items procured and sold in the canteen:
  1. (a) compare purchase and sale price of fruit juice and biscuits
  2. (b) compare sales of fruit juice, biscuits and samosa
  3. (c) variation in sale price of fruit juices of different companies for the same quantity. Create an appropriate dataset and apply basic statistical techniques.
Answer

Structured data is organised in a fixed, predefined format (e.g. rows and columns in a spreadsheet, such as a table of student marks), making it easy to search and analyse; unstructured data lacks a predefined format (e.g. a photo, video, or free-text document), making it harder to organise and query directly. For the canteen analysis, a structured dataset could be created with columns like Item, Purchase Price, Sale Price, Company, Quantity Sold for fruit juice, biscuits and samosa. (a) Compare the purchase vs sale price columns directly for fruit juice and biscuits to find the profit margin on each. (b) Use totals/sum of quantity sold for each item to compare overall sales volumes. (c) Group fruit juice entries by company and compare sale prices for the same quantity (ml) using a simple comparison or range to show the price variation across companies.