Computer Science, HSSC-Punjab First Year. This chapter is split into 56 topics and has
1,440 practice questions. The topics covered are listed below, followed by
10 free sample questions from the chapter.
Topics in this chapter
Median concept24 questions
Data transformation concept25 questions
Linear regression slope intercept and predictions29 questions
Probability calculations30 questions
Model evaluation and performance metrics26 questions
Comparing the spread of data sets23 questions
Data visualization introduction24 questions
Regression predictions errors and fitting23 questions
Linear regression concept26 questions
Mode concept24 questions
Integrated analysis scenarios27 questions
Bar charts26 questions
Mode and choosing a central measure25 questions
Creating charts in Excel and Google Sheets24 questions
Statistical modelling introduction24 questions
Missing data calculations25 questions
Sample data set 3 5 8 8 10 12 15 15 16 1826 questions
Measures of central tendency overview24 questions
Model development steps26 questions
K-means distance and centroid calculations24 questions
Class activity homework hours analysis24 questions
Mean concept and properties23 questions
Python statistics and plotting snippets30 questions
Interpreting model output and ethics26 questions
Median calculations29 questions
Measures of dispersion overview24 questions
Handling missing data concept25 questions
Data analytics and statistics basics25 questions
Data preparation24 questions
Data collection overview24 questions
Clustering and K-means concept28 questions
Exercise style review questions25 questions
Boxplots28 questions
Choosing the right visualization26 questions
Variance concept and formula26 questions
Transformation calculations28 questions
Mean calculations30 questions
Histograms27 questions
Scatterplots and relationships25 questions
Observation as a data collection method25 questions
Variance calculations27 questions
Standard deviation concept24 questions
Experiments as a data collection method24 questions
Tools for data visualization25 questions
Worked variance example Class A and Class B28 questions
Probability concept25 questions
Line graphs26 questions
Surveys as a data collection method24 questions
Logistic regression25 questions
Choosing a data collection method28 questions
Spreadsheet statistics functions28 questions
Data cleaning concept26 questions
Data cleaning scenarios and effects25 questions
Standard deviation calculations27 questions
Experimental design and model applications24 questions
Fruit stall regression example27 questions
Sample questions: Data Analytics
10 sample questions with the correct answer and an explanation. Try to answer each one before reading the explanation.
Q1. Data analytics is best described as:
A. storing data in large databases so that it can be kept safe for many years
B. examining data to find useful information, patterns and trends that support decisions(correct answer)
C. designing computer hardware that can process data at a very high speed
D. typing raw records into a computer system as quickly and accurately as possible
Answer: B.Data analytics is the process of examining data to find useful information, patterns and trends so that better decisions can be made.
Q2. Why do we use statistics on large sets of information?
A. To replace the original records with codes so that the records can be deleted
B. To summarise the data in a simple way so that conclusions become easier to draw(correct answer)
C. To hide unusual values in the data so that nobody can notice them later in the report
D. To make every value in the data equal before it is saved in a file or database
Answer: B.Statistics condenses large amounts of information into simple summaries such as averages, which makes analysis and conclusions easier.
Q3. Which sequence matches a sensible flow of a data analysis project?
A. Clean the data, visualise the results, collect the data, then build the model
B. Collect data, prepare and clean it, analyse or model it, then visualise the results(correct answer)
C. Visualise the results, collect data, clean it, then build a statistical model of it
D. Build a model, collect data, visualise the results, then clean the data records
Answer: B.Data must first be collected, then cleaned and prepared, then analysed or modelled, and finally shown through visualisations.
Q4. Which statement about statistics is true?
A. It only works with words and never with numbers
B. It can only be used inside a mathematics classroom
C. It helps summarise large amounts of information in a simple way(correct answer)
D. It always gives exact predictions about the future
Answer: C.Statistics summarises large sets of information so that analysis and conclusions become easier; predictions remain estimates.
Q5. What is the median of 12, 7, 15, 9, 3 (given in this unsorted order)?
A. 9(correct answer)
B. 7
C. 15
D. 9.2
Answer: A.Sorted: 3, 7, 9, 12, 15; the middle value is 9. The third item of the unsorted list (15) and the mean (9.2) are common wrong answers.
Q6. Class A scored 66, 42, 60, 41, 51 and Class B scored 59, 37, 86, 84, 44. What are the population variances of A and B?
A. Class A: 96.4, Class B: 403.6(correct answer)
B. Class A: 9.82, Class B: 20.09
C. Class A: 120.5, Class B: 504.5
D. Class A: 403.6, Class B: 96.4
Answer: A.Class A mean 52 gives variance 96.4; Class B mean 62 gives variance 403.6. The sample variance (divide by N-1) and standard deviation are different quantities.
Q7. Class A scored 63, 64, 41, 41, 41 and Class B scored 77, 87, 32, 22, 82. What are the population variances of A and B?
A. Class A: 11.03, Class B: 27.31
B. Class A: 746, Class B: 121.6
C. Class A: 152, Class B: 932.5
D. Class A: 121.6, Class B: 746(correct answer)
Answer: D.Class A mean 50 gives variance 121.6; Class B mean 60 gives variance 746. The sample variance (divide by N-1) and standard deviation are different quantities.
Q8. Class A scored 53, 70, 70, 46, 61 and Class B scored 69, 78, 27, 44, 32. What are the population variances of A and B?
A. Class A: 9.44, Class B: 20.17
B. Class A: 111.5, Class B: 508.5
C. Class A: 89.2, Class B: 406.8(correct answer)
D. Class A: 406.8, Class B: 89.2
Answer: C.Class A mean 60 gives variance 89.2; Class B mean 50 gives variance 406.8. The sample variance (divide by N-1) and standard deviation are different quantities.
Q9. Class A scored 61, 52, 63, 40, 64 and Class B scored 60, 25, 62, 61, 47. What are the population variances of A and B?
A. Class A: 198.8, Class B: 82
B. Class A: 9.06, Class B: 14.1
C. Class A: 82, Class B: 198.8(correct answer)
D. Class A: 102.5, Class B: 248.5
Answer: C.Class A mean 56 gives variance 82; Class B mean 51 gives variance 198.8. The sample variance (divide by N-1) and standard deviation are different quantities.
Q10. Which of these is NOT a basic statistical model but an advanced machine learning method?
A. A line of best fit through the points
B. Logistic regression
C. Neural networks(correct answer)
D. Linear regression
Answer: C.Linear and logistic regression are the basic models; neural networks, decision trees and support vector machines are advanced machine learning methods.