MCQs / Computer Science / Unit 4: Data and Analysis

Unit 4: Data and Analysis MCQs — Computer Science (page 2)

54 multiple-choice questions on Unit 4: Data and Analysis from Computer Science, each with the correct answer and, where available, a teacher's explanation. Read through them to revise the chapter, then practise the same questions one by one to test yourself.

26. A taxi charges Rs 150 plus Rs 40 per km. The intercept of this linear model is:

  1. 40
  2. 190
  3. 150
  4. 110

Answer: C) 150

Explanation: The intercept is the fixed value when x (km) = 0. SLO CS-11-D-01

Discuss this question

27. Which chart shows parts of a whole as percentages?

  1. Pie chart
  2. Box plot
  3. Line graph
  4. Scatter plot

Answer: A) Pie chart

Explanation: Slices of a pie add up to 100%. SLO CS-11-D-03

Discuss this question

28. Which chart is best for showing a trend over time?

  1. Histogram
  2. Box plot
  3. Pie chart
  4. Line graph

Answer: D) Line graph

Explanation: Line graphs show how values change over time. SLO CS-11-D-03

Discuss this question

29. The 3-point moving averages of 45, 52, 61, 58, 70 are:

  1. [57.2]
  2. [45, 52, 61]
  3. [52.0, 57.0, 63.0]
  4. [52.67, 57.0, 63.0]

Answer: D) [52.67, 57.0, 63.0]

Explanation: (45+52+61)/3 = 52.67, (52+61+58)/3 = 57, (61+58+70)/3 = 63. SLO CS-11-D-01

Discuss this question

30. Predicting a value far outside the range of the collected data is called:

  1. extrapolation
  2. interpolation
  3. clustering
  4. smoothing

Answer: A) extrapolation

Explanation: Extrapolation is risky because the pattern may not continue. SLO CS-11-D-01

Discuss this question

31. Surveying only your friends about the college canteen gives:

  1. a biased sample
  2. a random sample
  3. a parameter
  4. a census

Answer: A) a biased sample

Explanation: The sample does not represent all students. SLO CS-11-D-02

Discuss this question

32. Removing duplicate records and fixing spellings like "Lhr" and "Lahore" is called data:

  1. visualisation
  2. sampling
  3. cleaning
  4. encryption

Answer: C) cleaning

Explanation: Data cleaning prepares data for accurate analysis. SLO CS-11-D-03

Discuss this question

33. The interquartile range is:

  1. max − min
  2. mean − median
  3. Q2 − Q1
  4. Q3 − Q1

Answer: D) Q3 − Q1

Explanation: IQR measures the spread of the middle 50%. SLO CS-11-D-03

Discuss this question

34. The relationship between height and weight of 50 students is best shown by a:

  1. pie chart
  2. line graph
  3. scatter plot
  4. bar chart

Answer: C) scatter plot

Explanation: Scatter plots show the relationship between two numeric variables. SLO CS-11-D-03

Discuss this question

35. The range of Pearson's correlation coefficient r is:

  1. −1 to +1
  2. 0 to 1
  3. −100 to +100
  4. 0 to infinity

Answer: A) −1 to +1

Explanation: r is always between −1 and +1. SLO CS-11-D-01

Discuss this question

36. The whole group about which we want information is the:

  1. population
  2. sample
  3. statistic
  4. parameter

Answer: A) population

Explanation: The population is the entire group of interest. SLO CS-11-D-02

Discuss this question

37. The median of 4, 7, 7, 8, 9, 10, 25 is:

  1. 9
  2. 8
  3. 7
  4. 10

Answer: B) 8

Explanation: The middle (4th) value of the sorted list is 8. SLO CS-11-D-03

Discuss this question

38. Which Excel function returns the slope of the regression line?

  1. =AVERAGE()
  2. =CORREL()
  3. =SLOPE()
  4. =TRENDM()

Answer: C) =SLOPE()

Explanation: SLOPE(knownys, knownxs) gives m; INTERCEPT gives c. SLO CS-11-D-01

Discuss this question

39. The symbol μ usually represents the:

  1. correlation
  2. sample size
  3. population mean (a parameter)
  4. sample mean

Answer: C) population mean (a parameter)

Explanation: μ is a population parameter; x̄ is the sample statistic. SLO CS-11-D-02

Discuss this question

40. With Q1 = 55 and Q3 = 70, which value is an outlier?

  1. 72
  2. 90
  3. 45
  4. 95

Answer: D) 95

Explanation: Upper fence = 70 + 1.5 × 15 = 92.5 and lower fence = 32.5, so only 95 lies outside. SLO CS-11-D-03

Discuss this question

41. In an experiment, the group that does not receive the new treatment is the:

  1. treatment group
  2. sample group
  3. control group
  4. outlier group

Answer: C) control group

Explanation: The control group is the baseline for comparison. SLO CS-11-D-02

Discuss this question

42. For salaries with a few very high values, the best measure of centre is the:

  1. mode
  2. range
  3. mean
  4. median

Answer: D) median

Explanation: The median is not affected by extreme values. SLO CS-11-D-02

Discuss this question

43. Which chart is used for the distribution of continuous data in ranges?

  1. Line graph
  2. Pie chart
  3. Histogram
  4. Bar chart

Answer: C) Histogram

Explanation: Histogram bars touch and show frequency in intervals. SLO CS-11-D-03

Discuss this question

44. Which method can establish cause and effect?

  1. Observational study
  2. Survey
  3. Census
  4. Randomised controlled experiment

Answer: D) Randomised controlled experiment

Explanation: Random assignment and control isolate the effect of one factor. SLO CS-11-D-02

Discuss this question

45. A correlation coefficient of −0.92 shows:

  1. causation
  2. strong negative correlation
  3. weak positive correlation
  4. no correlation

Answer: B) strong negative correlation

Explanation: Close to −1 means a strong negative linear relationship. SLO CS-11-D-01

Discuss this question

46. A number that describes a sample is a:

  1. statistic
  2. population
  3. parameter
  4. census

Answer: A) statistic

Explanation: Statistics describe samples; parameters describe populations. SLO CS-11-D-02

Discuss this question

47. Replacing each value by the average of it and its neighbours to reveal a trend is called:

  1. smoothing (moving average)
  2. sorting
  3. hashing
  4. clustering

Answer: A) smoothing (moving average)

Explanation: A moving average reduces short-term noise. SLO CS-11-D-01

Discuss this question

48. The mode of A, B, A, C, B, A, D is:

  1. B
  2. A
  3. C
  4. D

Answer: B) A

Explanation: A appears three times, more than any other grade. SLO CS-11-D-03

Discuss this question

49. K-means clustering is an example of:

  1. unsupervised learning
  2. supervised learning
  3. encryption
  4. linear regression

Answer: A) unsupervised learning

Explanation: K-means groups unlabelled data. SLO CS-11-D-01

Discuss this question

50. In K-means, after assigning points to clusters, each centroid moves to the:

  1. median of all data
  2. farthest point
  3. mean of the points in its cluster
  4. origin (0, 0)

Answer: C) mean of the points in its cluster

Explanation: Centroids are recalculated as the mean of their cluster points. SLO CS-11-D-01

Discuss this question

Previous Page 2 of 3 Next

Practise Unit 4: Data and Analysis MCQs

More Computer Science chapters