XII IP CHN 02 QP
XII IP CHN 02 QP
General Instructions:
1. This question paper contains five sections, Section A to E.
2. All questions are compulsory.
3. Section A have 18 questions carrying 01 mark each.
4. Section B has 07 Very Short Answer type questions carrying 02 marks each.
5. Section C has 05 Short Answer type questions carrying 03 marks each.
6. Section D has 02 questions carrying 04 marks each.
7. Section E has 03 questions carrying 05 marks each.
8. All programming questions are to be answered using Python Language only.
SECTION A
1 Which of the following devices can connect different sub networks? 1
a) Hub b) Switch c)Repeater d)Router
2 Digital footprints are stored in local web browser in the form of ___________ 1
a) Browsing history
b) cookies
c) passwords
d) all of the above
3 To display last five rows of a Series S 1
a) S.Head( )
b) S.Tail(5)
c) S.Head(5)
d) S.tail( )
4 The _________ function works with data of multiple rows at a time and returns aggregate value. 1
a) SUM( ) b)AVG( ) c)MAX( ) d) COUNT( )
5 A _______ is used to connect dissimilar networks. 1
a) WAN b) MAN c) LAN d) PAN
6 Which of the following is not a built- in function? 1
a) SUM b)AVG c)MAX d)TOTAL
7 FOSS stands for ____ 1
a) Free and open source software
b) Free and outsource software
c) Free and original software
d) Free and outstanding software
8 For which of the command the output will be MPUT 1
a) Select substr (‘COMPUTER’,3,4)
b) Select str (‘COMPUTER’,3,4)
c) Select substr (‘COMPUTER’,4,3)
d) Select str (‘COMPUTER’,4,3)
9 Which of the following is not an attribute of pandas data frame? 1
a) Length b) T c)Size d)shape
10 Which attribute is used to get total number of elements in a Series? 1
a)itemsize b)size c)shape d)ndim
11 The substr( ) function in MYSQL is an example of ________. 1
a)Date function b)Text function c)Math function d)None of these
12 ___________ is defined as a crime in which computer is the medium of crime. 1
a) Computer crime b) Cyber crime c) Digital crime d) none of these
13 In MYSQL _______ option causes a group function to consider only unique values of the 1
argument expression.
a) DESC b)ORDER BY c) DISTINCT d) none of these
14 Which of the following constitute e- waste? 1
a) Discarded computers
b) Damaged printers
c) Useless CDs
d) All of the above
15 To remove the trailing space from data values in a column of MySQL table, we use 1
a) Left() b) Right() c) Trim() d)Rtrim()
16 _________ means unauthorized use of other’s trademark on products and services. 1
a) Copyright Infringement
b) Trademark Infringement
c) Plagiarism
d) Patent
17 Assertion (A): Internet cookies are text files that contain small pieces of data, like a username, 1
password and user’s preferences while surfing the internet.
Reason (R): To make browsing the Internet faster & easier, its required to store certain
information on the server’s computer.
TABLE: CLOTH
CCODE CNAME SIZE COLOUR PRICE DOP
C001 JEANS XL BLUE 990 2022-01-21
C002 T SHIRT M RED 599 2021-12-12
C003 TROUSER M GREY 399 2021-11-10
C004 SAREE FREE GREEN 1299 2019-11-12
C005 KURTI L WHITE 399 2021-12-07
Write SQL queries using SQL functions to perform the following operations:
i. Display salesman name and bonus after rounding off to zero decimal places.
ii. Display the position of occurrence of the string “TA” in salesman names.
iii. Display the four characters from salesman name starting from second character.
iv. Display the month name for the date of join of salesman.
v. Display the highest salary and lowest salary.
34 Mr.Vinod is the administrator of a school computer network. Help him to take appropriate 5
decision to achieve computer security and safe online access.
(i) Suggest a device to be used to filter network traffic to/from school network to
provide network society.
(ii) Which software he can use to get protection from viruses and spyware.
(iii) Tell him what he has to disable if possible in browser so that online patterns are not
tracked.
(iv) Suggest an active protection mechanism so that he can find a solution to spam.
(v) Suggest one active protection solution to PC intrusion.
35 Plot the following data using a line plot: 5
Day 1 2 3 4 5 6 7
Tickets sold 2000 2800 3000 2500 2300 2500 1000
Before displaying the plot display “ Monday, Tuesday, Wednesday, Thursday, Friday,
Saturday, Sunday” in place of Day 1,2,3,4,5,6,7
Change the color of the line to ‘Magenta’.
OR
Write short notes for the following customization options available in plotting:
i. title()
ii. plot()
iii. legend()
iv. xlabel() , ylabel()
v. grid()