You are on page 1of 10

CHENNAI SAHODAYA SCHOOL COMPLEX

General Instructions:
1. This question paper contains 10 printed pages.
2. This question paper contains 35 questions.
3. Write down the question number before attempting.
4. An additional reading time of 15 minutes.
5. This question paper contains five sections, Section A to E.
6. All questions are compulsory.
COMMON EXAMINATION
7. Section A have 18 questions
Classcarrying
– 12 01 mark each.
8. Section B has 07 Very Short Answer type questions carrying 02 marks each.
9. Section C has 05 Short Answer type questions carrying 03 marks each.
10. Section D has 03 Long Answer type questions carrying 05 marks each.
11. Section E has 02 questions carrying 04 marks each. One internal choice
isgiven in Q35 against part c only.
12. All programming questions are to be answered using Python Language only.

COMMON EXAMINATION
Class – 12
INFORMATICS PRACTICES(065)
SET - 2
Time Allowed: 3 hours Maximum Marks: 70
Roll No.: Date:dd/mm/yyyy

PART A
1. Pink Fashion Inc. is a fashion company with design unit and market unit 135 m 1
away from each other. The company recently connected their LANs using
Ethernet cable to share the stock related information. But after joining their LANs,
they are not able to share the information due to loss of signal in between. Which
device out of the following should you suggest being installed for a smooth
communication?
i. Repeater
ii. Switch
iii. Hub
iv. Bridge
2. Knowledge and understanding of netiquette is useful 1
because___________________.
i. it will help you create a positive impression on those you meet in
cyberspace.
ii. it explains some of the technical limitations of online communications.
iii. it explains the conventions already being used by millions of cybernauts.
iv. all of the above.

Page 1 of 10
3. Gaining unauthorised access to a network or computer aur digital files with malicious 1
intentions, is called _________. or
i. Cracking
ii. Hacking
iii. Banging
iv. Phishing
4. Which SQL statement is used to display all the data from product table in the 1
decreasing order of price?
i. SELECT * FROM PRODUCT;
ii. SELECT * FROM PRODUCT ORDER BY PRICE;
iii. SELECT * FROM PRODUCT ORDER BY PRICE DESC;
iv. SELECT * FROM PRODUCT ORDER BY DESC;
5. If column “Fees” contains the data set (5000, 8000, 7500, 5000, 8000), 1
what will be the output after the execution of the given query?
SELECT SUM (DISTINCT Fees) FROM student;
i. 20500
ii. 10000
iii. 20000
iv. 33500
6. The unauthorized use or distribution of software is 1
i. Software piracy
ii. Piracy
iii. Software copy
iv. Pirated Software

7. In SQL, which function is used to display current date and time? 1


i. Date ()
ii. Time ()
iii. Current ()
iv. Now ()
8. What is returned by INSTR(„JAVAT POINT‟,‟P‟)? 1
i. 6
ii. 7
iii. POINT
iv. JAVAT
9. To specify condition with a GROUP BY clause, ___________ clause is used. 1
i. USE
ii. WHERE
iii. HAVING
iv. LIKE

Page 2 of 10
10. Given a pandas series called Marks, the command which will display the last 2 1
rows is ___________.
i. print(Marks.tail(2))
ii. print(Marks.Tail(2))
iii. print(Marks.tails(3))
iv. print(Marks.tail())
11. Pandas is a 1
i. Package
ii. Language
iii. Library
iv. Software
12. What will be the output of the given code? 1
import pandas as pd
s=pd.Series([1,2,3,4,5],index=['akram','brijesh','charu','deepika','ers'])
print(s['charu'])
i. 1
ii. 2
iii. 3
iv. 4
13. Which of the following is not done by cyber criminals? 1
i. Unauthorized account access.
ii. Mass attack using trojans as botnets.
iii. Email spoofing and spamming.
iv. Report vulnerability in any system.
14. “COUNT” keyword belongs to which categories in Mysql? 1
i. Aggregate functions
ii. Operators
iii. Clauses
iv. All of the mentioned
15. What is example of e-waste? 1
i. A ripened banana
ii. An old Computer
iii. Old clothes
iv. Empty soda cans
16. The information/art/work that exists in digital form is called ___________. 1
i. E-work
ii. E-asset
iii. Digital property
iv. E-property
Q17 and 18 are ASSERTION AND REASONING based questions. Mark the correct choice as
i. Both A and R are true and R is the correct explanation for A
ii. Both A and R are true and R is not the correct explanation for A
iii. A is True but R is False
iv. A is false but R is True

