Past Papers, Statistics, UOS Main Campus

Probability & Statistics Past Paper 2014 – BSCS 2nd Term UOS (MATH-2110)

ProgramBSCS
Term2nd
Year2014
Course codeMATH-2110
AnswersSolved ✓

University of Sargodha BS Computer Science 2nd term Probability & Statistics (MATH-2110) paper, 2014 exam, session 2013-17 (80 marks, 2:30 hours). The paper is retyped below without the handwritten roll number, followed by solved answers for all 16 short questions and all subjective questions: mean deviation and coefficient of variation, dice, a probability density function, binomial and normal probabilities, and expectation. All numbers were checked in Python.

Solved answers

Q1 – Short answers (16 × 2)

i. Data. Facts or figures collected for a purpose, e.g. marks of students; raw data are unprocessed observations.

ii. Statistic vs parameter. A parameter describes a population (μ, σ, fixed). A statistic describes a sample (x̄, s) and varies from sample to sample.

iii. Variable vs random variable. A variable is any characteristic that changes (height, age). A random variable is a variable whose value is determined by the outcome of a random experiment and has a probability distribution, e.g. number of heads in 3 tosses.

iv. Classification. Arranging data into groups or classes according to common characteristics (qualitative, quantitative, geographical, chronological).

v. Geometric mean and mode. GM = (x1x2…xn)1/n – used for rates and ratios. Mode = the value that occurs most often.

vi. Measure of dispersion. A measure of how spread out the values are around the average: range, quartile deviation, mean deviation, variance, standard deviation.

vii. Coefficient of variation. CV = (σ/μ) × 100 (or s/x̄ × 100); a relative, unit-free measure for comparing variability.

viii. Sample space. The set of all possible outcomes of an experiment, e.g. for a die S = {1, 2, 3, 4, 5, 6}.

ix. Exhaustive events. Events whose union is the whole sample space, so at least one must occur, e.g. {odd, even} for a die.

x. Classical definition. If an experiment has n equally likely, mutually exclusive outcomes and m favour A, then P(A) = m/n.

xi. Sure and impossible events. A sure event always occurs (P = 1), e.g. getting a number ≤ 6 on a die. An impossible event never occurs (P = 0), e.g. getting 7.

xii. Continuous and discrete random variables. A discrete random variable takes countable values (number of defective items). A continuous one takes any value in an interval (height, time).

xiii. Mathematical expectation. The long-run average value of a random variable: E(X) = Σ x P(x) (discrete) or ∫ x f(x) dx (continuous).

xiv. Binomial distribution. The distribution of the number of successes in n independent trials with constant success probability p: P(X = x) = nCxpxqn−x, x = 0, …, n.

xv. Multiplicative law. P(A ∩ B) = P(A)·P(B | A); for independent events P(A ∩ B) = P(A)P(B).

xvi. PDF of normal distribution. f(x) = [1/(σ√(2π))] e−(x − μ)²/(2σ²), −∞ < x < ∞.

Q2 – Mean deviation and coefficient of variation

The classes printed are 1–5, 5–10, 15–20, 20–25, 25–30 (the 10–15 class is missing). We take the classes as 0–5, 5–10, 10–15 (f = 0), 15–20, 20–25, 25–30 with mid-points 2.5, 7.5, 12.5, 17.5, 22.5, 27.5; N = 30.

Classfx (mid)fxc.f.
0–562.5156
5–1057.537.511
10–15012.5011
15–201017.517521
20–25622.513527
25–30327.582.530
Total30445
  • Mean x̄ = 445/30 = 14.83 thousand.
  • Median: N/2 = 15 → class 15–20: 15 + (15 − 11)/10 × 5 = 17.0.
  • Mode: modal class 15–20 (f1 = 10, f0 = 0, f2 = 6): 15 + (10 − 0)/(20 − 0 − 6) × 5 = 18.57.
  • Mean deviation from median = Σf|x − 17|/N = 204/30 = 6.80.
  • Mean deviation from mode = Σf|x − 18.57|/N = 7.10.
  • σ = √(Σfx²/N − x̄²) = √(8687.5/30 − 14.83²) = 8.34; CV = 8.34/14.83 × 100 = 56.2%.

