Worksheet 2 - Answers
Worksheet 2 - Answers
Q. 12:
Assertion (A) : Social media are websites or applications that enable their users to participate in social networking but
they cannot create and share content with others in the community.
Reason (R) : We should not waste precious time in responding to unnecessary emails or comments unless they have
some relevance for us.
Company is storing the above information in a CSV file “Qtrly_Sales.csv”. Mr. Rohit is a programmer.
Company has given him the responsibility to create the program to visualise the above data. He wrote Python code
but he is facing some difficulties. Help him by giving the solutions of following situation:
Python code:
1 import pandas as pd
2 import as plt
3 df= ("Qtrly_Sales.csv")
4 df.plot( ='bar', color=['red','blue','brown',’green’])
5 plt. ('Quarterly Report')
Worksheet – 2
Workshop on Pandas with Lovejeet Ar.
Answers
6 plt.xlabel('Salesman')
7 plt.ylabel('Sales') 8
plt. ()
Ans. D
2. Choose the correct option to read the csv file in line 3
A. read_csv B. pd.read_csv
C. pd.get_csv D. get_csv
Ans B
3. Choose the correct option to select the type of graph in line 4
A. type B. kind
C. style D. graph
Ans B
4. Choose the correct word to give the heading in line 5
A. label B. heading
C. title D. caption
Ans C
5. Choose the correct word to display the graph in line 8
A. plot() B. display()
C. showgraph() D. show()
Ans D
Q.14. Abhishek uses computer and mobile for his personal use. Study the following cases and answer the
questions given below.
(1) Once he got the message in Whatsapp that CBSE is announcing the result of class XII tomorrow at
12:00 pm. He forwarded the message to his few friends. But later he came to know that no such
announcement was there in CBSE official web-site.
(2) He is visiting several web-sites.
(3) He is getting abuse messages from an unknown number due to which he is thinking of quarreling with that
person.
(4) He registered himself in one website by giving his email id and phone number but later his friend told him
about the concept of digital footprint. He is now thinking about canceling the registration so that his personal
information can be deleted from that website.
(5) He uploaded one video in his youtube channel where he used one background music downloaded from
somewhere on Internet
Worksheet – 2
Workshop on Pandas with Lovejeet Ar.
Answers
a. In case (1), he is violating :
A. net etiquettes B. Communication etiquettes
C. copy right D. None of the above
Ans B
b. In case (2) , he is leaving:
A. Active digital footprint B. Passive digital footprint
C. There is no chance of any digital footprint
D. None of the above
Ans B