Page 3 of 10
17. Assertion (A): - Informal processing of electronic waste in general lead to 1
various health and pollution problems.
Reasoning (R):- Electronic waste contains toxic chemicals and metals like lead,
cadmium, mercury etc. When they are disposed on land fills these chemicals get
enter into surrounding soil, ground water and ultimately reaches the human.
18. Assertion (A):- To display the first four elements of a Series object, you may write 1
S[:4].
Reasoning (R): - To display the first five rows of a Series object S, you may use tail()
function.
PART B
19. List any four types of IPR 2

OR
How is it easier to diagnose fault in Star Topology than in Bus Topology?

20. Explain the following function with the example: 2


i. DAY()
ii. DAYNAME()

21. Explain why the following queries give different outputs on execution: 2
(i) SELECT COUNT(NAME) FROM STUDENT;
Output: 6
(ii) SELECT COUNT(*) FROM STUDENT;
Output: 9
22. Pavel is dumping his electronics and computers spares in the junkyard? What is it 2
called as ? How to dispose it off properly?
23. Consider a given DataFrame, DF: 2
Marks Remarks
Term 1 95 Good
Term 2 78 Can do Better
Term 3 98 V Good
Term 4 100 Excellent
Write a program in Python Pandas to create the DataFrame DF.
OR
What can be done to reduce the risk of identity theft? Write any two ways.

Page 4 of 10
24. What will be the output of the following code: 2
import pandas as pd
a=pd.Series([10,20,30,40],index=['a','b','c','d'])
print(a*5)

25. Consider a Series object „Sobj‟, created using following statement: 2


Sobj=pd.Series([11,23,31,61,87,93], index=['a', 'b','c','d','e','f'])
Based on the Series object, Answer the following:
a. Retrieve and print the last two elements.
b. Print the series in reverse order.

SECTION C
26. Write outputs for SQL queries (i) to (iii) which are based on the given table 3
GARMENT:
TABLE: GARMENT
GCODE GNAME SIZE COLOUR PRICE
111 TShirt XL Red 1400.00
112 Jeans L Blue 1600.00
113 Skirt M Black 1100.00
114 Ladies Jacket XL Blue 4000.00
115 Trousers L Brown 1500.00
116 Ladies Top L Pink 1200.00

i. SELECT GNAME, COLOUR FROM GARMENT WHERE


SIZE = "M";
ii. SELECT GNAME, COLOUR FROM GARMENT WHERE
PRICE > = 3000;
iii. SELECT PRICE FROM GARMENT WHERE COLOUR =
"Blue";
27. Sequences section and contribution store the section name ( 'A','B','C','D','E') and 3
contribution (8900,8700,7800,6500,nil) for charity. Your school has decided to
donate more contribution by each section, so donation has been doubled. Write
code to create series object that stores the contribution amount as the values and
section name as indexes with data type as float32.

Page 5 of 10
28. Create multiple line charts on common plot where 4 data ranges are plotted on 3
same chart. The data ranges to be plotted are:
Data=[ [5, 15, 25, 35], [9, 18, 21, 15,], [2, 18, 10, 30], [13, 27, 20, 35] ]

29. What are the merits and demerits of social networking sites? 3
OR
What is Cyber Law and IT Act ? Explain with the help of an example.

30. Consider the following table GAMES. Write SQL commands for the following 3
statements.

GCode GameName Type No. PMoney SDate


101 Carom Board Indoor 2 5000 23-Jan-2004
102 Badminton Outdoor 2 12000 12-Dec-2003
103 Table Tennis Indoor 4 8000 14-Feb-2004
105 Chess Indoor 2 9000 01-Jan-2004
108 Lawn Tennis Outdoor 4 25000 19-Mar-2004
TABLE: GAMES
i. To display the name of all GAMES with their GCode.
ii. To display the content of the GAMES table in ascending
order of SDate.
iii. To display sum of PMoney for each Type of GAMES.

