0% found this document useful (0 votes)
13 views3 pages

Data Science Lab-1: Confirmed Cases 3193886 Recovered 972719 Deaths 227638 Active Cases 1993529 Closed Cases 1200357

gwer

Uploaded by

Khushbu Maurya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views3 pages

Data Science Lab-1: Confirmed Cases 3193886 Recovered 972719 Deaths 227638 Active Cases 1993529 Closed Cases 1200357

gwer

Uploaded by

Khushbu Maurya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

IU2141220041 Data Science

Data Science Lab-1


Read the table given below, and answer questions 1 & 2:

Corona Virus Worldwide Statistics Numbers

Confirmed Cases 3193886


Recovered 972719
Deaths 227638
Active Cases 1993529
Closed Cases 1200357

1. The table above indicates that there were 3,193,886 confirmed Covid 19 cases at
one point in time around the world. The table also shows that 9,72,719 people
recovered. What % of people have recovered from COVID-19?

a) 30.45

2. Out of the 3.1 million confirmed cases, what ____% of people have lost their lives?
b) 7.1

3. There are 6 marbles in a sling bag. Of these 3 are red marbles, 2 are blue marbles
and 1 is a yellow marble. What is the probability of drawing a red marble?

c) ½

4. “Statistics and Probability” is the title of a book. If each letter was carved into a block
and dropped into a bag, what are the chances a person would draw either the letter A
or I from the bag?

e) None of the above

5. From a shuffled deck of 52 cards, a card is drawn randomly. What is the probability
that the card drawn is neither a Queen nor a Heart shaped card?
1
IU2141220041 Data Science

e) None of the above

6. What will be the output for the following code snippet? C=10 d=20 e=5
sum=c+d-e
Print(sum)

b) 25

7. Which of the following is/are valid variable naming convention(s) in Python?

c) age_emp = 45

8. Which of the following is not accepted as a representation of complex numbers in


Python?

c) K=2+3I

9. What is the output of the following expression, 7//2?

b) 3

10. Which of the following function returns a valid list of attributes of the object it is
called upon?

d) dir()

11. An entity that can be different assigned different values is


called____

c) Variable

12. Suppose we have a variable n = 5. If we wanted to print numbers from 1 to the


variable [including n], which loop helps with the iteration?

a) for loop

2
IU2141220041 Data Science

13.Which of the following operators is used to check an “Equal to”


relationship between variables?

d) ==

14. Find the median for from the following numbers: 13,42, 24, 9,11, 18, 11,7
b)11

15. Find the mode for the following sets of numbers:


1) 9, 12, 3, 10, 15, 2, 12, 3, 2, 12 2) 12, 31, 10, 14, 21,
11, 2, 23, 17

c) 12 and No Mode

You might also like