Skip to content
πŸ“š Free notes, MCQ tests & past papers β€” FBISE & BISE Rawalpindi
πŸ“’ Latest Updates

FBISE 1st Year Computer Science Unit 4 Data and Analysis: Short and Long Questions with Answers 2027

Reviewed by Sadia Shahid, Senior Science teacher (Maths, Physics, Chemistry, Biology, Computer Science)

Here are the important short and long questions of Unit 4, Data and Analysis, from the Federal Board (FBISE) 1st Year Computer Science course (HSSC-I, Intermediate Part I), solved in full for the Annual Examination 2027.

Unit 4: Data and Analysis
Class 1st Year (HSSC-I), Federal Board
Subject Computer Science
Contents Short and long questions with answers
Exam FBISE Annual Examination 2027

Short Questions

Q1. What is the use of statistical modelling? / What is a use case for statistical modelling? Give an example. / State the purpose of a use case when applying statistical models to real-world problems. [2 + 1 / 3] (FAE25 Q2-A; SA25 Q2-A; FA26 P-1)

Statistical modeling is the use of mathematical models and statistical assumptions to generate sample data and make predictions about the real world.

Use case: a data science use case is a concrete real-world task to be solved using the available data – a problem to be resolved, a hypothesis to be checked or a question to be answered. Its purpose is to set a clear goal and expected outcome, the scope of work, required data and KPIs (key performance indicators) for measuring success; common approaches are forecasting, classification, pattern/anomaly detection and recommendations.

Example: weather forecasting – past data of temperature, rainfall, wind speed and pressure is fed to a statistical model which predicts tomorrow’s weather. (Others: stock market analysis, sales tracking, fraud detection, pandemic analysis.)

Q2. Briefly explain the concept of use case in data science (any three points). [3] (FA26 P-3)

β€’ A use case is a methodology used in system analysis to identify, clarify and organize a system; it describes how users will perform tasks or achieve a goal.

β€’ A data science use case is a concrete real-world task (a problem, a hypothesis to be checked or a question to be answered) solved using available data; doing data science means solving real-world use cases.

β€’ Use case planning includes a clear goal and expected outcomes, scope of work, available resources and data, risks, and KPIs as a measure of success (e.g. customer churn prediction, fraud detection, recommendation systems).

Q3. List the main steps of predictive analysis that support the use case of statistical modeling in weather forecasting. [3] (FA26 P-2)

β€’ Formulating the right question: existing data about comparable weather situations is reviewed.

β€’ Data collection: data of temperature, rainfall, wind speed/direction and barometric pressure is collected (thermometer, rain gauge, barometer, or from the meteorological department).

β€’ Data wrangling: data is cleaned – duplicate values removed and missing values filled.

β€’ Data analysis and modeling: cleaned data is fitted to a statistical model.

β€’ Result communication: the trained model predicts the weather for new data; accuracy decides its reliability.

Q4. What is slope and intercept for the linear relationship? Give example from daily life. [3] (MP25 Q2-A)

In simple linear regression the equation of the line is y = mx + b, where x is the independent variable and y the dependent variable.

β€’ Slope (m): the rate of change of y with x (rise/run); it shows how much y changes when x increases by 1.

β€’ Intercept (b): the point where the graph line meets the y-axis (value of y when x = 0); also called y-intercept.

Example: taxi fare y = 50x + 100 β†’ intercept 100 = fixed starting charge (Rs.), slope 50 = charge per km. For 10 km, fare = 50(10) + 100 = Rs. 600.

Q5. Differentiate between supervised and unsupervised learning with daily life example(s). [4 / 3 / 1.5 + 1.5] (Set-1 Q7-B; MP25 Q3-B; FAM25 Q3-B; FAE25 Q14-B; SA25 Q12-B; FA26 P-1, P-2, P-3)

Supervised Learning Unsupervised Learning
Uses a labeled dataset (with an answer key). Uses unlabeled data.
Algorithm learns from inputs and their correct labels, then predicts labels for new data. Algorithm extracts features and finds patterns/groups by itself.
Techniques: regression and classification. Techniques: clustering (K-means) and association rules.
Example: fruits and vegetables labeled “Fruit”/”Not Fruit” – model then labels a new item; e-mail spam filter. Example: telecom company groups customers into clusters by usage; supermarket finds that buyers of bread also buy milk.

Q6. What is the difference between correlation and causation? Illustrate with an example. [3 / 1.5 + 1.5] (MP25 Q12-B; FA26 P-2; FA26 P-3)

Correlation Causation
An association between variables; they change together (co-vary). A cause-and-effect relationship; change in one variable brings about change in the other.
Does not imply that one causes the other. Always implies correlation as well.
Example: a phone lags whenever the user sends a text message (only correlation). Example: lack of RAM (many apps open) causes the phone to lag (real cause).

Q7. Compare / differentiate between parameter and statistic with a daily life example. [3 / 1.5 + 1.5 / 2 + 1] (FAM25 Q13-A; FAE25 Q3-B; SA25 Q3-B; FA26 P-1)

Parameter Statistic
A number that describes an aspect of the entire population. A number that describes an aspect of a sample.
Fixed but usually unknown. Known; varies from sample to sample; used to estimate the parameter.
Example: average income of all people in Pakistan; mean weight of all Persian cats. Example: average income of government employees in Pakistan; mean weight of 100 Persian cats.