OR
What is the difference between the ORDER BY and GROUP BY clause when
used along with the select statement? Explain with an example.
SECTION D

Page 6 of 10
31. Write the SQL functions which will perform the following operations: 5
i) To display the monthname of the current date
ii) To remove leading spaces from the string,“ PYTHON“.
iii) To display the current date.
iv) To display your name in upper case.
v) To compute the remainder of division between two numbers, n1 and n2.
OR
Explain the following SQL Constraints:
i. NOT NULL
ii. UNIQUE
iii. DEFAULT
iv. PRIMARY KEY
v. FOREIGN KEY
32. Keep Well Medicos Centre has set up its new centre in Dubai. It has four 5
buildings as shown in the diagram given below:

Accounts Research Lab

Store Packaging Unit

Distances between various buildings are as follows:


Accounts to Research Lab 55 m
Accounts to Store 150 m
Store to Packaging Unit 160 m
Packaging Unit to Research Lab 60 m
Accounts to Packaging Unit 125 m
Store to Research Lab 180 m
Number of Computers:
Accounts 25
Research Lab 100
Store 15
Packaging Unit 60
Page 7 of 10
As a network expert, provide the best possible answer for the following queries:
i. Suggest the type of network established between the buildings.
ii. Suggest the most suitable place (i.e., building) to house the server of this
organization.
iii. Suggest the placement of the following devices with justification:
a. Repeater
b. Hub/Switch
iv. Suggest a system(hardware/software) to prevent unauthorized access to or
from the network.
v. Suggest the most suitable wired medium for efficiently connecting each
computer installed in every block out of the following network cables:
 Coaxial Cable
 Ethernet Cable
 Single Pair Telephone Cable
33. Write Python code to plot a bar chart based on the rating of the various games 5
available on the play store as shown below:

Also give suitable python statement to save this chart.


OR

Page 8 of 10
Given below is the sugar levels for men and women in a city. Compare the sugar
levels amongst them through a histogram.
Men : [113, 85, 90, 150, 149, 88, 93, 115, 135, 80, 77, 82, 129]
Women : [67, 98, 89, 120, 133, 150, 84, 69, 89, 79, 120, 112, 100]
SECTION E
34. Mr.Manav, a database administrator in “Global Educational and Training 1+1+2
Institute”, has created the following table named “Training” for the upcoming
training schedule:
TABLE: TRAINING
Trainin Name Email_id Topic City Fee
g_Id
ND01 Mr.Rajan raj@gmail.co Cyber New Delhi 10000
m Security
GU01 Ms.Urvashi urv@yahoo.c ICT Gurugram 15000
om
FD01 Ms.Neena neena@rediff Cyber Faridabad 12000
.com Security
ND02 Mr.Vinay NULL ICT New Delhi 13000
GU02 Me.Naveen nav@gmail.c Cyber Gurugram NULL
om Security
Help him in writing SQL query for the following purpose:
i. To count how many female candidates will be attending the training.
ii. To display list of free trainings.
iii. To display all the cities where Cyber Security training is scheduled along
with its fee.
OR (Option for part iii only)
To add a column „feedback‟ with suitable data type.
35. Mr. Das is working with an IT company, and he has designed the DataFrame df 1+1+2
that contains data about Product and Company details as shown below. Answer
the following questions:
Product Company Qty Price

Page 9 of 10
0 CPU Compaq 40 7000
1 Mouse Compaq 20 500
2 Keyboard HP 10 500
3 Printer Epson 2 4800
4 HD Toshiba 10 2000
5 Plotter Sony 5 8000

Predict the output of the following python statement:


i. df.shape
ii. df[2:5]
iii. Write the command to add new column TotalPrice and calculate
Qty*Price for each product.
OR (Option for part iii only)
Write the command to Add new product Scanner with information
(Scanner, Epson, 2, 8000).

End of paper

Page 10 of 10

You might also like