Skip to main content

Chapter 4

Probability and Statistics

PU BCA past exam questions

Past questions and answers

57 questions set from this chapter, 7 of them more than once; 3 are most repeated (set, or a close variant set, in 3 or more exams). Most repeated first.

  • Most repeated · 3 of 5 exams
  • Asked 3 times
  • 2025 Spring · 5 marks
  • 2024 Spring · 5 marks
  • 2023 Spring · 5 marks

Write short notes on: Difference between Primary and Secondary data

Answer

Primary data are data collected first-hand by the investigator for the specific purpose of the study (e.g. through questionnaires, interviews, observation or experiments). Secondary data are data that were already collected by someone else for another purpose and are now used by the investigator (e.g. census reports, government publications, journals, websites).

BasisPrimary dataSecondary data
SourceCollected directly from the fieldTaken from existing published/unpublished sources
OriginalityOriginal and freshAlready processed; second-hand
PurposeCollected for the present problemCollected for some other purpose
Cost and timeCostly and time-consumingCheap and quick
Accuracy and suitabilityReliable and exactly suited to the needMay be outdated or unsuitable; needs checking
MethodsSurvey, interview, observation, experimentReports, books, records, internet
ControlInvestigator controls qualityNo control over quality
ExampleA survey of students' study hoursPopulation data from the Nepal census

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • Most repeated · 3 of 5 exams
  • Asked 2 times
  • 2024 Spring · 8 marks
  • 2023 Spring · 8 marks

The following data represent the income distribution of one hundred workers (income in thousands: 0-20, 20-40, 40-60, 60-80, 80-100; frequencies in the paper).
Find:
i. The income limits of middle 30% workers. ii. The highest income of the poorest 25% of the workers.

Similar questions: Income distribution: middle 50%, poorest 20% (2025 Spring)

Answer

Here N=100N = 100 workers, with classes 0-20, 20-40, 40-60, 60-80, 80-100 (income in thousands). Form the cumulative frequency (cf) column from the frequencies given in the paper and use

Pk=L+kN100−cff×h,h=20P_k = L + \frac{\dfrac{kN}{100} - cf}{f}\times h, \qquad h = 20

where LL is the lower limit of the percentile class, cfcf the cumulative frequency before that class and ff its frequency.

(i) Income limits of the middle 30% of workers. Of the remaining 70%, 35% lie below and 35% above, so the middle 30% lie between P35P_{35} and P65P_{65}.

