Class 12 · Computer Science · Computer Science
Chapter 7: Understanding Data Notes
The big idea
Data are raw facts that must be collected, stored and processed to become useful information; structured data fit rows and columns, and mean, median, mode, range and standard deviation summarise them.
Things to remember
- Data is a collection of characters, numbers and symbols representing values of a situation; the singular is datum. Data support decisions in business, banking, elections, science, weather alerts and search engines, and ICT produces huge amounts of it very fast.
- Structured data is organised in rows and columns: each column is an attribute and each row is an observation, like a shop inventory table. Unstructured data has no fixed format, such as emails, web pages, images, audio, video and social media posts.
- Metadata is data about data, for example the subject, recipient and attachment of an email, or the size, type and resolution of an image. It is often used to describe unstructured data.
- Data collection means gathering available data from sources such as registers (then entering them digitally), CSV files or software and databases like MySQL. Storage uses devices like HDD, SSD, CD/DVD, pen drives and memory cards, and DBMS overcomes the limits of file processing.
- Data processing turns raw data into information through input (collection, preparation, entry), processing (store, retrieve, classify, update) and output (reports, results). Examples: online ticket booking, ATM withdrawal, admit card generation.
- Mean is the average, sum of values divided by n. Median is the middle value of sorted data (average of the two middle values if n is even). Mode is the most frequent value; data may have no mode or several. Mean is affected by outliers, median much less.
- Range is maximum minus minimum and uses only the two extremes, so outliers distort it. Standard deviation is the positive square root of the average squared difference of each value from the mean; a small value means values are close together, a large one means more spread.
- Heights [90, 102, 110, 115, 85, 90, 100, 110, 110] give mean 912/9 = 101.33 cm, median 102 cm, mode 110 cm and range 115 minus 85 = 30 cm. Their sum of squared differences is about 938, so standard deviation is about 10.2. Exam tip: sort before finding the median.
Words to know
Tap a card to see what it means
Quick quiz
⭐ 0 / 5The temperatures of 7 days are 34, 34, 27, 28, 27, 34, 34 degrees Celsius. What are the median and the range?
Find the mode and the mean of the temperatures 34, 34, 27, 28, 27, 34, 34 degrees (mean correct to two decimals).
The values 2, 4, 4, 4, 5, 5, 7, 9 have mean 5. What is their standard deviation?
A teacher wants to see the disparity in salaries of all employees of a company. Which measure is most suitable?
Assertion (A): An outlier affects the mean much more than the median. Reason (R): The mean uses every value in its calculation, while the median depends only on the middle position. Choose the correct option.
Match the pairs
Match each statistical term with what it tells us.
Try this at home
Measure the height or shoe size of five family members. Write the numbers in a table, then work out the mean, median, mode and range with an adult and see which one best describes your family.
All Computer Science notesChapter page and exercisesComputer Science syllabus