Data Analytics

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

  1. Median concept 24 questions
  2. Data transformation concept 25 questions
  3. Linear regression slope intercept and predictions 29 questions
  4. Probability calculations 30 questions
  5. Model evaluation and performance metrics 26 questions
  6. Comparing the spread of data sets 23 questions
  7. Data visualization introduction 24 questions
  8. Regression predictions errors and fitting 23 questions
  9. Linear regression concept 26 questions
  10. Mode concept 24 questions
  11. Integrated analysis scenarios 27 questions
  12. Bar charts 26 questions
  13. Mode and choosing a central measure 25 questions
  14. Creating charts in Excel and Google Sheets 24 questions
  15. Statistical modelling introduction 24 questions
  16. Missing data calculations 25 questions
  17. Sample data set 3 5 8 8 10 12 15 15 16 18 26 questions
  18. Measures of central tendency overview 24 questions
  19. Model development steps 26 questions
  20. K-means distance and centroid calculations 24 questions
  21. Class activity homework hours analysis 24 questions
  22. Mean concept and properties 23 questions
  23. Python statistics and plotting snippets 30 questions
  24. Interpreting model output and ethics 26 questions
  25. Median calculations 29 questions
  26. Measures of dispersion overview 24 questions
  27. Handling missing data concept 25 questions
  28. Data analytics and statistics basics 25 questions
  29. Data preparation 24 questions
  30. Data collection overview 24 questions
  31. Clustering and K-means concept 28 questions
  32. Exercise style review questions 25 questions
  33. Boxplots 28 questions
  34. Choosing the right visualization 26 questions
  35. Variance concept and formula 26 questions
  36. Transformation calculations 28 questions
  37. Mean calculations 30 questions
  38. Histograms 27 questions
  39. Scatterplots and relationships 25 questions
  40. Observation as a data collection method 25 questions
  41. Variance calculations 27 questions
  42. Standard deviation concept 24 questions
  43. Experiments as a data collection method 24 questions
  44. Tools for data visualization 25 questions
  45. Worked variance example Class A and Class B 28 questions
  46. Probability concept 25 questions
  47. Line graphs 26 questions
  48. Surveys as a data collection method 24 questions
  49. Logistic regression 25 questions
  50. Choosing a data collection method 28 questions
  51. Spreadsheet statistics functions 28 questions
  52. Data cleaning concept 26 questions
  53. Data cleaning scenarios and effects 25 questions
  54. Standard deviation calculations 27 questions
  55. Experimental design and model applications 24 questions
  56. Fruit stall regression example 27 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.

Take a full practice exam on this chapter

Mix every topic of the chapter, get instant explanations, and track your accuracy over time.

Create a free account
An unhandled error has occurred. Reload 🗙