You are on page 1of 8

Class XII

INFORMATICS PRACTICES (065)


PRE BOARD QUESTION PAPER (2020 - 21)
Marking Scheme

Max. Marks: 70 Time: 3 hours

Section A Total
Questi
on No.
1 i. True 1
ii. False
½ mark for each correct answer
2 legend() 1
1 mark for correct answer
3. 20 1
1 mark for the correct answer
4 print(Sample.tail(3)) 1
1 mark for the correct usage of head()
5 print(S1*S2) 1
1 mark for the correct print() statement
6 statistical 1
1 mark for the correct answer
7 URL 1
1 mark for the correct answer
8 web page 1
1 mark for the correct answer
9 Mesh 1
1 mark for the correct answer
10 Row 1
1 mark for the correct answer
11 Date Function 1
1 mark for the correct answer
12 Phishing scam 1
1 mark for the correct answer
13 Del 1
1 mark for the correct answer
14 Scam 1
1 mark for the correct answer
15 a. Home page 1
1 mark for the correct answer

1
16 cookies 1
1 mark for the correct answer
17 Buy environmentally friendly electronics Donate used electronics 1
to social programs Reuse , refurbish electronics
Recycling e-waste
Any other correct answer to be considered

1 mark for the correct answer


18 alter 1
1 mark for the correct answer
19 Select sysdate(); 1
1 mark for the correct answer
20 Hub 1
1 mark for the correct answer
21 Hacking 1
1 mark for the correct answer
22.(i) b. print(emp.max()) 4
1 mark for the correct answer
(ii) a. emp1=emp[emp[‘empno’]==4]
print(emp1)
d.emp1=emp[emp.empno==4]
print(emp1)

½ mark for mentioning option(a)


½ mark for mentioning option(d)
(iii)
a. both (i) and (ii)

1 mark for stating option “a” as correct answer ½ mark for stating
option “b” as correct answer
(iv) d. print(emp.columns)
1 mark for the correct answer
(v) b. emp [‘Performance’]=[’A’,’A’,’B’,’A’,’B’]
1 mark for the correct answer
23 (i) b. Both (iii) and (iv) 4

iii) select area_covered from schoolbus where transportar


=’Yadav Co.’OR transporter =’Bhalla Co.’;
or
iv) select area_covered from schoolbus where
transporter IN(“Yadav co.”, “Bhalla co.”);
d. Only (iii)
i. iii) select area_covered from schoolbus where transportar
=’Yadav Co.’OR transporter =’Bhalla Co.’;

2
4
1 mark for stating option b as correct answer
½ mark for stating d as correct answer
(ii) b.

Rtn Area_covered Capacity Noofstudents Distance Transporter Charge


o s
8 Paschim Vihar 40 40 20 Speed travels 55000
5 Yamuna Vihar 50 60 20 Bhalla Co. 58000
7 Vasundhara 100 110 20 Yadav Co. 100000

1 mark for the correct answer


(iii) d. Select transportar, max(distance) from schoolbus group by
transportar;

1 mark for the correct answer