All numerical answers were checked in Python (SymPy/SciPy).

Q3 – Dice

(a) 36 outcomes. I) sum 7: (1,6),(2,5),(3,4),(4,3),(5,2),(6,1) → 6/36 = 1/6. II) sum < 4: (1,1),(1,2),(2,1) → 3/36 = 1/12. III) double 6: 1/36.

(b) I) odd or even: every face is odd or even → P = 1. II) prime face {2, 3, 5}: 3/6 = 1/2.

Q4 – Continuous random variable and binomial

(a) ∫04(½ − Ax)dx = 2 − 8A = 1 ⇒ A = 1/8, f(x) = ½ − x/8 (non-negative on 0 ≤ x ≤ 4). Distribution function: F(x) = 0 for x < 0; F(x) = x/2 − x²/16 for 0 ≤ x ≤ 4; F(x) = 1 for x > 4.

(b) n = 5, p = 0.22, q = 0.78: P(0) = 0.2887, P(1) = 0.4072, P(2) = 0.2297, P(3) = 0.0648, P(4) = 0.0091, P(5) = 0.0005.

  • I) P(X ≥ 4) = 0.0091 + 0.0005 = 0.0097
  • II) P(X > 2) = 0.0648 + 0.0091 + 0.0005 = 0.0744
  • III) P(X ≤ 1) = 0.2887 + 0.4072 = 0.6959

All numerical answers were checked in Python (SymPy/SciPy).

Q5 – Expectation

E(X) = 5(0.05) + 6(0.40) + 7(0.10) + 8(0.25) + 9(0.05) + 10(0.15) = 7.30.

E(X²) = 25(0.05) + 36(0.40) + 49(0.10) + 64(0.25) + 81(0.05) + 100(0.15) = 55.60 (so Var(X) = 55.6 − 7.3² = 2.31).

Y = 4X + 2 takes the values 22, 26, 30, 34, 38, 42 with the same probabilities 0.05, 0.40, 0.10, 0.25, 0.05, 0.15. E(Y) = 4(7.3) + 2 = 31.2.

Q6 – Missing height, mode and SD

Sum of 10 heights = 10 × 100 = 1000 cm. Sum of the nine = 962, so the 10th student = 1000 − 962 = 38 cm (an unusual value, but it is what the data give).

Data: 101, 125, 98, 128, 90, 95, 98, 118, 109, 38. Mode = 98 (occurs twice). Mean = 100; Σ(x − 100)² = 5792; σ = √(5792/10) = 24.07 cm (sample SD with n − 1: 25.37).

All numerical answers were checked in Python (SymPy/SciPy).

Q7 – Normal distribution

  • 1) P(0 < Z < 1.5) = 0.9332 − 0.5 = 0.4332
  • 2) P(−0.8 < Z < 1.2) = 0.2881 + 0.3849 = 0.6730
  • 3) P(0.51 < Z < 1.26) = 0.3962 − 0.1950 = 0.2012

(b) μ = 5, σ = √25 = 5. I) P(−10 < X < 20) = P(−3 < Z < 3) = 0.9973. II) P(5 < X < 10) = P(0 < Z < 1) = 0.3413.

Diagram: draw the bell curve with the mean at the centre and shade the area between the two z-values; read each area from the standard normal table.

All numerical answers were checked in Python (SymPy/SciPy).

Save this paper for offline studyDownload the question paper, or save the paper together with all solved answers as a PDF.
↓ Download Paper (JPG)

About Saif R

An educator and technology enthusiast passionate about empowering students through quality education and digital learning. Dedicated to making academic resources and opportunities accessible to everyone.