Assignment 1 PDF

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

National University

of Computer & Emerging Sciences FAST Peshawar Campus


Program: BS (EE)
Semester: Fall 2020 Examination: Assignment 1
Total Marks: 10 Weightage: 02
Course: EE319-Probability and Random
Date: October 12, 2020
Processes
Instructor: Bushra Tahir
Submission Deadline: October 18, 2020

NOTE: Attempt all the questions. Each question carries equal marks. [CLO1, PLO1]

Q1. Computer programs are classified by the length of the source code and by the execution time. Programs with more than 150 lines in
the source code are big (B). Programs with<150 lines are little (L). Fast programs (F) run in less than 0.1 seconds. Slow programs (W)
require at least 0.1 seconds. Monitor a program executed by a computer. Observe the length of the source code and the run time. The
probability model for this experiment contains the following information: P [LF] =0.5, P [BF] =0.2 and P [BW] =0.2. What is the
sample space of the experiment? Calculate the following probabilities:
(a) P [W]
(b) P [B]
(c) P [W UB]

Q2. You have a six-sided die that you roll once. Let Ri denote the event that the roll is i. Let Gj denote the event that the roll is greater
than j. Let E denote the event that the roll of the die is even numbered.
(a) What is P [R3|G1], the conditional probability that 3 is rolled given that the roll is greater than1?
(b) What is the conditional probability that 6 is rolled given that the roll is greater than 3?
(c) What is P [G3|E], the conditional probability that the roll is greater than 3 given that the roll is even?
(d) Given that the roll is greater than 3, what is the conditional probability that the roll is even?

Q3. In an experiment with equiprobable outcomes, the event space is S={1,2,3,4} and P[S]= 1/4 for all s € S. Find three events in S that
are pairwise independent but are not independent. (Note: pairwise independent events meet the first three conditions of Definition 1.7)

Q4. A machine produces photo detectors in pairs. Tests show that the first photo detector is acceptable with probability 3/5. When the
first photo detector is acceptable, the second photo detector is acceptable with probability 4/5. Otherwise, if the first photo detector is
defective, the second photo detector is acceptable with probability 2/5.
(a) What is the probability that exactly one photo detector of a pair is acceptable?
(b) What is the probability that both photo detectors in a pair are defective?

Q5. You have two biased coins. Coin A comes up heads with probability 1/4. Coin B comes up heads with probability 3/4. However,
you are not sure which is which so you flip each coin once where the first coin you flip is chosen randomly. Use Hi and Ti to denote the
result of flip i. Let A1 be the event that coin A was flipped first. Let B1 be the event that coin B was flipped first. What is P [H1H2]?
Are H1 and H2 independent? Please explain your answer

GOOD LUCK!

You might also like