iv) Select distance, average(charges) from schoolbus group by distance;
1 mark for the correct answer
(v) a. select transportal,min(capacity) from schoolbus ;
1 mark for the correct answer
Section B
24 import pandas as pd 2
subject=pd.Series([75,78,82,86],index=['ENGLISH','HINDI','MATHS','
SCIENCE'])

½ mark for import statement


½ mark for usage of Series ()
½ mark for stating index as a list
½ mark for creating object subject
25 Differences between CHAR and VARCHAR. 2
(i) CHAR assign fixed memory to the variable
(ii) VARCHAR assign variable memory as per the value of the
variable.
OR
The Where clause is used to give the condition in the select query in
any kind of data being asked.
The Having clause is used to give the condition in the select query
with the Group By clause.

(any other relevant answer)


CHAR v/s VARCHAR
1 mark for each valid point
WHERE v/s HAVING
1 mark for correct explanation 1 mark
for appropriate example
3
26 i. select round(3875.4897,3); ii.select 2
round(3875.4897,-3);
1 mark each for correct answer of part (i) , (ii)
27 i. print(company[company>250]) 2
ii. company.name= 'Profit'
1 mark each for correct answer of part (i) , (ii)
28 This is because the column manager contains a NULL value and the 2
aggregate functions do not take into account NULL values. Thus
Command1 returns the total number of records in the table whereas
Command2 returns the total number of non
NULL values in the column manager.
29 a. select substr("Informatics-Practices", 13); or 2
select substring("Informatics-Practices",13); or
select mid("Informatics-Practices",13); or
select right("Informatics-Practices", 9);

b. select substr("Informatics-Practices" ,6,6); or


select substring("Informatics-Practices", 6,6); or
select mid(("Informatics-Practices" ,6,6);

OR
a. select instr('Computer' ,'ter);
b. select left('Computer',4);
1 mark for each correct answer of part (a) , (b)
30 i. sports[‘Winner’]=[‘Ashoka’,’Raman’,’Shivaji’, ‘Tagore’] 2
ii. sports.loc[‘S5’]=[ ‘s5’ , 5 ,’Handball’, 20]
1 mark for each correct answer
31 a. PPP: Point to Point Protocol 2
b. HTTPs: Hyper Text Transfer Protocol secured
c. VoIP: Voice over Internet Protocol
d. PAN: Personal Area Network

½ marks for each correct full form


32 Net Etiquettes refers to the proper manners and behavior we need to 2
exhibit while being online.

These include :
1. No copyright violation: we should not use copyrighted materials
without the permission of the creator or owner. We should give
proper credit to owners/creators of open source
content when using them.
2. Avoid cyber bullying: Avoid any insulting, degrading or
intimidating online behaviour like repeated
posting of rumours, giving threats online,
posting the victim’s personal information,
or comments aimed to publicly ridicule a victim. Or any
4
other relevant answer.
1 marks for definition of Net Etiquettes
1 mark each for the example with explanation
33 We call this type of activity as Eavesdropping 2
Precautions we can take in this :
• Alert employees.
• Round the clock control over physical access by outsiders to the
area to be protected.
• Continuous supervision/observation of all service personnel
allowed into the area for repairs or to make alterations.
• Thorough inspection by a qualified technical countermeasures
specialist of all new furnishings, decorations, or equipment
brought into the area.
1 mark for naming the activity
1 mark for mentioning any one risk .
34 a. will give the output as: 3
[10,20,25,50,10,20,25,50]

b. will give the output as


0 20
1 40
2 50
3 100

Justification: In the first statement a represents a list so when a list is


multiplied by a number, it is replicated that many number of times.
The second b represents a series. When a series is multiplied by a
value, then each element of the series is multiplied by that number.

1 mark for output of list multiplication


1 mark for output of Series multiplication 1 mark for the justification
35 Phishing is a type of social engineering attack often used to steal user 3
data, including login credentials and credit card numbers.
Example:

URGENT REQUEST (Email Impersonation)

These are targeted and simple forms of phishing emails designed to get
victims to purchase gift cards, or to give up personal email or phone
numbers. The "email compromise" gets its name because the attacker
mimics the email of a known sender.
Or any other relevant example

1 ½ mark for explaining Phishing


1 ½ nark for suitable example
5
OR
The continuous use of devices like smartphones, computer desktop,
laptops, head phones etc cause a lot of health hazards if not
addressed. These are:
i. Impact on bones and joints: wrong posture or long hours of sitting
in an uncomfortable position can cause muscle or bone injury.
ii. Impact on hearing: using headphones or earphones for a
prolonged time and on high volume can cause hearing problems and
in severe cases hearing impairments.
iii. Impact on eyes: This is the most common form of health hazard
as prolonged hours of screen time can lead to extreme strain in the
eyes.
iv. Sleep problem: Bright light from computer devices block a
hormone called melatonin which helps us sleep. Thus we can
experience sleep disorders leading to short sleep cycles.

1 mark for explaination


2 marks for any two correct points
36 import matplotlib.pyplot as plt a = [0,1,2,3,4,5] 3
b = [10,31,26,24,20]
plt.plot(a,b)
plt.show()
1 mark for the import statement
1 mark for appropriate usage of plot() 1 mark
for show()

OR

import matplotlib.pyplot as plt Classes = ['VII','VIII','IX','X']


Students = [40,45,35,44]
plt.barh(classes, students) plt.show()

1 mark for the import statement


1 mark for appropriate usage of pie() 1 mark
for show()
37 a. select company, avg(Price) from toys group by company having 3
Qty>15;
b. select Company, count(distinct name) from toys group by
Company;
c. Select name, sum(Price* Qty) from toys;
d.
e. ½ mark for the Select with avg(), ½ mark for the having clause
f. ½ mark for the Select with count() , ½ mark for group by clause
g. ½ mark for the Select with sum() , ½ mark for the group by clause

6
38 import pandas as pd 5
d1={'T_NO':[1,2,3,4],
'Name':["Pavan","Pulkita","Sugandha","Sahil"],'PB1':[90,85,
70,69], 'PB2':[80,75,72,71]}
toppers=pd.DataFrame(d1) print(toppers)
toppers['Total'] = toppers['PB1']+ toppers ['PB2']
print("Maximum scores are : " ,
max(toppers['PB1']), max(toppers['PB2']))

1 mark for import statement


2 marks for creating the dataframe
1 mark for creating column Total to hold the sum of PB1 & PB2
1 mark for displaying highest scores in PB1 & PB2

39 i) dayname(date(curdate())) 5
ii) ltrim(“ Python“)
iii) monthname(date(dob))
iv) instr(“Information
Technology”,”information”)
v) pow(a,b)
1 mark for each correct answer
OR

i) Select ename, round(bonus,0) from employee;


ii) Select instr(ename, “ee”) from employee;
iii) Select mid(ename,2,4) from employee;
alternative answer
iii) Select Substring(ename,2,4) from employee;
iv) Select dayname(DateofJoin) from employee;
v) Select monthname(DateofJoin) from employee;
1/2 mark each for correct usage of Select and round()
1/2 mark each for correct usage of Select and instr()
1/2 mark each for correct usage of Select and substr()
1/2 mark each for correct usage of Select and monthname()
1/2 mark each for correct usage of Select and dayname()

ii) Note : Instead of substr() , substring() may be accepted as


correct

7
40 5
i) Most suitable layout according to distance is : 1 mark for an
appropriate cable layout

ii) Star Topology


1 mark for correct topology
iii) Broadband.
1 mark for suggesting suitable technology
iv). a. Not required. Repeaters may be skipped as per above
layout (because distance is less than 100 m)
b. In every wing

½ mark for placement of repeater ½ mark for placement of hub


/ switch
iv) Radio Waves
1 mark for the appropriate connectivity mode between HQ and
other offices

You might also like