P35=L+35−cff×20,P65=L′+65−cf′f′×20P_{35} = L + \frac{35 - cf}{f}\times 20, \qquad P_{65} = L' + \frac{65 - cf'}{f'}\times 20

The class of P35P_{35} is the first class whose cumulative frequency is at least 35, and the class of P65P_{65} is the first class whose cumulative frequency is at least 65. The middle 30% of workers earn between P35P_{35} and P65P_{65} thousand rupees.

(ii) Highest income of the poorest 25% of the workers. This is the first quartile:

Q1=P25=L+25−cff×20Q_1 = P_{25} = L + \frac{25 - cf}{f}\times 20

where the class is the first one whose cumulative frequency is at least 25. The poorest 25% have incomes up to Q1Q_1 thousand rupees.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • Most repeated · 3 of 5 exams
  • 2025 Spring · 8 marks

The following data represent the income distribution of one hundred workers (income in thousands: 0-20, 20-40, 40-60, 60-80, 80-100; frequencies in the paper).
Find:
i. The income limits of middle 50% workers. ii. The highest income of the poorest 20% of the workers.

Similar questions: Income distribution: middle 30%, poorest 25% (2024 Spring)

Answer

Here N=100N = 100 workers, with classes 0-20, 20-40, 40-60, 60-80, 80-100 (income in thousands). Form the cumulative frequency (cf) column from the frequencies given in the paper, and use the percentile formula

Pk=L+kN100−cff×hP_k = L + \frac{\dfrac{kN}{100} - cf}{f}\times h

where LL is the lower limit of the percentile class, cfcf the cumulative frequency before it, ff its frequency and h=20h = 20.

(i) Income limits of the middle 50% of workers. The middle 50% lie between the first quartile Q1=P25Q_1 = P_{25} and the third quartile Q3=P75Q_3 = P_{75}.

Q1=L1+25−cf1f1×20,Q3=L3+75−cf3f3×20Q_1 = L_1 + \frac{25 - cf_1}{f_1}\times 20, \qquad Q_3 = L_3 + \frac{75 - cf_3}{f_3}\times 20

where the class of Q1Q_1 is the first class whose cf is at least 25, and the class of Q3Q_3 is the first class whose cf is at least 75. The middle 50% of the workers have incomes between Q1Q_1 and Q3Q_3 thousand rupees.

(ii) Highest income of the poorest 20%. This is the 20th percentile:

P20=L+20−cff×20P_{20} = L + \frac{20 - cf}{f}\times 20

where the class is the first one whose cf is at least 20. Workers with income up to P20P_{20} thousand form the poorest 20%.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • Asked 2 times
  • 2025 Spring · 7 marks
  • 2025 Spring · 7 marks
  • 2023 Spring · 7 marks

The following are the numbers of minutes that a person had to wait for the bus to work on 15 working days: 10, 1, 13, 9, 5, 9, 2, 10, 3, 8, 6, 17, 2, 10, 15. Draw a box plot and interpret the result.

Answer

Ordered data (n = 15): 1, 2, 2, 3, 5, 6, 8, 9, 9, 10, 10, 10, 13, 15, 17

Five-number summary

  • Minimum =1= 1, maximum =17= 17
  • Median Q2Q_2 = 8th value =9= 9
  • Lower quartile Q1Q_1 = median of the lower seven values (1, 2, 2, 3, 5, 6, 8) =3= 3
  • Upper quartile Q3Q_3 = median of the upper seven values (9, 10, 10, 10, 13, 15, 17) =10= 10
  • Interquartile range IQR=10−3=7IQR = 10 - 3 = 7

Outlier check (fences):

Q1−1.5 IQR=3−10.5=−7.5,Q3+1.5 IQR=10+10.5=20.5Q_1 - 1.5\,IQR = 3 - 10.5 = -7.5, \qquad Q_3 + 1.5\,IQR = 10 + 10.5 = 20.5

All values lie between −7.5-7.5 and 20.520.5, so there are no outliers.

Drawing the box plot. On a horizontal scale from 0 to 18 minutes:

  1. Draw a box from Q1=3Q_1 = 3 to Q3=10Q_3 = 10.
  2. Draw a vertical line inside the box at the median =9= 9.
  3. Draw whiskers from the box to the minimum 11 (left) and to the maximum 1717 (right).

Interpretation

  • The middle 50% of waiting times lie between 3 and 10 minutes; the typical wait (median) is 9 minutes.
  • The median is close to Q3Q_3 (distance 1) and far from Q1Q_1 (distance 6), and the left whisker/box part is longer than the upper box part. This shows the central data are bunched at the higher values with a longer tail towards short waits, i.e. the distribution is slightly negatively (left) skewed.
  • The waits range from 1 to 17 minutes (range 16), so the waiting time is quite variable, but there are no extreme values.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • Asked 2 times
  • 2025 Spring · 7 marks
  • 2023 Spring · 8 marks

A problem in statistics is given to three students A, B and C whose chances of solving it are given in the paper. Find the probability that
i. The problem will solved. ii. Only one of them can solve the problem. iii. None of them will solve the problem.

Answer

Let the chances of solving the problem be P(A)=pAP(A) = p_A, P(B)=pBP(B) = p_B, P(C)=pCP(C) = p_C as given in the paper. The students work independently, so the probabilities of failing are qA=1−pAq_A = 1-p_A, qB=1−pBq_B = 1-p_B, qC=1−pCq_C = 1-p_C.

(i) The problem will be solved (at least one solves it):

P(solved)=1−P(none solves)=1−qAqBqCP(\text{solved}) = 1 - P(\text{none solves}) = 1 - q_A q_B q_C

(ii) Only one of them solves it (exactly one succeeds, the others fail):

P=pAqBqC+qApBqC+qAqBpCP = p_A q_B q_C + q_A p_B q_C + q_A q_B p_C

(iii) None of them solves it:

P=qAqBqC=(1−pA)(1−pB)(1−pC)P = q_A q_B q_C = (1-p_A)(1-p_B)(1-p_C)

Worked case (chances 12,13,14\tfrac12, \tfrac13, \tfrac14): qA=12, qB=23, qC=34q_A = \tfrac12,\ q_B = \tfrac23,\ q_C = \tfrac34.

(iii) P=12⋅23⋅34=14=0.25P = \frac12\cdot\frac23\cdot\frac34 = \frac14 = 0.25

(i) P=1−14=34=0.75P = 1 - \frac14 = \frac34 = 0.75

(ii) P=12⋅23⋅34+12⋅13⋅34+12⋅23⋅14=624+324+224=1124=0.4583P = \frac12\cdot\frac23\cdot\frac34 + \frac12\cdot\frac13\cdot\frac34 + \frac12\cdot\frac23\cdot\frac14 = \frac{6}{24}+\frac{3}{24}+\frac{2}{24} = \frac{11}{24} = 0.4583

Substitute the chances printed in the paper in the same formulas to get the required values.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • Asked 2 times
  • 2025 Spring · 7 marks
  • 2023 Spring · 7 marks

The marks in statistics of 300 students are recorded in the following table:
Marks20-3030-4040-5050-6060-7070-8080-90
No. of std.20305060803525
Draw histogram frequency polygon and frequency curve.

Answer

All classes have the same width h=10h = 10, so the bar heights are simply the frequencies.

MarksMid-valueFrequency
20-302520
30-403530
40-504550
50-605560
60-706580
70-807535
80-908525
Total300

Histogram. Take marks on the X-axis (20 to 90) and number of students on the Y-axis (0 to 80). Draw adjacent rectangles on each class with heights 20, 30, 50, 60, 80, 35, 25. The tallest bar is the class 60-70.

Frequency polygon. Plot the points (25, 20), (35, 30), (45, 50), (55, 60), (65, 80), (75, 35), (85, 25), i.e. the mid-value against the frequency, and join them by straight lines. Close the polygon by adding the points (15, 0) and (95, 0) on the X-axis.

Frequency curve. Draw a smooth free-hand curve through the polygon points, starting at (15, 0) and ending at (95, 0). The curve rises to a peak near the marks 60-70 and then falls, showing that the distribution is unimodal and slightly skewed to the left (a longer tail towards lower marks).

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • Asked 2 times
  • 2025 Spring · 8 marks
  • 2024 Spring · 8 marks

A factory has 3 units A, B and C. A produces 25% of its products, unit B produces 25% and the unit C produces 50%. If the percentage of defective items produced by three units A, B and C respectively 1%, 2% and 3% and an item selected randomly from the total production of the factory is found to be defective. What is the probability that it is produced by the unit C?

Answer

Let A,B,CA, B, C denote production from units A, B, C and DD a defective item.

P(A)=0.25, P(B)=0.25, P(C)=0.50;P(D∣A)=0.01, P(D∣B)=0.02, P(D∣C)=0.03P(A) = 0.25,\ P(B) = 0.25,\ P(C) = 0.50; \quad P(D|A) = 0.01,\ P(D|B) = 0.02,\ P(D|C) = 0.03

Total probability of a defective item:

P(D)=0.25(0.01)+0.25(0.02)+0.50(0.03)=0.0025+0.005+0.015=0.0225P(D) = 0.25(0.01) + 0.25(0.02) + 0.50(0.03) = 0.0025 + 0.005 + 0.015 = 0.0225

By Bayes' theorem:

P(C∣D)=P(C)P(D∣C)P(D)=0.0150.0225=23≈0.667P(C|D) = \frac{P(C)P(D|C)}{P(D)} = \frac{0.015}{0.0225} = \frac23 \approx 0.667

The probability that the defective item was produced by unit C is 2/3 (about 66.7%).

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • Asked 2 times
  • 2025 Spring · 8 marks
  • 2024 Spring · 7 marks

BCA students were selected by a big organization. They were given an IQ test immediately after selection and their scores out of 50 were noted. A two month training was arranged for them and on completion IQ test was again given and score recorded:
Students12345678910
IQ Score (Before)31352538404540381830
IQ Score (After)32303237383742402735
On the basis of these results, can it be concluded that the training has benefitted the students?

Answer

Let d=d = after −- before:

Student12345678910
dd1-57-1-2-82295

n=10n = 10, ∑d=10\sum d = 10, ∑d2=1+25+49+1+4+64+4+4+81+25=258\sum d^2 = 1+25+49+1+4+64+4+4+81+25 = 258.

dˉ=1,sd=258−10(1)29=27.56=5.25\bar d = 1, \qquad s_d = \sqrt{\frac{258 - 10(1)^2}{9}} = \sqrt{27.56} = 5.25

Hypotheses. H0:μd=0H_0: \mu_d = 0 (training has not benefited); H1:μd>0H_1: \mu_d > 0 (training has benefited). One-tailed.

Test statistic.

t=dˉsd/n=15.25/10=11.66=0.60t = \frac{\bar d}{s_d/\sqrt n} = \frac{1}{5.25/\sqrt{10}} = \frac{1}{1.66} = 0.60

Critical value. α=0.05\alpha = 0.05, d.f. =9= 9: t0.05=1.833t_{0.05} = 1.833.

Decision. 0.60<1.8330.60 < 1.833, so H0H_0 is not rejected.

Conclusion. At the 5% level the data do not show that the training has significantly improved the IQ scores, so it cannot be concluded that the students benefited from the training.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 7 marks

From a population of 540, a sample of 60 individuals is taken. From this sample, the mean is found to be 6.2 and standard deviation 1.368.
i. Find the estimated standard error of mean. ii. Construct a 95% confidence interval for the mean.

Similar questions: Standard error and 95% CI (N=500, n=50) (2024 Spring)

Answer

Given N=540N = 540, n=60n = 60, xˉ=6.2\bar x = 6.2, s=1.368s = 1.368. The sample is large and taken without replacement from a finite population, so the finite population correction (FPC) is used since n/N=0.11>0.05n/N = 0.11 > 0.05.

(i) Estimated standard error of the mean:

SE(xˉ)=snN−nN−1=1.36860480539=0.1766×0.9437=0.1667SE(\bar x) = \frac{s}{\sqrt n}\sqrt{\frac{N-n}{N-1}} = \frac{1.368}{\sqrt{60}}\sqrt{\frac{480}{539}} = 0.1766\times0.9437 = 0.1667

(ii) 95% confidence interval for the mean (z=1.96z = 1.96):

xˉ±1.96 SE=6.2±1.96(0.1667)=6.2±0.327\bar x \pm 1.96\,SE = 6.2 \pm 1.96(0.1667) = 6.2 \pm 0.327

5.873<μ<6.5275.873 < \mu < 6.527

We are 95% confident that the population mean lies between 5.87 and 6.53.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2024 Spring · 8 marks

From a population of 500, a sample of 50 individuals is taken. From this sample, the mean is found to be 15 and standard deviation 10.
i. Find the estimated standard error of the mean. ii. Construct 95% confidence interval for mean.

Similar questions: Standard error of mean, 95% CI (N=540, n=60) (2025 Spring)

Answer

Given N=500N = 500, n=50n = 50, xˉ=15\bar x = 15, s=10s = 10. Since n/N=0.10>0.05n/N = 0.10 > 0.05, the finite population correction is applied.

(i) Estimated standard error of the mean:

SE(xˉ)=snN−nN−1=1050450499=1.4142×0.9496=1.343SE(\bar x) = \frac{s}{\sqrt n}\sqrt{\frac{N-n}{N-1}} = \frac{10}{\sqrt{50}}\sqrt{\frac{450}{499}} = 1.4142\times0.9496 = 1.343

(ii) 95% confidence interval for the mean (z=1.96z = 1.96):

xˉ±1.96 SE=15±1.96(1.343)=15±2.63\bar x \pm 1.96\,SE = 15 \pm 1.96(1.343) = 15 \pm 2.63

12.37<μ<17.6312.37 < \mu < 17.63

The 95% confidence interval for the population mean is (12.37, 17.63).

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 7 marks

The weekly salaries of 84 workers in a factory are given in a frequency table in the paper (salary classes 300-310, 310-320, 320-330, 330-350, 350-370, 370-410). Construct a histogram, frequency polygon and frequency curve.

Answer

Step 1: Prepare the table. The classes are 300-310, 310-320, 320-330, 330-350, 350-370 and 370-410, so the widths are unequal (10, 10, 10, 20, 20, 40). For a histogram with unequal class widths the bar area must be proportional to frequency, so we plot the adjusted frequency (frequency density) taking the smallest width h0=10h_0 = 10 as the standard:

adjusted frequency=f×h0h=f×10class width\text{adjusted frequency} = f \times \frac{h_0}{h} = f \times \frac{10}{\text{class width}}

ClassWidth hhFrequency ffAdjusted f×10/hf \times 10/hMid-value
300-31010f1f_1f1f_1305
310-32010f2f_2f2f_2315
320-33010f3f_3f3f_3325
330-35020f4f_4f4/2f_4/2340
350-37020f5f_5f5/2f_5/2360
370-41040f6f_6f6/4f_6/4390

with f1+⋯+f6=84f_1 + \dots + f_6 = 84 (use the frequencies printed in the paper).

(a) Histogram.

  • Draw the weekly salary (Rs) on the X-axis with a continuous scale from 300 to 410, and the adjusted frequency on the Y-axis.
  • Draw adjacent rectangles with no gaps; the base of each is its class interval and the height is its adjusted frequency.
  • Label the axes and give the title "Weekly salaries of 84 workers".

(b) Frequency polygon.

  • Mark a point above each class mid-value at the height of the corresponding bar.
  • Join the points by straight lines.
  • Close the polygon by adding one empty class at each end (mid-values 295 and 400 with height 0) and joining to them on the X-axis.

(c) Frequency curve.

  • Smooth the frequency polygon with a free-hand curve through (or very near) the same points, starting and ending on the X-axis. The curve removes the angularity of the polygon and shows the general shape of the distribution, which is roughly a single-peaked, right-tailed curve for salary data.

The area under the histogram, the polygon and the curve are all approximately equal to the total frequency, 84.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 8 marks

The following marks distribution was obtained.
Marks0-2020-4040-6060-8080-100
No. of Students1030363014
Find:
i. The limits of marks of middle 40% students. ii. The percentage of students getting marks more than 75. iii. The number of students who fail, if 35 marks are required for passing.

Answer

Total students N=10+30+36+30+14=120N = 10+30+36+30+14 = 120.

MarksffCumulative frequency
0-201010
20-403040
40-603676
60-8030106
80-10014120

(i) Limits of the middle 40% of students. The middle 40% lie between P30P_{30} and P70P_{70} (30% below and 30% above).

P30P_{30}: position =30×120100=36= \frac{30 \times 120}{100} = 36, which falls in the class 20-40 (cf before = 10, f=30f = 30).

P30=20+36−1030×20=20+17.33=37.33P_{30} = 20 + \frac{36-10}{30}\times 20 = 20 + 17.33 = 37.33

P70P_{70}: position =70×120100=84= \frac{70\times120}{100} = 84, which falls in the class 60-80 (cf before = 76, f=30f = 30).

P70=60+84−7630×20=60+5.33=65.33P_{70} = 60 + \frac{84-76}{30}\times 20 = 60 + 5.33 = 65.33

So the middle 40% of students got marks between 37.33 and 65.33.

(ii) Percentage getting more than 75 marks. Marks 75 lie in the class 60-80. Students above 75 in this class =80−7520×30=7.5= \frac{80-75}{20}\times 30 = 7.5. Adding the class 80-100:

7.5+14=21.5 students,21.5120×100=17.92%7.5 + 14 = 21.5 \text{ students}, \qquad \frac{21.5}{120}\times 100 = 17.92\%

(iii) Number who fail (below 35). The class 20-40 contains marks 35. Students from 20 to 35 =35−2020×30=22.5= \frac{35-20}{20}\times 30 = 22.5. Adding the class 0-20:

10+22.5=32.5≈33 students10 + 22.5 = 32.5 \approx 33 \text{ students}

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 8 marks

A factory has 3 units A, B and C. A produces 25% of its products, B produces 25% and C produces 50%. The percentage of defective items produced by these units A, B and C are 1%, 2% and 3% respectively. If one of them is selected randomly from the total and found to be defective, what is the probability that it is produced by the machine A, B and C?

Answer

Let A,B,CA, B, C be the events that the item is from unit A, B, C, and DD the event that it is defective.

P(A)=0.25,  P(B)=0.25,  P(C)=0.50P(A) = 0.25,\; P(B) = 0.25,\; P(C) = 0.50 P(D∣A)=0.01,  P(D∣B)=0.02,  P(D∣C)=0.03P(D|A) = 0.01,\; P(D|B) = 0.02,\; P(D|C) = 0.03

Total probability of a defective item:

P(D)=0.25(0.01)+0.25(0.02)+0.50(0.03)=0.0025+0.005+0.015=0.0225P(D) = 0.25(0.01) + 0.25(0.02) + 0.50(0.03) = 0.0025 + 0.005 + 0.015 = 0.0225

By Bayes' theorem, P(X∣D)=P(X)P(D∣X)P(D)P(X|D) = \dfrac{P(X)P(D|X)}{P(D)}:

P(A∣D)=0.00250.0225=19=0.1111P(A|D) = \frac{0.0025}{0.0225} = \frac{1}{9} = 0.1111

P(B∣D)=0.0050.0225=29=0.2222P(B|D) = \frac{0.005}{0.0225} = \frac{2}{9} = 0.2222

P(C∣D)=0.0150.0225=69=0.6667P(C|D) = \frac{0.015}{0.0225} = \frac{6}{9} = 0.6667

Check: 0.1111+0.2222+0.6667=10.1111 + 0.2222 + 0.6667 = 1. A defective item is most likely to have come from unit C.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 8 marks

State and prove Baye's theorem.

Answer

Statement. Let E1,E2,…,EnE_1, E_2, \dots, E_n be mutually exclusive and exhaustive events (a partition of the sample space SS) with P(Ei)>0P(E_i) > 0, and let AA be any event with P(A)>0P(A) > 0 that can occur only with one of the EiE_i. Then the probability that AA occurred through the cause EiE_i is

P(Ei∣A)=P(Ei) P(A∣Ei)∑j=1nP(Ej) P(A∣Ej),i=1,2,…,nP(E_i|A) = \frac{P(E_i)\,P(A|E_i)}{\sum_{j=1}^{n} P(E_j)\,P(A|E_j)}, \qquad i = 1, 2, \dots, n

Proof. Since E1,…,EnE_1, \dots, E_n are exhaustive, A=(A∩E1)∪(A∩E2)∪⋯∪(A∩En)A = (A\cap E_1) \cup (A\cap E_2) \cup \dots \cup (A\cap E_n). These parts are mutually exclusive because the EiE_i are, so by the addition law

P(A)=∑j=1nP(A∩Ej)P(A) = \sum_{j=1}^{n} P(A\cap E_j)

By the multiplication law, P(A∩Ej)=P(Ej) P(A∣Ej)P(A\cap E_j) = P(E_j)\,P(A|E_j), hence

P(A)=∑j=1nP(Ej) P(A∣Ej)(theorem of total probability)P(A) = \sum_{j=1}^{n} P(E_j)\,P(A|E_j) \quad \text{(theorem of total probability)}

By the definition of conditional probability,

P(Ei∣A)=P(Ei∩A)P(A)=P(Ei) P(A∣Ei)P(A)P(E_i|A) = \frac{P(E_i\cap A)}{P(A)} = \frac{P(E_i)\,P(A|E_i)}{P(A)}

Substituting the value of P(A)P(A) gives

P(Ei∣A)=P(Ei) P(A∣Ei)∑j=1nP(Ej) P(A∣Ej)P(E_i|A) = \frac{P(E_i)\,P(A|E_i)}{\sum_{j=1}^{n} P(E_j)\,P(A|E_j)}

which proves the theorem. Here P(Ei)P(E_i) are the prior probabilities, P(A∣Ei)P(A|E_i) the likelihoods and P(Ei∣A)P(E_i|A) the posterior probabilities.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 8 marks

In a binomial distribution with 6 independent trials the probabilities of 3 and 4 successes are found to be 0.2457 and 0.0819. Find parameter p and q.

Answer

For n=6n = 6: P(X=r)=(6r)prq6−rP(X=r) = \binom{6}{r}p^r q^{6-r}, with q=1−pq = 1-p.

Given P(3)=0.2457P(3) = 0.2457 and P(4)=0.0819P(4) = 0.0819. Dividing,

P(4)P(3)=(64)p4q2(63)p3q3=1520⋅pq=34⋅pq\frac{P(4)}{P(3)} = \frac{\binom{6}{4}p^4q^2}{\binom{6}{3}p^3q^3} = \frac{15}{20}\cdot\frac{p}{q} = \frac34\cdot\frac pq

0.08190.2457=13  ⇒  34⋅pq=13  ⇒  pq=49\frac{0.0819}{0.2457} = \frac13 \;\Rightarrow\; \frac34\cdot\frac pq = \frac13 \;\Rightarrow\; \frac pq = \frac49

Since p+q=1p + q = 1:

p=44+9=413≈0.308,q=913≈0.692p = \frac{4}{4+9} = \frac{4}{13} \approx 0.308, \qquad q = \frac{9}{13} \approx 0.692

So the parameters are p=4/13≈0.31p = 4/13 \approx 0.31 and q=9/13≈0.69q = 9/13 \approx 0.69.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 7 marks

If a sample mean is 20, standard deviation is 3 and sample size is 64. Find the interval estimate of the population mean. (α=5%\alpha = 5\%).

Answer

Given xˉ=20\bar x = 20, s=3s = 3, n=64n = 64 (a large sample), α=0.05\alpha = 0.05.

Standard error:

SE=sn=364=38=0.375SE = \frac{s}{\sqrt n} = \frac{3}{\sqrt{64}} = \frac38 = 0.375

At the 5% level, zα/2=1.96z_{\alpha/2} = 1.96. The 95% confidence interval for the population mean is

xˉ±zα/2 SE=20±1.96(0.375)=20±0.735\bar x \pm z_{\alpha/2}\,SE = 20 \pm 1.96(0.375) = 20 \pm 0.735

19.265<μ<20.73519.265 < \mu < 20.735

We are 95% confident that the population mean lies between 19.27 and 20.74.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 8 marks

A set of examination marks is approximately normally distributed with a mean of 75 and standard deviation of 5. If the top 5% of students get grade A and the 25% get grade F, what mark is the lowest A and what mark is highest F?

Answer

Marks X∼N(μ=75, σ=5)X \sim N(\mu = 75,\ \sigma = 5).

Lowest mark for grade A (top 5%). The area to the right of the cut-off is 0.050.05, so the area to the left is 0.950.95 and z=1.645z = 1.645.

XA=μ+zσ=75+1.645(5)=75+8.225=83.2X_A = \mu + z\sigma = 75 + 1.645(5) = 75 + 8.225 = 83.2

The lowest A is about 83.2 marks (i.e. 83 or 84 marks).

Highest mark for grade F (bottom 25%). The area to the left of the cut-off is 0.250.25, so z=−0.674z = -0.674.

XF=75−0.674(5)=75−3.37=71.63X_F = 75 - 0.674(5) = 75 - 3.37 = 71.63

The highest F is about 71.6 marks (i.e. 71 or 72 marks).

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 7 marks

A random sample of 100 items taken from a large batch of articles contain 5 defective items. Set up 95% and 99% confidence limits for the proportion of defective items in the batch.

Answer

Sample proportion p^=5100=0.05\hat p = \frac{5}{100} = 0.05, q^=0.95\hat q = 0.95, n=100n = 100.

Standard error:

SE=p^q^n=0.05×0.95100=0.000475=0.0218SE = \sqrt{\frac{\hat p\hat q}{n}} = \sqrt{\frac{0.05\times0.95}{100}} = \sqrt{0.000475} = 0.0218

95% limits (z=1.96z = 1.96):

0.05±1.96(0.0218)=0.05±0.0427  ⇒  (0.0073, 0.0927)0.05 \pm 1.96(0.0218) = 0.05 \pm 0.0427 \;\Rightarrow\; (0.0073,\ 0.0927)

99% limits (z=2.576z = 2.576):

0.05±2.576(0.0218)=0.05±0.0561  ⇒  (−0.0061, 0.1061)0.05 \pm 2.576(0.0218) = 0.05 \pm 0.0561 \;\Rightarrow\; (-0.0061,\ 0.1061)

Since a proportion cannot be negative, the 99% interval is (0, 0.1061)(0,\ 0.1061).

Hence the proportion of defective items in the batch lies between about 0.7% and 9.3% (95% confidence) and between 0% and 10.6% (99% confidence).

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 7 marks

Explain the difference between the probability sampling and non-probability sampling

Answer

Probability (random) sampling is a method in which every unit of the population has a known, non-zero chance of being selected, and the selection is made by chance. Non-probability sampling is a method in which units are selected by the judgement, convenience or choice of the investigator, so the chance of selection is unknown.

BasisProbability samplingNon-probability sampling
SelectionBy chance (random mechanism)By personal judgement or convenience
Chance of selectionKnown and non-zero for each unitUnknown; some units may have no chance
BiasFree from investigator's biasBias is likely
RepresentativenessSample is generally representativeMay not be representative
Sampling errorCan be measured and controlledCannot be measured
GeneralisationValid statistical inference to the populationResults cannot be reliably generalised
Cost and timeMore costly and time-consuming; needs a sampling frameCheap, quick and easy
TypesSimple random, systematic, stratified, cluster, multistageConvenience, judgement (purposive), quota, snowball
UseLarge, formal studies needing accuracyPilot studies, exploratory work, when no frame exists

Example: drawing 50 students by lottery from a list of 500 is probability sampling; interviewing the first 50 students met at the college gate is non-probability (convenience) sampling.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 8 marks

A manufacturer claims that the mean life of batteries manufactured by his company is 44 months. A random sample of 40 of these batteries was tested, resulting in a sample mean life of 41 months with a sample standard deviation of 9 months. Test at α=0.05\alpha = 0.05.

Answer

Given μ0=44\mu_0 = 44, n=40n = 40, xˉ=41\bar x = 41, s=9s = 9, α=0.05\alpha = 0.05. The sample is large (n≥30n \ge 30), so the zz-test is used.

Step 1: Hypotheses. H0:μ=44H_0: \mu = 44 (the claim is true) H1:μ≠44H_1: \mu \ne 44 (two-tailed)

Step 2: Level of significance. α=0.05\alpha = 0.05; critical values z=±1.96z = \pm 1.96.

Step 3: Test statistic.

z=xˉ−μ0s/n=41−449/40=−31.423=−2.11z = \frac{\bar x - \mu_0}{s/\sqrt n} = \frac{41-44}{9/\sqrt{40}} = \frac{-3}{1.423} = -2.11

Step 4: Decision. ∣z∣=2.11>1.96|z| = 2.11 > 1.96, so H0H_0 is rejected at the 5% level.

Conclusion. The sample provides significant evidence that the mean life of the batteries is not 44 months; the manufacturer's claim is not supported (the sample suggests the mean life is lower). (Using the tt-distribution with 39 d.f., the critical value is about 2.02 and the conclusion is the same.)

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 7 marks

The following are the average weekly losses of worker-hours due to accidents in 10 industrial plants before and after a certain safety program was put into operation (Before and After values are given in a table in the paper; Before values include 45, 73, 46, 124, 33, 57, 83, 34, 26, 17).
Use the 0.05 level of significance to test whether the safety program is effective?

Answer

Let d=d = before −- after (reduction in worker-hours lost).

Plant12345678910
Before457346124335783342617
After366044119355177292411
dd91325-266526

n=10n = 10, ∑d=52\sum d = 52, ∑d2=81+169+4+25+4+36+36+25+4+36=420\sum d^2 = 81+169+4+25+4+36+36+25+4+36 = 420.

dˉ=5210=5.2,sd=420−10(5.2)29=149.69=4.077\bar d = \frac{52}{10} = 5.2, \qquad s_d = \sqrt{\frac{420 - 10(5.2)^2}{9}} = \sqrt{\frac{149.6}{9}} = 4.077

Hypotheses. H0:μd=0H_0: \mu_d = 0 (the programme is not effective); H1:μd>0H_1: \mu_d > 0 (it reduces the losses). One-tailed.

Test statistic.

t=dˉsd/n=5.24.077/10=5.21.289=4.03t = \frac{\bar d}{s_d/\sqrt n} = \frac{5.2}{4.077/\sqrt{10}} = \frac{5.2}{1.289} = 4.03

Critical value. t0.05t_{0.05} with 99 d.f. =1.833= 1.833.

Decision. 4.03>1.8334.03 > 1.833, so H0H_0 is rejected.

Conclusion. At the 0.05 level the safety programme is effective in reducing the loss of worker-hours.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 8 marks

In an investigation into eye color and left-or-right-handedness the following results were obtained (table of counts for Blue and Brown eyes by Left and Right handedness in the paper). Is there evidence, at the 5% level of significance, an association between eye color and left-or-right-handedness.

Answer

Arrange the observed counts in a 2×22\times2 table:

Left-handedRight-handedTotal
Blue eyesaabba+ba+b
Brown eyesccddc+dc+d
Totala+ca+cb+db+dNN

(Use the counts printed in the paper for a,b,c,da, b, c, d.)

Hypotheses. H0H_0: eye colour and handedness are independent (no association). H1H_1: they are associated.

Expected frequencies. For each cell, E=row total×column totalNE = \dfrac{\text{row total}\times\text{column total}}{N}, e.g. Ea=(a+b)(a+c)NE_a = \dfrac{(a+b)(a+c)}{N}.

Test statistic.

χ2=∑(O−E)2E=N(ad−bc)2(a+b)(c+d)(a+c)(b+d)(d.f.=1)\chi^2 = \sum\frac{(O-E)^2}{E} = \frac{N(ad-bc)^2}{(a+b)(c+d)(a+c)(b+d)} \quad (\text{d.f.} = 1)

Critical value. d.f. =(2−1)(2−1)=1= (2-1)(2-1) = 1, so χ0.052=3.841\chi^2_{0.05} = 3.841.

Decision. If the calculated χ2>3.841\chi^2 > 3.841, reject H0H_0: there is evidence of an association between eye colour and handedness at the 5% level. If χ2≤3.841\chi^2 \le 3.841, accept H0H_0: there is no evidence of association, i.e. the two attributes are independent.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 7 marks

Calculate Spearman's correlation coefficient from the data given in the paper.

Answer

Method. Spearman's rank correlation coefficient measures the strength of the relation between two variables from their ranks.

Steps.

  1. Rank the values of XX (RxR_x) and of YY (RyR_y), giving rank 1 to the largest (or smallest) value in both.
  2. Find d=Rx−Ryd = R_x - R_y for each pair and then d2d^2 and ∑d2\sum d^2.
  3. Apply the formula, with nn the number of pairs:

rs=1−6∑d2n(n2−1)r_s = 1 - \frac{6\sum d^2}{n(n^2-1)}

  1. If some values are tied, give each the average of the ranks they occupy and add a correction m(m2−1)12\dfrac{m(m^2-1)}{12} for each group of mm tied values to ∑d2\sum d^2:

rs=1−6[∑d2+∑m(m2−1)12]n(n2−1)r_s = 1 - \frac{6\left[\sum d^2 + \sum \frac{m(m^2-1)}{12}\right]}{n(n^2-1)}

Interpretation. rsr_s lies between −1-1 and +1+1. A value near +1+1 means a strong positive relation (the ranks move together), near −1-1 a strong negative relation, and near 00 almost no relation.

Substituting nn and ∑d2\sum d^2 obtained from the ranks of the data in the paper gives the required coefficient.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 8 marks

The following data gives the experience of machine operators in years and their performance ratings as given by the number of good parts turned out per 100 pieces (data for 8 operators given in a table in the paper).
Calculate the regression equation of performance ratings on experience and estimate the probable performance if an operator has 8 years experience. Compute the coefficient of determination and interpret the result.

Answer

Let XX = experience (years) (independent) and YY = performance rating (dependent), n=8n = 8.

Step 1: Compute ∑X, ∑Y, ∑XY, ∑X2, ∑Y2\sum X,\ \sum Y,\ \sum XY,\ \sum X^2,\ \sum Y^2 from the table in the paper.

Step 2: Regression coefficient of YY on XX.

byx=n∑XY−∑X∑Yn∑X2−(∑X)2,a=Yˉ−byxXˉb_{yx} = \frac{n\sum XY - \sum X\sum Y}{n\sum X^2 - (\sum X)^2}, \qquad a = \bar Y - b_{yx}\bar X

Step 3: Regression equation.

Y^=a+byxX\hat Y = a + b_{yx}X

Step 4: Estimate for 8 years' experience. Put X=8X = 8:

Y^8=a+8 byx\hat Y_{8} = a + 8\,b_{yx}

This is the probable performance rating (good parts per 100 pieces) of an operator with 8 years' experience.

Step 5: Coefficient of determination.

r=n∑XY−∑X∑Y[n∑X2−(∑X)2][n∑Y2−(∑Y)2],r2=byx bxyr = \frac{n\sum XY - \sum X\sum Y}{\sqrt{[n\sum X^2-(\sum X)^2][n\sum Y^2-(\sum Y)^2]}}, \qquad r^2 = b_{yx}\,b_{xy}

Interpretation. r2r^2 is the proportion of the variation in performance that is explained by experience. For example, r2=0.81r^2 = 0.81 would mean 81% of the variation in performance ratings is explained by the operators' experience, and the remaining 19% is due to other factors. A positive byxb_{yx} means the rating rises on average by byxb_{yx} good parts per 100 for each additional year of experience.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 5 marks

Write short notes on: Random Variable

Answer

A random variable is a real-valued function defined on the sample space of a random experiment; it assigns a numerical value to each outcome. It is denoted by capital letters such as XX, with particular values by xx.

Example: in tossing two coins, let XX be the number of heads. Then XX takes the values 0,1,20, 1, 2 with probabilities 14,12,14\tfrac14, \tfrac12, \tfrac14.

Types

  • Discrete random variable: takes a finite or countably infinite set of values (number of defective items, number of heads). Its probability distribution is given by a probability mass function p(x)p(x) with p(x)≥0p(x)\ge 0 and ∑p(x)=1\sum p(x) = 1.
  • Continuous random variable: takes any value in an interval (height, weight, time). Its distribution is given by a probability density function f(x)f(x) with f(x)≥0f(x)\ge 0 and ∫−∞∞f(x) dx=1\int_{-\infty}^{\infty} f(x)\,dx = 1, and P(a≤X≤b)=∫abf(x) dxP(a\le X\le b)=\int_a^b f(x)\,dx.

Expected value and variance: E(X)=∑x p(x)E(X)=\sum x\,p(x) (or ∫xf(x) dx\int x f(x)\,dx) and V(X)=E(X2)−[E(X)]2V(X)=E(X^2)-[E(X)]^2.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 5 marks
  • 2025 Spring · 5 marks

Write short notes on: Criteria of Good Estimator

Answer

An estimator is a sample statistic used to estimate an unknown population parameter. A good estimator should satisfy the following criteria.

  1. Unbiasedness: an estimator TT of θ\theta is unbiased if E(T)=θE(T) = \theta. On average it neither over- nor under-estimates the parameter. Example: E(xˉ)=μE(\bar x) = \mu.
  2. Consistency: TT is consistent if it approaches the true value as the sample size increases, i.e. T→θT \to \theta in probability as n→∞n\to\infty (its bias and variance both tend to zero).
  3. Efficiency: among unbiased estimators, the one with the smallest variance is the most efficient. Example: for a normal population the sample mean has smaller variance than the sample median, so it is more efficient.
  4. Sufficiency: an estimator is sufficient if it uses all the information about the parameter that is contained in the sample, so no other statistic can add further information about θ\theta.

An estimator having these properties gives estimates that are close to the true value, with small and predictable error.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 7 marks

Define conditional probability. The probability that an integrated circuit chip will have defecting etching is 0.32, the probability that it will have a crack defect is 0.19, and the probability that it has both defects is 0.05. Find the probability that a newly manufactured chip will have neither of the two defects.

Answer

Conditional probability. The conditional probability of an event AA given that event BB has already occurred is

P(A∣B)=P(A∩B)P(B),P(B)>0P(A|B) = \frac{P(A\cap B)}{P(B)}, \qquad P(B) > 0

Chip problem. Let EE = chip has an etching defect and CC = chip has a crack defect.

P(E)=0.32,P(C)=0.19,P(E∩C)=0.05P(E) = 0.32,\quad P(C) = 0.19,\quad P(E\cap C) = 0.05

By the addition law:

P(E∪C)=0.32+0.19−0.05=0.46P(E\cup C) = 0.32 + 0.19 - 0.05 = 0.46

The probability of neither defect is

P(Eˉ∩Cˉ)=1−P(E∪C)=1−0.46=0.54P(\bar E\cap\bar C) = 1 - P(E\cup C) = 1 - 0.46 = 0.54

So a newly manufactured chip has neither defect with probability 0.54.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 8 marks

There are three machines A, B and C producing 2000, 3000, 5000 articles per hour respectively. These machines are known to be producing 3%, 2% and 1% defectives respectively. One article is selected at random from hours' production of the three machines and found to be defective. What is the probability that the article is produced from (a) Machine A (b) Machine B?

Answer

Total production per hour =2000+3000+5000=10000= 2000+3000+5000 = 10000.

P(A)=0.2, P(B)=0.3, P(C)=0.5;P(D∣A)=0.03, P(D∣B)=0.02, P(D∣C)=0.01P(A) = 0.2,\ P(B) = 0.3,\ P(C) = 0.5; \quad P(D|A) = 0.03,\ P(D|B) = 0.02,\ P(D|C) = 0.01

Probability that the selected article is defective:

P(D)=0.2(0.03)+0.3(0.02)+0.5(0.01)=0.006+0.006+0.005=0.017P(D) = 0.2(0.03) + 0.3(0.02) + 0.5(0.01) = 0.006 + 0.006 + 0.005 = 0.017

By Bayes' theorem:

(a) Machine A:

P(A∣D)=0.0060.017=617≈0.353P(A|D) = \frac{0.006}{0.017} = \frac{6}{17} \approx 0.353

(b) Machine B:

P(B∣D)=0.0060.017=617≈0.353P(B|D) = \frac{0.006}{0.017} = \frac{6}{17} \approx 0.353

(For completeness, P(C∣D)=5/17≈0.294P(C|D) = 5/17 \approx 0.294.)

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 8 marks

Define standard normal variate. In a normal distribution 31% of the items are under 45 and 8% are over 64. Find the mean and standard deviation of the distribution.

Answer

Standard normal variate. If XX is a normal variable with mean μ\mu and standard deviation σ\sigma, then

Z=X−μσZ = \frac{X-\mu}{\sigma}

is the standard normal variate. It has mean 00 and variance 11, i.e. Z∼N(0,1)Z\sim N(0,1), and its probabilities are read from the standard normal table.

Problem. Let X∼N(μ,σ2)X\sim N(\mu,\sigma^2).

31% of items are under 45: P(X<45)=0.31P(X<45) = 0.31. The area to the left is below 0.5, so zz is negative: z1=−0.496z_1 = -0.496.

45−μσ=−0.496⇒45=μ−0.496σ(1)\frac{45-\mu}{\sigma} = -0.496 \quad\Rightarrow\quad 45 = \mu - 0.496\sigma \qquad (1)

8% of items are over 64: P(X>64)=0.08P(X>64) = 0.08, so the area to the left is 0.920.92 and z2=1.405z_2 = 1.405.

64−μσ=1.405⇒64=μ+1.405σ(2)\frac{64-\mu}{\sigma} = 1.405 \quad\Rightarrow\quad 64 = \mu + 1.405\sigma \qquad (2)

Subtracting (1) from (2):

19=1.901 σ  ⇒  σ=9.99≈1019 = 1.901\,\sigma \;\Rightarrow\; \sigma = 9.99 \approx 10

From (2): μ=64−1.405(9.99)≈49.96≈50\mu = 64 - 1.405(9.99) \approx 49.96 \approx 50.

Hence the mean is about 50 and the standard deviation about 10.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 7 marks

A random sample of 10 students had the following I.Q's scores: 70, 120, 110, 101, 83, 88, 95, 98, 107, 100. Find the 95% confidence interval for the true mean I.Q scores lie.

Answer

Scores: 70, 120, 110, 101, 83, 88, 95, 98, 107, 100; n=10n = 10 (small sample, so the tt-distribution is used).

∑x=972,xˉ=97210=97.2\sum x = 972, \qquad \bar x = \frac{972}{10} = 97.2

Deviations from the mean: −27.2, 22.8, 12.8, 3.8, −14.2, −9.2, −2.2, 0.8, 9.8, 2.8-27.2,\ 22.8,\ 12.8,\ 3.8,\ -14.2,\ -9.2,\ -2.2,\ 0.8,\ 9.8,\ 2.8

∑(x−xˉ)2=739.84+519.84+163.84+14.44+201.64+84.64+4.84+0.64+96.04+7.84=1833.6\sum(x-\bar x)^2 = 739.84+519.84+163.84+14.44+201.64+84.64+4.84+0.64+96.04+7.84 = 1833.6

s=1833.69=203.73=14.27,SE=sn=14.2710=4.51s = \sqrt{\frac{1833.6}{9}} = \sqrt{203.73} = 14.27, \qquad SE = \frac{s}{\sqrt n} = \frac{14.27}{\sqrt{10}} = 4.51

For 95%95\% confidence with 99 d.f., t0.025=2.262t_{0.025} = 2.262.

xˉ±t SE=97.2±2.262(4.51)=97.2±10.21\bar x \pm t\,SE = 97.2 \pm 2.262(4.51) = 97.2 \pm 10.21

86.99<μ<107.4186.99 < \mu < 107.41

The 95% confidence interval for the true mean IQ is (86.99, 107.41), approximately 87 to 107.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 8 marks

The mean height of 50 male students who showed interest in participation in college athletics was 68.2 inches with standard deviation of 2.5 inches. While 50 male students who showed no interest in such participation had a mean height of 67.5 inches with a standard deviation of 2.8 inches. Test the hypothesis that male students who participate in college athletics are taller that other male students. Use α=0.05\alpha = 0.05

Answer

Group 1 (athletics): n1=50n_1 = 50, xˉ1=68.2\bar x_1 = 68.2, s1=2.5s_1 = 2.5. Group 2 (not interested): n2=50n_2 = 50, xˉ2=67.5\bar x_2 = 67.5, s2=2.8s_2 = 2.8.

Hypotheses. H0:μ1=μ2H_0: \mu_1 = \mu_2 H1:μ1>μ2H_1: \mu_1 > \mu_2 (right-tailed; athletes are taller)

Level of significance. α=0.05\alpha = 0.05; critical value z0.05=1.645z_{0.05} = 1.645 (large samples, so a zz-test).

Test statistic.

z=xˉ1−xˉ2s12n1+s22n2=0.76.2550+7.8450=0.70.2818=0.70.531=1.32z = \frac{\bar x_1-\bar x_2}{\sqrt{\dfrac{s_1^2}{n_1}+\dfrac{s_2^2}{n_2}}} = \frac{0.7}{\sqrt{\dfrac{6.25}{50}+\dfrac{7.84}{50}}} = \frac{0.7}{\sqrt{0.2818}} = \frac{0.7}{0.531} = 1.32

Decision. 1.32<1.6451.32 < 1.645, so H0H_0 is not rejected.

Conclusion. At the 5% level there is not enough evidence to say that male students who take part in college athletics are taller than the others; the observed difference of 0.7 inch may be due to chance.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 7 marks

Two horses A and B were tested according to the time (in seconds) to run a particular track with the following results (times for Horse A and Horse B given in the paper; Horse A: 28, 30, 32, 33, 33, 29, 34 and Horse B: 29, 30, 30, 24, 27, 29).
Test whether the two horses have the same running capacity at 5% level of significance.

Answer

Horse A: 28, 30, 32, 33, 33, 29, 34 (n1=7n_1 = 7). Horse B: 29, 30, 30, 24, 27, 29 (n2=6n_2 = 6). Small samples, so the two-sample tt-test is used (assuming equal variances).

Means. xˉ1=2197=31.29\bar x_1 = \frac{219}{7} = 31.29, xˉ2=1696=28.17\bar x_2 = \frac{169}{6} = 28.17.

Sums of squared deviations. ∑(x1−xˉ1)2=31.43\sum(x_1-\bar x_1)^2 = 31.43 (so s12=31.43/6=5.24s_1^2 = 31.43/6 = 5.24) ∑(x2−xˉ2)2=26.83\sum(x_2-\bar x_2)^2 = 26.83 (so s22=26.83/5=5.37s_2^2 = 26.83/5 = 5.37)

Pooled variance:

sp2=31.43+26.837+6−2=58.2611=5.297,sp=2.30s_p^2 = \frac{31.43+26.83}{7+6-2} = \frac{58.26}{11} = 5.297, \qquad s_p = 2.30

Hypotheses. H0:μA=μBH_0: \mu_A = \mu_B (same running capacity); H1:μA≠μBH_1: \mu_A \ne \mu_B (two-tailed).

Test statistic.

t=xˉ1−xˉ2sp1n1+1n2=3.122.3017+16=3.122.30×0.5594=3.121.287=2.44t = \frac{\bar x_1-\bar x_2}{s_p\sqrt{\frac1{n_1}+\frac1{n_2}}} = \frac{3.12}{2.30\sqrt{\frac17+\frac16}} = \frac{3.12}{2.30\times0.5594} = \frac{3.12}{1.287} = 2.44

Critical value. α=0.05\alpha = 0.05, d.f. =11= 11: t0.025=2.201t_{0.025} = 2.201.

Decision. 2.44>2.2012.44 > 2.201, so H0H_0 is rejected.

Conclusion. At the 5% level the two horses do not have the same running capacity; the mean time of horse B is significantly lower, so horse B is faster.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 7 marks

The National Planning Commission (NPC) is performing preliminary study to determine the relationship between certain economic indicators and the gross national product (GNP). The concern is to estimate the percentage change in GNP. One of such indicator being examined is government's deficit. Data on 6 years are given in the paper (percentage change in GNP and government deficit in Lakhs Rs.).
i. Compute the correlation coefficient between percentage change in GNP and government deficit. ii. Calculate coefficient of determination and interpret its meaning. iii. What percentage change in GNP would be expected in a year in which the government deficit was Rs. 110 lakhs?

Answer

Let XX = government deficit (Rs lakhs) and YY = percentage change in GNP, n=6n = 6. Compute ∑X, ∑Y, ∑XY, ∑X2, ∑Y2\sum X,\ \sum Y,\ \sum XY,\ \sum X^2,\ \sum Y^2 from the table in the paper.

(i) Correlation coefficient.

r=n∑XY−∑X∑Y[n∑X2−(∑X)2][n∑Y2−(∑Y)2]r = \frac{n\sum XY - \sum X\sum Y}{\sqrt{\left[n\sum X^2 - (\sum X)^2\right]\left[n\sum Y^2 - (\sum Y)^2\right]}}

A positive rr near +1+1 shows a strong positive linear relation between the deficit and the change in GNP; a negative rr shows an inverse relation.

(ii) Coefficient of determination.

r2=(r)2r^2 = (r)^2

Interpretation: 100 r2%100\,r^2\% of the variation in the percentage change in GNP is explained by the variation in the government deficit; the remaining 100(1−r2)%100(1-r^2)\% is due to other factors.

(iii) Expected change in GNP when the deficit is Rs 110 lakhs. Fit the regression line of YY on XX:

Y^=a+bX,b=n∑XY−∑X∑Yn∑X2−(∑X)2,a=Yˉ−bXˉ\hat Y = a + bX, \qquad b = \frac{n\sum XY - \sum X\sum Y}{n\sum X^2-(\sum X)^2}, \quad a = \bar Y - b\bar X

Substituting X=110X = 110:

Y^=a+110 b\hat Y = a + 110\,b

This is the percentage change in GNP expected in a year when the government deficit is Rs 110 lakhs.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 5 marks

Write short notes on: Fundamentals elements of a statistical analysis

Answer

The fundamental elements of a statistical analysis are the basic components that must be identified in any statistical study.

  1. Population: the complete collection of all individuals or objects of interest (e.g. all BCA students of a university).
  2. Sample: a subset of the population actually selected and studied, chosen so as to represent the population.
  3. Variable: a characteristic that varies from one unit to another, e.g. marks, height (quantitative) or gender (qualitative).
  4. Experimental/observational unit: the object on which the data are measured (a student, a plant, a bank).
  5. Parameter and statistic: a parameter is a numerical measure of a population (e.g. μ\mu, σ\sigma); a statistic is a numerical measure of a sample (e.g. xˉ\bar x, ss).
  6. Statistical inference: drawing conclusions about the population from the sample, together with a measure of reliability of the inference (confidence level or significance level).

A statistical analysis therefore starts by defining the problem and the population, selecting a sample, collecting and summarising the data, and making an inference with a stated degree of reliability.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2025 Spring · 5 marks

Write short notes on: Sources of data

Answer

Data can be obtained from two main sources.

1. Primary sources. Data collected first-hand by the investigator for a specific purpose, using

  • direct personal investigation/interview,
  • questionnaires (mailed or online),
  • observation,
  • experiments and surveys, including telephone interviews.

2. Secondary sources. Data already collected by others, found in

  • Published sources: government reports and census, Nepal Rastra Bank and Central Bureau of Statistics publications, statistical abstracts, journals, newspapers, books and international agency reports (UN, World Bank).
  • Unpublished sources: records and files of organisations, research reports and theses.
  • Websites and databases.

Primary data are original and more reliable but costly and slow to collect; secondary data are cheap and quick but may be outdated or not suited to the present need, so they should be checked for reliability and suitability before use.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2024 Spring · 7 marks

The stem and leaf display represents the bounced check fee for sample of 25 banks for direct deposit customers (display given in the paper).
i. What are the two information obtained from this stem and leaf display. ii. What percentage of items is before 30. iii. Construct the relative percentage frequency distribution.

Answer

(i) Two pieces of information from a stem-and-leaf display.

  1. The shape of the distribution: the length of each row (number of leaves) shows where the data are concentrated, how spread out they are and whether the data are symmetric or skewed.
  2. The actual data values: unlike a histogram, every original observation can be read back (stem followed by leaf), so the smallest and largest fees, the most common fee and the median can be found.

(ii) Percentage of items before 30. Count all the leaves in the rows with stems below 3 (fees less than 30), call this kk. With n=25n = 25 banks,

Percentage=k25×100%\text{Percentage} = \frac{k}{25}\times 100\%

(for example, if 10 banks charge less than 30, the percentage is 40%).

(iii) Relative percentage frequency distribution. Take the stem rows (or fee classes such as 10-under 20, 20-under 30, ...) as classes, count the leaves in each row to get the frequency ff, and compute

relative frequency=f25,percentage frequency=f25×100\text{relative frequency} = \frac{f}{25},\qquad \text{percentage frequency} = \frac{f}{25}\times 100

Bounced check fee (Rs)FrequencyRelative frequencyPercentage frequency
each classfff/25f/25f/25×100f/25 \times 100
Total251.00100%

The percentages add up to 100.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2024 Spring · 7 marks

Discuss the sources of data with suitable examples. Write the advantages and disadvantages these sources.

Answer

Statistical data are obtained from two sources: primary and secondary.

1. Primary sources

Data collected directly and for the first time by the investigator for the purpose of the study.

Methods and examples: direct personal interview, questionnaire/mailed survey, telephone survey, observation, and experiments. Example: a researcher surveys 200 students about their daily study hours.

Advantages

  • Original, reliable and specific to the problem.
  • The investigator controls the questions, the sample and the quality.
  • Up-to-date information.

Disadvantages

  • Costly, time-consuming and needs many workers.
  • Difficult for a large or scattered population.
  • Non-response and interviewer bias may occur.

2. Secondary sources

Data already collected and published (or recorded) by others and used for another study.

Examples: Published: census reports, publications of the Central Bureau of Statistics and Nepal Rastra Bank, journals, newspapers, books, international reports. Unpublished: records of offices and companies, research reports.

Advantages

  • Cheap, quick and easy to get.
  • Useful where primary collection is impossible (e.g. past census data).
  • Covers a large area and long periods; allows comparison over time.

Disadvantages

  • May not exactly fit the purpose of the present study.
  • May be outdated, inaccurate or biased, and the way it was collected may be unknown.
  • The user has no control over its quality, so careful scrutiny is required.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2024 Spring · 8 marks

The marks obtained by 500 students of a college are given below:
Marks0-2020-4040-5050-6060-8080-100
No. of Students50100150906050
Find:
i. Limits of marks of middle 60% students. ii. Minimum pass marks if only 34% of the students had failed. iii. Percentage of students getting marks between 35 and 75.

Answer

N=500N = 500.

MarksffCumulative frequency
0-205050
20-40100150
40-50150300
50-6090390
60-8060450
80-10050500

(i) Limits of the middle 60%. They lie between P20P_{20} and P80P_{80}.

P20P_{20}: position =100= 100, class 20-40 (cf before =50= 50, f=100f = 100, h=20h = 20):

P20=20+100−50100×20=30P_{20} = 20 + \frac{100-50}{100}\times 20 = 30

P80P_{80}: position =400= 400, class 60-80 (cf before =390= 390, f=60f = 60, h=20h = 20):

P80=60+400−39060×20=63.33P_{80} = 60 + \frac{400-390}{60}\times 20 = 63.33

The middle 60% of students got marks between 30 and 63.33.

(ii) Minimum pass marks if 34% failed. 34% of 500 =170= 170 students, so the pass mark is P34P_{34}. Position 170170 lies in the class 40-50 (cf before =150= 150, f=150f = 150, h=10h = 10):

P34=40+170−150150×10=41.33P_{34} = 40 + \frac{170-150}{150}\times 10 = 41.33

The minimum pass mark is about 41.33 (about 41 or 42 marks).

(iii) Percentage getting between 35 and 75. Number below 35: in the class 20-40, 50+35−2020×100=12550 + \frac{35-20}{20}\times100 = 125. Number below 75: in the class 60-80, 390+75−6020×60=435390 + \frac{75-60}{20}\times 60 = 435.

Students between 35 and 75 =435−125=310= 435 - 125 = 310

310500×100=62%\frac{310}{500}\times100 = 62\%

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2024 Spring · 7 marks

In a local hospital 48% of all babies born are males. On a particular day five babies are born. What is the probability that:
i. none of them are male ii. two of them are male iii. at least one is male iv. at least two are male

Answer

Each birth is an independent trial, so XX = number of male babies is binomial with n=5n = 5, p=0.48p = 0.48, q=0.52q = 0.52:

P(X=r)=(5r)(0.48)r(0.52)5−rP(X = r) = \binom5r (0.48)^r(0.52)^{5-r}

(i) None are male:

P(0)=(0.52)5=0.0380P(0) = (0.52)^5 = 0.0380

(ii) Two are male:

P(2)=(52)(0.48)2(0.52)3=10(0.2304)(0.140608)=0.3240P(2) = \binom52(0.48)^2(0.52)^3 = 10(0.2304)(0.140608) = 0.3240

(iii) At least one is male:

P(X≥1)=1−P(0)=1−0.0380=0.9620P(X\ge1) = 1 - P(0) = 1 - 0.0380 = 0.9620

(iv) At least two are male:

P(X≥2)=1−P(0)−P(1)P(X\ge2) = 1 - P(0) - P(1)

P(1)=5(0.48)(0.52)4=5(0.48)(0.073116)=0.1755P(1) = 5(0.48)(0.52)^4 = 5(0.48)(0.073116) = 0.1755

P(X≥2)=1−0.0380−0.1755=0.7865P(X\ge2) = 1 - 0.0380 - 0.1755 = 0.7865

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2024 Spring · 7 marks

In an examination 15% of the students got first class 60 marks above, while 40% securing below 40 marks. Assuming the marks are normally distributed, estimate mean and standard deviation.

Answer

Let marks X∼N(μ,σ2)X\sim N(\mu,\sigma^2).

15% got 60 or more: P(X>60)=0.15P(X>60) = 0.15, so the area to the left of 60 is 0.850.85 and z1=1.036z_1 = 1.036.

60−μσ=1.036  ⇒  60=μ+1.036σ(1)\frac{60-\mu}{\sigma} = 1.036 \;\Rightarrow\; 60 = \mu + 1.036\sigma \qquad (1)

40% got below 40: P(X<40)=0.40P(X<40) = 0.40, so z2=−0.253z_2 = -0.253.

40−μσ=−0.253  ⇒  40=μ−0.253σ(2)\frac{40-\mu}{\sigma} = -0.253 \;\Rightarrow\; 40 = \mu - 0.253\sigma \qquad (2)

Subtracting (2) from (1):

20=1.289 σ  ⇒  σ=15.520 = 1.289\,\sigma \;\Rightarrow\; \sigma = 15.5

From (2): μ=40+0.253(15.5)=43.9\mu = 40 + 0.253(15.5) = 43.9.

Hence the mean is about 43.9 marks and the standard deviation about 15.5 marks.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2024 Spring · 7 marks

It is desired to estimate the proportion of children watching television on Saturday evenings, in order to develop a promotional strategy for electronic games. We want to be 95% confident that our estimate will be within 2% of the true population proportion.
i. What sample size should we take if a previous survey showed that 40% of children watched television on Saturday evenings? ii. What would the sample size be, for the degrees of confidence and same maximum allowable error, if no previous survey had been taken?

Answer

For estimating a proportion, the required sample size is

n=z2 p qE2n=\frac{z^2\,p\,q}{E^2}

where z=1.96z=1.96 for 95% confidence, E=0.02E=0.02 and q=1−pq=1-p.

(i) Previous survey gives p=0.40p=0.40, so q=0.60q=0.60:

n=(1.96)2(0.40)(0.60)(0.02)2=3.8416×0.240.0004=0.921980.0004≈2304.96n=\frac{(1.96)^2(0.40)(0.60)}{(0.02)^2}=\frac{3.8416\times0.24}{0.0004}=\frac{0.92198}{0.0004}\approx 2304.96

Hence the sample size should be 2305 children (rounded up).

(ii) With no previous survey, take the most conservative value p=0.5p=0.5, q=0.5q=0.5 (this maximises pq=0.25pq=0.25):

n=(1.96)2(0.5)(0.5)(0.02)2=3.8416×0.250.0004=2401n=\frac{(1.96)^2(0.5)(0.5)}{(0.02)^2}=\frac{3.8416\times0.25}{0.0004}=2401

Hence the sample size should be 2401 children.

Lack of prior information therefore requires a larger sample (2401 against 2305).

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2024 Spring · 8 marks

A mathematics teacher wants to investigate the effects of discovery method over lecture method. 12 students of same abilities and age (Group A) are taught by discovery method and 12 students matched for age and gender (Group B) are taught by lecture method. The effectiveness of the two methods is measured by an achievement test. The following table shows the scores of the two groups. Test the hypothesis that does the discovery method increases the achievement of students? Use a suitable non-parametric test to test this hypothesis at 5% level of significance.
Group A5363475942463936583836
Group B4836595870623853666665

Answer

The two groups are independent samples and the scores are ordinal-type achievement scores with no normality assumption, so the Mann-Whitney U test (Wilcoxon rank-sum) is suitable.

Hypotheses

  • H0H_0: The two methods give the same distribution of scores (discovery does not increase achievement).
  • H1H_1: Discovery method (Group A) gives higher scores than lecture method (Group B) (one-tailed).
  • α=0.05\alpha=0.05.

Ranking the combined data (11 scores listed in each group, n1=n2=11n_1=n_2=11; tied values get the average rank):

Score363839424647485358596263656670
Rank24.567891011.513.515.517181920.522

Sum of ranks of Group A:

RA=2+2+4.5+6+7+8+9+11.5+13.5+15.5+18=97R_A=2+2+4.5+6+7+8+9+11.5+13.5+15.5+18=97

and RB=253−97=156R_B=253-97=156 (check: total =22⋅232=253=\tfrac{22\cdot23}{2}=253).

Test statistic

UA=n1n2+n1(n1+1)2−RA=121+66−97=90,UB=121−90=31U_A=n_1n_2+\frac{n_1(n_1+1)}{2}-R_A=121+66-97=90,\qquad U_B=121-90=31

If discovery were better, UBU_B would be small. Using the normal approximation:

μU=n1n22=60.5,σU=n1n2(n1+n2+1)12=121×2312=15.23\mu_U=\frac{n_1n_2}{2}=60.5,\qquad \sigma_U=\sqrt{\frac{n_1n_2(n_1+n_2+1)}{12}}=\sqrt{\frac{121\times23}{12}}=15.23

z=31−60.515.23=−1.94z=\frac{31-60.5}{15.23}=-1.94

Decision: The one-tailed critical value is z=−1.645z=-1.645. Since −1.94<−1.645-1.94<-1.645 (p ≈0.026<0.05\approx 0.026<0.05), H0H_0 is rejected.

Conclusion: At the 5% level there is sufficient evidence that the discovery method increases student achievement compared with the lecture method.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2024 Spring · 8 marks

Cost Accountants often estimate overhead based on the level of production. At the Standard Knitting Co., they have collected information on overhead expenses and units produced at different plants (data table in the paper).
i. Develop the regression equation for the cost accountants. ii. What percentage of variation in Overhead is accounted for by level of production? iii. Compute the standard error of estimate and interpret its value.

Answer

Let XX = units produced (independent) and YY = overhead expense (dependent), with nn plants.

(i) Regression equation of Y on X

Y^=a+bX,b=n∑XY−∑X∑Yn∑X2−(∑X)2,a=Yˉ−bXˉ\hat Y=a+bX,\qquad b=\frac{n\sum XY-\sum X\sum Y}{n\sum X^2-(\sum X)^2},\qquad a=\bar Y-b\bar X

Form the table of X, Y, XY, X2, Y2X,\ Y,\ XY,\ X^2,\ Y^2 from the plants' data, substitute the column totals into the formulas for bb and aa, and write Y^=a+bX\hat Y=a+bX. The slope bb is the average change in overhead (Rs) for one extra unit produced; the intercept aa is the fixed overhead when output is zero.

(ii) Percentage of variation explained

The coefficient of determination is

r2=(n∑XY−∑X∑Y)2[n∑X2−(∑X)2][n∑Y2−(∑Y)2]r^2=\frac{\left(n\sum XY-\sum X\sum Y\right)^2}{\left[n\sum X^2-(\sum X)^2\right]\left[n\sum Y^2-(\sum Y)^2\right]}

The value r2×100%r^2\times100\% is the percentage of variation in overhead accounted for by the level of production; the remaining (1−r2)×100%(1-r^2)\times100\% is due to other factors.

(iii) Standard error of estimate

Se=∑Y2−a∑Y−b∑XYn−2S_{e}=\sqrt{\frac{\sum Y^2-a\sum Y-b\sum XY}{n-2}}

Interpretation: SeS_e is the typical (standard) deviation of actual overhead values around the fitted regression line, in the same units as overhead. A small SeS_e means the points lie close to the line, so predictions of overhead from production level are reliable; about 68% of actual values fall within ±Se\pm S_e of the predicted value and about 95% within ±2Se\pm 2S_e.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2024 Spring · 5 marks

Write short notes on: Describe Important of statistics on Computer application.

Answer

Statistics is the science of collecting, organising, analysing and interpreting data. It is closely tied to computer applications in many ways.

  • Data analysis and data science: Large datasets are summarised using averages, dispersion, correlation and regression to find patterns.
  • Machine learning and AI: Algorithms rely on probability, regression, classification, clustering and hypothesis testing.
  • Database and data mining: Sampling, estimation and association measures are used to extract knowledge from stored data.
  • Performance evaluation: Response times, network traffic and system reliability are modelled with probability distributions (Poisson, exponential, normal).
  • Software quality and testing: Defect rates, reliability growth models and control charts depend on statistics.
  • Image processing and pattern recognition: Histograms, noise models and probabilistic classifiers use statistical methods.
  • Decision making and simulation: Random numbers, Monte Carlo methods and forecasting support planning and business decisions.
  • Security and compression: Frequency analysis and entropy are statistical ideas used in cryptography and data compression.

Computers in turn make statistics practical through packages such as R, Python and SPSS. Thus, statistics provides the theoretical base for many modern computer applications.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2024 Spring · 5 marks

Write short notes on: What are Differences between Correlation and Regression analysis.

Answer

BasisCorrelationRegression
MeaningMeasures the strength and direction of the linear relationship between two variablesGives the mathematical relationship used to estimate one variable from the other
PurposeTo know the degree of associationTo predict or estimate the dependent variable
VariablesBoth variables are treated alike; no distinction between dependent and independentOne is dependent (YY) and the other independent (XX)
Symmetryrxy=ryxr_{xy}=r_{yx}byx≠bxyb_{yx}\neq b_{xy} in general
MeasureCoefficient rr, lies between −1-1 and +1+1Regression coefficients byx,bxyb_{yx}, b_{xy} and equations; can take any value
UnitUnit-free (pure number)Has units (units of YY per unit of XX)
Cause and effectDoes not imply cause and effectAssumes a cause-and-effect direction
NatureShows only closeness; may be nonsense (spurious) correlationGives a line of best fit by least squares

The two are related by r=±byx bxyr=\pm\sqrt{b_{yx}\,b_{xy}}.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 Spring · 7 marks

A discrete random variable X has the probability distribution given in the paper (found based on historical data). Find expected value of random variable Y=3X+2Y = 3X + 2 and its variance.

Answer

For a discrete variable XX with probability distribution P(x)P(x), first compute

E(X)=∑xP(x),E(X2)=∑x2P(x),Var(X)=E(X2)−[E(X)]2E(X)=\sum xP(x),\qquad E(X^2)=\sum x^2P(x),\qquad \text{Var}(X)=E(X^2)-[E(X)]^2

Expected value of Y=3X+2Y=3X+2

By the linearity of expectation,

E(Y)=E(3X+2)=3E(X)+2E(Y)=E(3X+2)=3E(X)+2

So find E(X)=∑xP(x)E(X)=\sum xP(x) from the table, multiply by 3 and add 2.

Variance of YY

A constant added does not change spread, and a multiplier is squared:

Var(Y)=Var(3X+2)=32 Var(X)=9 Var(X)\text{Var}(Y)=\text{Var}(3X+2)=3^2\,\text{Var}(X)=9\,\text{Var}(X)

So compute Var(X)=∑x2P(x)−[∑xP(x)]2\text{Var}(X)=\sum x^2P(x)-\left[\sum xP(x)\right]^2 from the table and multiply by 9. The standard deviation of YY is 3σX3\sigma_X.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 Spring · 8 marks

Suppose you have a bag containing 5 red balls and 3 blue balls. You randomly select two balls from the bag randomly, then what will be the probability of
i. Different color ii. At least one red color

Answer

Total balls =8=8. Number of ways to pick 2 balls: (82)=28\binom{8}{2}=28.

(i) Different colours (one red and one blue)

P=(51)(31)(82)=5×328=1528≈0.536P=\frac{\binom{5}{1}\binom{3}{1}}{\binom{8}{2}}=\frac{5\times3}{28}=\frac{15}{28}\approx0.536

(ii) At least one red

It is easier to use the complement (no red, i.e. both blue):

P(both blue)=(32)28=328P(\text{both blue})=\frac{\binom{3}{2}}{28}=\frac{3}{28}

P(at least one red)=1−328=2528≈0.893P(\text{at least one red})=1-\frac{3}{28}=\frac{25}{28}\approx0.893

Check: (1 red, 1 blue) =15=15 ways and (2 red) =(52)=10=\binom52=10 ways, so 15+1028=2528\frac{15+10}{28}=\frac{25}{28}.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 Spring · 7 marks

A company develops mobile and web apps. From historical data, it is known that 70% of all applications developed by this company are mobile apps, while the remaining 30% are web apps. Additionally, 90% of the mobile apps have high user ratings, and 20% of the web apps have high user ratings. Now, if a randomly selected app from the company's portfolio is chosen, find the required probability (as asked in the paper).

Answer

Let MM = app is a mobile app, WW = app is a web app, HH = app has a high rating.

Given: P(M)=0.70P(M)=0.70, P(W)=0.30P(W)=0.30, P(H∣M)=0.90P(H|M)=0.90, P(H∣W)=0.20P(H|W)=0.20.

Probability that a randomly chosen app has a high rating (total probability)

P(H)=P(M)P(H∣M)+P(W)P(H∣W)=0.70(0.90)+0.30(0.20)=0.63+0.06=0.69P(H)=P(M)P(H|M)+P(W)P(H|W)=0.70(0.90)+0.30(0.20)=0.63+0.06=0.69

Probability that a high-rated app is a mobile app (Bayes' theorem)

P(M∣H)=P(M)P(H∣M)P(H)=0.630.69≈0.913P(M|H)=\frac{P(M)P(H|M)}{P(H)}=\frac{0.63}{0.69}\approx0.913

Similarly, P(W∣H)=0.060.69≈0.087P(W|H)=\dfrac{0.06}{0.69}\approx0.087.

So a randomly selected app has a 69% chance of being highly rated, and if it is highly rated there is about a 91.3% chance that it is a mobile app.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 Spring · 8 marks

Pokhara Metropolitan City is launching a mobile application for providing information regarding services provided by the metro and the required documents for being served. Based on the data from the Kathmandu metro for similar application launched earlier, it is observed that 30% of people download the application within one month of its launch. Assuming same data will be true for Bharatpur. Now, if the application is launched and metro authorities visited 10 randomly chosen households from a ward, what is the probability that:
i. None of the visited households downloaded the app? ii. Exactly three of the visited households downloaded the app.

Answer

Each household either downloads the app or not, independently, so X∼B(n=10, p=0.3)X\sim B(n=10,\ p=0.3), q=0.7q=0.7:

P(X=x)=(10x)(0.3)x(0.7)10−xP(X=x)=\binom{10}{x}(0.3)^x(0.7)^{10-x}

(i) None downloaded

P(X=0)=(100)(0.3)0(0.7)10=(0.7)10≈0.0282P(X=0)=\binom{10}{0}(0.3)^0(0.7)^{10}=(0.7)^{10}\approx0.0282

(ii) Exactly three downloaded

P(X=3)=(103)(0.3)3(0.7)7=120×0.027×0.08235≈0.2668P(X=3)=\binom{10}{3}(0.3)^3(0.7)^7=120\times0.027\times0.08235\approx0.2668

So there is about a 2.8% chance that none downloaded and about a 26.7% chance that exactly three did.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 Spring · 7 marks

A customer support center receives an average of 4 customer complaints per hour. Calculate the probability that
i. The support center receives exactly 3 customer complaints in a given hour. ii. The support center receives not more than two customer complaints in a given hour.

Answer

Complaints per hour follow a Poisson distribution with λ=4\lambda=4:

P(X=x)=e−λλxx!,e−4=0.018316P(X=x)=\frac{e^{-\lambda}\lambda^x}{x!},\qquad e^{-4}=0.018316

(i) Exactly 3 complaints

P(X=3)=e−4 433!=0.018316×646≈0.1954P(X=3)=\frac{e^{-4}\,4^3}{3!}=\frac{0.018316\times64}{6}\approx0.1954

(ii) Not more than two complaints

P(X≤2)=e−4(1+4+422!)=0.018316 (1+4+8)=0.018316×13≈0.2381P(X\le2)=e^{-4}\left(1+4+\frac{4^2}{2!}\right)=0.018316\,(1+4+8)=0.018316\times13\approx0.2381

So the probabilities are about 19.5% and 23.8% respectively.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 Spring · 8 marks

The heights of students in a BCA class are normally distributed with a mean of 165 cm and a standard deviation of 7 cm.
i. What percentage of students have heights between 158 cm and 173 cm? ii. If a student's height is at the 75th percentile, what is his height in centimeters?

Answer

X∼N(μ=165, σ=7)X\sim N(\mu=165,\ \sigma=7) and Z=X−μσZ=\dfrac{X-\mu}{\sigma}.

(i) Heights between 158 cm and 173 cm

z1=158−1657=−1,z2=173−1657=1.14z_1=\frac{158-165}{7}=-1,\qquad z_2=\frac{173-165}{7}=1.14

P(158<X<173)=Φ(1.14)−Φ(−1)=0.8729−0.1587=0.7142P(158<X<173)=\Phi(1.14)-\Phi(-1)=0.8729-0.1587=0.7142

About 71.4% of the students have heights between 158 cm and 173 cm.

(ii) 75th percentile

We need zz with Φ(z)=0.75\Phi(z)=0.75, which gives z=0.6745z=0.6745.

x=μ+zσ=165+0.6745×7=165+4.72≈169.7 cmx=\mu+z\sigma=165+0.6745\times7=165+4.72\approx169.7\text{ cm}

The student's height is about 169.7 cm.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 Spring · 7 marks

A random sample of 100 students gave the mean weight of 58kg and standard deviation of 4kg. Test the hypothesis that the mean weight of all students is 60kg. (use α=0.05\alpha = 0.05)

Answer

Given n=100n=100, xˉ=58\bar x=58, s=4s=4, μ0=60\mu_0=60, α=0.05\alpha=0.05. The sample is large, so a ZZ-test is used.

Hypotheses

  • H0: μ=60H_0:\ \mu=60 kg
  • H1: μ≠60H_1:\ \mu\neq60 kg (two-tailed)

Test statistic

z=xˉ−μ0s/n=58−604/100=−20.4=−5z=\frac{\bar x-\mu_0}{s/\sqrt n}=\frac{58-60}{4/\sqrt{100}}=\frac{-2}{0.4}=-5

Critical value: at α=0.05\alpha=0.05 (two-tailed), zα/2=±1.96z_{\alpha/2}=\pm1.96.

Decision: ∣z∣=5>1.96|z|=5>1.96, so H0H_0 is rejected.

Conclusion: The sample provides significant evidence that the mean weight of all students is not 60 kg; it is lower (about 58 kg).

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 Spring · 8 marks

Samples of two types of electric light bulbs were tested for length of life and following data were obtained:
Type IType II
Sample No.n1=8n_1 = 8n2=7n_2 = 7
Sample meansxˉ1=1234\bar{x}_1 = 1234 hrsxˉ2=1036\bar{x}_2 = 1036 hrs
Sample S.D.s1=36s_1 = 36 hrss2=40s_2 = 40 hrs
Is the difference in the means sufficient to warrant that type I is superior to type II regarding length of life?

Answer

Small independent samples with unknown but similar population variances, so a pooled two-sample tt-test (one-tailed) is used.

Hypotheses

  • H0: μ1=μ2H_0:\ \mu_1=\mu_2
  • H1: μ1>μ2H_1:\ \mu_1>\mu_2 (type I is superior)
  • α=0.05\alpha=0.05 (assumed)

Pooled variance

sp2=(n1−1)s12+(n2−1)s22n1+n2−2=7(36)2+6(40)213=9072+960013=1436.3,sp=37.90s_p^2=\frac{(n_1-1)s_1^2+(n_2-1)s_2^2}{n_1+n_2-2}=\frac{7(36)^2+6(40)^2}{13}=\frac{9072+9600}{13}=1436.3,\qquad s_p=37.90

Test statistic

t=xˉ1−xˉ2sp1n1+1n2=1234−103637.9018+17=19837.90×0.5175=19819.62≈10.09t=\frac{\bar x_1-\bar x_2}{s_p\sqrt{\frac1{n_1}+\frac1{n_2}}}=\frac{1234-1036}{37.90\sqrt{\frac18+\frac17}}=\frac{198}{37.90\times0.5175}=\frac{198}{19.62}\approx10.09

Critical value: degrees of freedom =13=13, and one-tailed t0.05(13)=1.771t_{0.05}(13)=1.771.

Decision: 10.09>1.77110.09>1.771, so H0H_0 is rejected.

Conclusion: The difference in mean life is significant. Type I bulbs are superior to type II regarding length of life.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 Spring · 7 marks

Calculate the correlation co-efficient for the following height in inches of fathers (X) and their sons (Y).
X6566676768697072
Y6768656872726971

Answer

n=8n=8, ∑X=544\sum X=544, ∑Y=552\sum Y=552, so Xˉ=68\bar X=68, Yˉ=69\bar Y=69. Using deviations dx=X−68dx=X-68, dy=Y−69dy=Y-69:

XXYYdxdxdydydx dydx\,dydx2dx^2dy2dy^2
6567-3-2694
6668-2-1241
6765-1-44116
6768-1-1111
687203009
697213319
706920040
7271428164
Total00243644

r=∑dx dy∑dx2 ∑dy2=2436×44=2439.80≈0.60r=\frac{\sum dx\,dy}{\sqrt{\sum dx^2\,\sum dy^2}}=\frac{24}{\sqrt{36\times44}}=\frac{24}{39.80}\approx0.60

The correlation coefficient is r≈+0.60r\approx+0.60, a moderate positive correlation: taller fathers tend to have taller sons.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 Spring · 8 marks

Calculate the coefficient of correlation and obtain the least square regression line of y on x for the data given in the paper. Also obtain an estimate of y which should correspond on the average to x = 6.2.

Answer

Method (with nn pairs of (x,y)(x,y) from the table)

Correlation coefficient

r=n∑xy−∑x∑y[n∑x2−(∑x)2][n∑y2−(∑y)2]r=\frac{n\sum xy-\sum x\sum y}{\sqrt{\left[n\sum x^2-(\sum x)^2\right]\left[n\sum y^2-(\sum y)^2\right]}}

Prepare columns x, y, xy, x2, y2x,\ y,\ xy,\ x^2,\ y^2, total them and substitute. The sign of rr gives the direction and ∣r∣|r| the strength of the linear relationship.

Regression line of yy on xx

y−yˉ=byx(x−xˉ),byx=n∑xy−∑x∑yn∑x2−(∑x)2=rσyσxy-\bar y=b_{yx}(x-\bar x),\qquad b_{yx}=\frac{n\sum xy-\sum x\sum y}{n\sum x^2-(\sum x)^2}=r\frac{\sigma_y}{\sigma_x}

which can be written as y=a+bxy=a+bx with a=yˉ−bxˉa=\bar y-b\bar x.

Estimate at x=6.2x=6.2

Substitute into the fitted line:

y^=a+b(6.2)\hat y=a+b(6.2)

This gives the average value of yy expected to correspond to x=6.2x=6.2. The estimate is reliable because 6.26.2 lies within the range of the observed xx values (interpolation) and is more reliable the closer ∣r∣|r| is to 1.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 Spring · 5 marks

Write short notes on: Simple Correlation and Regression analysis

Answer

Simple correlation

Correlation measures the degree and direction of the linear relationship between two variables. Karl Pearson's coefficient is

r=Cov(x,y)σxσy=n∑xy−∑x∑y[n∑x2−(∑x)2][n∑y2−(∑y)2],−1≤r≤1r=\frac{\text{Cov}(x,y)}{\sigma_x\sigma_y}=\frac{n\sum xy-\sum x\sum y}{\sqrt{[n\sum x^2-(\sum x)^2][n\sum y^2-(\sum y)^2]}},\quad -1\le r\le1

  • r>0r>0: positive correlation (both rise together); r<0r<0: negative correlation; r=0r=0: no linear correlation.
  • r=±1r=\pm1 is perfect correlation. It is unit-free and does not by itself prove cause and effect.

Simple regression

Regression expresses the average relationship between a dependent variable and an independent variable so that one can be predicted from the other. The regression line of yy on xx is

y=a+bx,b=n∑xy−∑x∑yn∑x2−(∑x)2,a=yˉ−bxˉy=a+bx,\qquad b=\frac{n\sum xy-\sum x\sum y}{n\sum x^2-(\sum x)^2},\quad a=\bar y-b\bar x

Two lines exist (y on x and x on y); they intersect at (xˉ,yˉ)(\bar x,\bar y) and coincide when r=±1r=\pm1.

Relation: r=±byxbxyr=\pm\sqrt{b_{yx}b_{xy}} and the regression coefficients have the same sign as rr. Correlation shows the strength of association; regression provides the prediction equation.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2023 Spring · 5 marks

Write short notes on: Primary data collection tools

Answer

Primary data are first-hand data collected directly by the investigator for a specific purpose. The main collection tools are:

  • Direct personal interview: The investigator meets respondents face to face. It gives accurate and detailed information but is costly and time consuming.
  • Questionnaire (mail or online): A set of written questions sent to respondents. It covers a wide area cheaply, but response rates are low.
  • Schedule: A form filled in by an enumerator who asks the questions. It suits less educated respondents.
  • Telephone interview: Quick and inexpensive, but limited to people with phones.
  • Observation: The investigator records behaviour directly without questioning, for example traffic counts.
  • Experiment: Data are produced under controlled conditions, for example testing software performance.
  • Focus groups and surveys: Group discussion or sample surveys collect opinions and attitudes.

Primary data are reliable and specific, but collection takes more time, effort and money than using secondary data.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

Questions from PU BCA 2024 Spring Visual Programming (Pokhara University BCA, Spring 2024), PU BCA 2025 Spring Database Management System (New) (Pokhara University BCA, Spring 2025, new syllabus), PU BCA 2025 Spring Database Management System (Old) (Pokhara University BCA, Spring 2025, old syllabus), PU BCA 2024 Spring Database Management System (Pokhara University BCA, Spring 2024), PU BCA 2025 Spring Computer Graphics and Multimedia Technology (New) (Pokhara University BCA, Spring 2025, new syllabus), PU BCA 2025 Spring Computer Graphics and Multimedia Technology (Old) (Pokhara University BCA, Spring 2025, old syllabus), PU BCA 2024 Spring Computer Graphics and Multimedia Technology (Pokhara University BCA, Spring 2024), PU BCA 2023 Spring Computer Graphics and Multimedia (Pokhara University BCA, Spring 2023), PU BCA 2025 Spring Probability and Statistics (New) (Pokhara University BCA, Spring 2025, new syllabus), PU BCA 2025 Spring Fundamentals of Probability and Statistics (Pokhara University BCA, Spring 2025), PU BCA 2024 Spring Fundamentals of Probability and Statistics (Pokhara University BCA, Spring 2024), PU BCA 2023 Spring Fundamentals of Probability and Statistics (Pokhara University BCA, Spring 2023), PU BCA 2025 Spring Software Engineering (New) (Pokhara University BCA, Spring 2025, new syllabus), PU BCA 2025 Spring Software Engineering (Pokhara University BCA, Spring 2025), PU BCA 2024 Spring Software Engineering (Pokhara University BCA, Spring 2024), PU BCA 2023 Spring Software Engineering (Pokhara University BCA, Spring 2023), PU BCA 2022 Fall Software Engineering (Pokhara University BCA, Fall 2022), PU BCA 2021 Spring Software Engineering (Pokhara University BCA, Spring 2021), PU BCA 2025 Spring Web Technologies II (New) (Pokhara University BCA, Spring 2025, new syllabus), PU BCA 2025 Spring Web Technologies II (Pokhara University BCA, Spring 2025), PU BCA 2024 Spring Web Technologies II (Pokhara University BCA, Spring 2024) and PU BCA 2023 Spring Web Technologies II (Pokhara University BCA, Spring 2023). Answers are written for this site; check them against your class notes.