Python for Data Science - - Unit 2 - Week 0
Python for Data Science - - Unit 2 - Week 0
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
prasenjitdhar.cse@gmail.com
Course outline
Assignment 0
How does an NPTEL Assignment not submitted Due date: 2021-07-26, 23:59 IST.
online course work? Note : This assignment is only for practice purpose and it will not be counted towards the Final score
Week 0
https://onlinecourses.nptel.ac.in/noc21_cs78/unit?unit=16&assessment=87 1/6
7/23/2021 Python for Data Science - - Unit 2 - Week 0
1) Which of the following statements are TRUE in accordance with De Morgan’s laws for 2 given events A and B? 1 point
¯¯¯¯¯¯¯¯¯¯¯¯
¯ ¯¯
¯¯ ¯¯
¯¯
P (A ∪ B) = P (A ∩ B)
¯¯¯¯¯¯¯¯¯¯¯¯
¯ ¯¯
¯¯ ¯¯
¯¯
P (A ∩ B) = P (A) ∩ P (B)
¯¯¯¯¯¯¯¯¯¯¯¯
¯ ¯¯
¯¯ ¯¯
¯¯
P (A ∩ B) = P (A ∪ B)
P (A ∪ B) = P (A) + P (B) − P (A ∩ B)
2) A deck of 52 cards has 2 cards missing. 3 cards are drawn at random and are found to be hearts. What is the probability 1 point
that all the missing cards are hearts? (approx.)
0.0081
0.0572
0.0004
0.0382
Yes, the answer is correct.
Score: 1
Accepted Answers:
0.0382
3) Determine the total number of outcomes in the sample space if 2 letters are chosen from the letters a, e, i, o, u with 1 point
repetition
25
10
20
https://onlinecourses.nptel.ac.in/noc21_cs78/unit?unit=16&assessment=87 2/6
7/23/2021 Python for Data Science - - Unit 2 - Week 0
32
Yes, the answer is correct.
Score: 1
Accepted Answers:
25
P(B)
0
P(A)
P(A) / P(B)
Yes, the answer is correct.
Score: 1
Accepted Answers:
P(A)
−1
k. A
−1
A /k
−1 k
(A )
−1
|kA |. A
6) For normally distributed data, which of the following options are TRUE? 1 point
https://onlinecourses.nptel.ac.in/noc21_cs78/unit?unit=16&assessment=87 3/6
7/23/2021 Python for Data Science - - Unit 2 - Week 0
90% of the population (data) falls within 3 standard deviations from the mean
None of the above
Partially Correct.
Score: 0.5
Accepted Answers:
The values of mean and median are equal
68.2% of the population (data) falls within 1 standard deviation from the mean
7) 3 natural numbers are chosen at random. What is the probability that their product always yields an odd number? 1 point
2/3
1/8
1/6
1/2
No, the answer is incorrect.
Score: 0
Accepted Answers:
1/8
n!
(n / 2) + 1
(n + 1) / 2
n2
Yes, the answer is correct.
Score: 1
Accepted Answers:
(n + 1) / 2
9) Given [x 1 , x 2 , x 3 , . . . , x n ] are the possible values of a random variable X , and p 1 , p 2 , p 3 , . . . , p n be the 1 point
corresponding probabilities of obtaining each value x 1 , x 2 , x 3 , . . . , x n of the random variable. The mean is computed by the
formula
https://onlinecourses.nptel.ac.in/noc21_cs78/unit?unit=16&assessment=87 4/6
7/23/2021 Python for Data Science - - Unit 2 - Week 0
∑ pixi
i=1
∑ pi
i=1
∑ pixi
i=1
∑ xi
i=1
∑ pixi
i=1
TRUE
FALSE
Yes, the answer is correct.
Score: 1
Accepted Answers:
TRUE
You may submit any number of times before the due date. The final submission will be considered for grading.
Check Answers
https://onlinecourses.nptel.ac.in/noc21_cs78/unit?unit=16&assessment=87 5/6
7/23/2021 Python for Data Science - - Unit 2 - Week 0
Submit Answers
https://onlinecourses.nptel.ac.in/noc21_cs78/unit?unit=16&assessment=87 6/6