



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




School of Engineering Islamabad Campus
Student Name Roll No Section Signature
SINGLE A-4 SIZED CHEAT SHEET ALLOWED
(6) pages including this title page.
vague or wrong notation.
of any material classified as ‘useful in the paper’ or else there may a charge of cheating.
make assumptions wherever required, for neither the invigilator will address your
queries, nor the teacher/examiner will come to the examination hall for any assistance.
manual calculations.
cannot be claimed for rechecking.
Q-1 Q-2 Q-3 Q-4 Q-5 Total
Total Marks 20 20 20 20 20 100
Marks Obtained
Assessment of CLO CLO 2 CLO 3 CLO 3 CLO 3 CLO 3
Vetted By: ____________________________ Vetter’s Signature: ____________________
Signature of Invigilator
School of Engineering Islamabad Campus
CLO-02: Solve the probabilistic model with elementary probability theory based on counting
techniques, conditional probability and Bayes rule.
A person shakes a jar filled with 𝒏 balls (marked from 𝟏to𝒏) each time he has to pick a ball,
blindfolded (i.e., randomly).
A. In how many ways can he give 𝒎 balls to person A and 𝒏 − 𝒎 balls to person B?
Only valid when 𝑚 ≤ 𝑛. Emphasis is on number of balls (not specific balls) so
indistinguishability comes in.
B. In how many ways can he give one ball each to 𝒎 people?
0 when 𝑚 > 𝑛.
When 𝑚 ≤ 𝑛, this is same as m-permutations.
C. In how many ways can he give two balls each to 𝒎 people?
0 when 𝑚 >
𝑛
2
When 𝑚 ≤
𝑛
2
, since only then m people will get two balls each, this is same as
2m-permutations.
D. How many 𝒎 digit numbers can he make if he picks a ball, notes its number and
puts it back?
Order matters and is WR. So answer is
𝑚
E. How many 𝒎 digits numbers can he make without repetition if he picks a ball,
notes its number and puts it back?
0 when 𝑚 > 𝑛
When 𝑚 ≤ 𝑛. Order matters and is WOR, so
School of Engineering Islamabad Campus
CLO-03: Solve the probabilistic model with advanced probability theory based on random
variables, probability distributions, and expectations.
[20 Marks] For each of the following specify whether the expression resolves to a value, a
RV or is not a valid expression or question. Place a tick mark in cells that are relevant. Pay
close attention to letters in lower- or upper-case.
1 P[𝑋 = 𝑥] ●
2 𝑝
𝑋
3 E[𝑐] ●
4 E[𝑥] ●
5 E[𝑋] ●
6 𝑋 + E[𝑋] ●
7
8
𝑝
𝑋
2
9 𝑝
𝑋
10 E[𝑝
𝑋
School of Engineering Islamabad Campus
CLO-03: Solve the probabilistic model with advanced probability theory based on random
variables, probability distributions, and expectations.
Let 𝑋 be a discrete random variable with the following PMF:
𝑋
We define a new random variable
as
2
Space for Formulation:
𝑿
i. Find the range of 𝑌.
𝒀
𝟐
𝟐
𝟐
𝟐
𝟐
ii. Find the PMF of 𝑌.
𝒀
𝑿
𝒀
𝑿
𝑿
𝒀
𝑿
𝒀
𝑿
School of Engineering Islamabad Campus
Reference Table 1: Distributions, their Means and Variances
Discrete type PMF, 𝑷
𝑿
(𝒙) Mean, 𝝁
𝑿
Variance, 𝝈
𝑿
𝟐
Bernoulli (𝑝), 𝑝 = Pr (1)
𝑅
𝑋
= {0,1}
1 − 𝑝, 𝑥 = 0
𝑝, 𝑥 = 1
𝑝 𝑝(1 − 𝑝)
Geometric (𝑝)
𝑅
𝑋
= {1,2, …}
1 − 𝑝
𝑥− 1
𝑝
1
𝑝
1 − 𝑝
𝑝
2
Binomial (𝑛, 𝑝)
𝑅
𝑋
= {0,1,2, …, 𝑛}
𝑛
𝑥
1 − 𝑝
𝑛−𝑥
𝑝
𝑥
𝑛𝑝 𝑛𝑝(1 − 𝑝)
Negative Binomial (𝑘, 𝑝)
𝑅
𝑋
= {𝑘, 𝑘 + 1, …}
𝑥 − 1
𝑘 − 1
1 − 𝑝
𝑛−𝑘
𝑝
𝑘
𝑘
𝑝
𝑘(1 − 𝑝)
𝑝
2
Poisson (𝜆)
𝑅
𝑋
= {0,1,2, …}
𝜆
𝑥
𝑒
−𝜆
𝑥!
𝜆 𝜆
Uniform (𝑎, 𝑏), 𝑎, 𝑏-
integers, 𝑎 < 𝑏,
𝑅
𝑋
= {𝑎, 𝑎 + 1, …, 𝑏}
1
𝑏 − 𝑎 + 1
𝑏 + 𝑎
2
𝑏 − 𝑎 𝑏 − 𝑎 + 2
12
Continuous type PDF, 𝒇
𝑿
(𝒙) Mean, 𝝁
𝑿
Variance, 𝝈
𝑿
𝟐
Uniform (𝑎, 𝑏)
1
𝑏 − 𝑎
[𝑢 𝑥 − 𝑎 − 𝑢(𝑥 − 𝑏)]
𝑏 + 𝑎
2
𝑏 − 𝑎
2
12
Beta (
𝑖, 𝑗 ),
𝑖, 𝑗 > 0
integers, 𝑅 𝑋
= (0,1)
𝛽 𝑖, 𝑗 𝑥
𝑖− 1
1 − 𝑥
𝑗− 1
𝛽 𝑖, 𝑗 =
𝑖 + 𝑗 − 1!
𝑖 − 1! 𝑗 − 1!
𝑖
𝑖 + 𝑗
𝑖𝑗
𝑖 + 𝑗
2
𝑖 + 𝑗 + 1
Cauchy (𝑎, 𝑏), 𝑎 > 0
1
𝜋
𝑎
𝑎
2
2
𝑏 ∞
Exponential (𝜆), 𝜆 > 0
−𝜆𝑥
2
Erlang (𝑛, 𝜆), 𝜆 > 0, 𝑛 ≥ 1
is integer
𝑛
𝑛− 1
−𝜆𝑥
2
Gaussian (𝜇, 𝜎) or
2
), 𝜎 > 0
2
−
𝑥−𝜇
2
2 𝜎
2
𝜇 𝜎
2
Gamma (𝑎, 𝑏), 𝑎 >−
1, 𝑏 > 0
𝑎
−
𝑥
𝑏
𝑎+
𝑎 + 1 𝑏 𝑎 + 1 𝑏
2
Laplace (𝑎, 𝑏), 𝑎 > 0
−𝑎 𝑥−𝑏
𝑏
2
𝑎
2
Rayleigh (𝑎), 𝑎 > 0
2
−
𝑎
2
𝑥
2
2
2
2
Pareto (𝛼, 𝜇), 𝛼 > 0, 𝜇 > 0
− 𝛼+
𝛼𝜇
𝛼 − 1
2
2
Maxwell (𝑎), 𝑎 > 0
3
2
−
𝑎
2
𝑥
2
2
2
2
Log-Normal (
𝑎, 𝑏, 𝜎 ),
𝜎 >
0
−
ln 𝑥−𝑎 −𝑏
2
2 𝜎
2
𝑏+
𝜎
2
2
2 𝑏+ 𝜎
2
𝜎
2