Q8. What is a sample? Why is it often used instead of studying an entire population? [1 + 2] (FAM25 Q14-B)

Sample: a subset of the population; in a random sample each member of the population has an equal chance of being selected.

β€’ Studying the entire population is often impossible, very costly and time-consuming; a sample saves time, money and effort.

β€’ A properly selected random sample gives statistics that are good estimates of the population parameters, so reliable conclusions can still be drawn.

Q9. What is the difference between a population and a sample in statistics? Illustrate with an example. [3] (FAE25 Q13-A)

Population Sample
Complete collection/set of similar items, people or events under study. A subset (part) of the population.
Its measures are called parameters. Its measures are called statistics.
Example: all students of class 11 in Pakistan. Example: 500 randomly selected class 11 students.

Long Questions

Q10. Explain the differences between Correlation and Causation with examples. [5] (FAM25 P-2 Q3-OR)

Correlation describes an association between different variables. It is a statistical measure of the degree to which a change in the value of one variable predicts the change in the value of another; the variables change together (co-vary), but this is not necessarily due to a direct causal link.

Causation means that changes in one variable bring about changes in the other – there is a cause-and-effect relationship; the variables are correlated and there is also a causal link.

Correlation Causation
Shows an association / relationship between variables. Shows a cause-and-effect relationship.
Variables co-vary; one does not necessarily produce the other. Change in the cause directly produces change in the effect.
May be due to coincidence or a hidden third factor. Proved through controlled experiments.
Correlation does not imply causation. Causation always implies correlation.
Example: ice-cream sales and drowning cases both rise in summer (third factor: hot weather). Example: more study hours β†’ better exam marks; lack of RAM β†’ phone lags.

Book example: a user says, “Whenever I send a text message, my phone lags.” Sending the message is only correlated with lag; the real cause was lack of RAM because five games, Facebook and YouTube were open at the same time.

4.2 Experimental Design in Data Science

Short Questions

Q1. Explain any experimental design principle in data science with relevant examples. [4] (Set-1 Q4-A)

Principle of Randomization: people/items are divided into treatment groups randomly, so there is no bias or pre-planned grouping; any change in the result is then due to the treatment only.

Example: to test a new asthma medicine on 100 patients, they are randomly divided into two groups of 50 – one gets the new medicine, the other the regular medicine. Random grouping ensures severe and mild patients are spread in both groups, so the comparison is fair.

(Any one principle – randomization, local control, blocking or replication – with example earns full marks.)

Long Questions

Q2. What is experimental design in data science? Explain two principles of experimental design. [1 + 4] (FA26 P-3; SA25 (experimental design / correlation–causation))

Experimental design is precise planning and design of an experiment to ensure that the appropriate data and design are available for analysis, so that erroneous conclusions are prevented. It is a tool to organize, conduct and clarify the results of an experiment efficiently (used in engineering, medicine, agriculture, psychology).

1. Principle of Randomization: participants are divided into treatment groups at random, so there is no bias or pre-planned grouping. Example: 100 asthma patients randomly split into two groups of 50; one group gets the new medicine.

2. Principle of Local Control (control group): a control group that receives no new treatment is used to compare the treatment group’s findings, so that the treatment – not other factors – is proved to be the reason for the outcome. Example: one group gets the new medicine, the control group gets only regular medication.

3. Principle of Blocking: participants are grouped by a trait that may affect results (e.g. gender) and each block is divided equally between treatment and control groups. Example: 56 women and 44 men β†’ 28 women + 22 men in each group.

4. Principle of Replication: the experiment is repeated with different groups/data scientists, so the results are reliable and not a coincidence.

(Any two principles with example = 4 marks.) Experimental design also separates correlation from causation: a randomized controlled experiment shows whether the treatment actually causes the change.

4.3 Data Visualization (Summary Statistics and Data Visuals)

Short Questions

Q1. Write down any three features of data visualization. [3] (FAM25 Q2-A)

β€’ Graphical representation: presents information using visual elements like charts, graphs and maps (bar chart, pie chart, line graph, histogram, box plot).

β€’ Shows trends, patterns and outliers: makes large data easy to see and understand at a glance.

β€’ Easy communication: presents data to non-technical audiences without confusion and supports data-driven decisions.

Q2. How can data visualization help in interpreting large datasets? Give an example. [1 + 2] (SA25 Q14-B)

Data visualization gives an organized pictorial representation of data, which makes it easier to understand, observe and analyze large (big) data that is difficult to read in raw form.

β€’ Trends, patterns and outliers become visible immediately, and comparisons are quick, leading to better decisions.

Example: a line graph of monthly temperatures of a city for a whole year instantly shows the hottest and coldest months; a bar chart of tips in a restaurant shows on which day most tip is given.

You can find the other units of 1st Year Computer Science on the main page: FBISE 1st Year Computer Science short and long questions, all units.

Questions follow the FBISE HSSC-I Computer Science syllabus and paper pattern. Please confirm all dates and figures on the official website: www.fbise.edu.pk

Need help with 1st Year Computer Science? Join our live online classes for the Federal Board. Book a free demo class.

All chapters of this subject

πŸ“Œ Struggling with this chapter? Join our live online tuition β€” one-to-one or small group classes with experienced teachers. Book a free demo class β†’

Ask a question about this topic

Your email address will not be published. Required fields are marked *