Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

CHENNAI SAHODAYA SCHOOL COMPLEX

MARKING SCHEME

CLASS XII

INFORMATICS PRACTICES (065)


SET - 3

TIME: 3 HOURS M.M.70

1. iii. Mesh 1

1 mark for correct answer

2. iii. Browser settings and web server 1

1 mark for correct answer


3. ii. Identity theft 1

1 mark for correct answer

4. iii. 15.9 1

1 mark for correct answer

5. i. 0.25 1

1 mark for correct answer

6. ii. Windows 1

1 mark for correct answer

7. i. cardinality 1

1 mark for correct answer


8. ii. Null values 1

1 mark for correct answer

9. iv. count Correct Answer -- iii. total 1

1 mark for correct answer


10. iii.S=pd.Series(Monument,index=State) 1

1 mark for correct answer


11. ii.Mutable, immutable 1
1 mark for correct answer
12. ii.S[2] 1
1 mark for correct answer
13. iii.Open-source software 1

1 mark for correct answer

14. iv. AGGREGATE 1


1 mark for correct answer

15. i. Copyright 1

1 mark for correct answer

16. 1
iv. She will never be able to delete such photographs since they may
have been copied by someone else.
1 mark for correct answer
17. i. Both A and R are true and R is the correct explanation for A 1
1 mark for correct answer
18. iv. A is false but R is True 1
1 mark for correct answer
19. 2
LAN WAN
Local Area Network Wide Area Network
Limited to a single organization or Span countries and continents
building
Cost of setting up is
Low cost to set up comparatively high
40
Covers a distance of upto 1KM Distance > 25 KM
1 mark each for correct difference
OR
a. Modem is a network device to convert analog signal to digital and
vice versa.
b. A firewall is a network security device that monitors traffic to or
from a network. It allows or blocks traffic based on a defined set
of security rules.
(1 mark for each correct answer)
20. i. DAY(): This function returns the day of the month of a given date. If the 2
date argument is zero, it returns 0. In case, the date is NULL, this
function returns NULL.
Syntax: DAY(date)
e.g.,
SELECT DAY(‘2022-05-19’);
Output
DAY(‘2022-05-19’)
28
ii. DAYNAME(): This function returns the name of week day for a
specified date. It returns string value, means Sunday to Saturday.
Syntax: DAYNAME(date)
e.g.,
SELECT DAYNAME(‘2022-05-17’);
Output
DAY(‘2022-05-17’)
Tuesday
1 mark for correct explanation
1 mark for correct example
21. Aggregate functions ignore NULL values. The first query counts the Not Null 2
values in the column NAME, hence the output is 6.
But the second query counts all the records present in the table STUDENT
which gives the output as 9. Hence, this implies that there are 9 rows in the
table and the NAME column contains the names of only 6 students. 9-6=3, i.e.,
3 names have been left blank. This means that there are 3 null values in the
column NAME.
2 marks for correct explanation
22. Some data and information stored on computer disks is personal and needs to 2
be kept confidential, such as salary, bank details, medical records. If someone,
who is not entitled to see these details, obtains access to them, it is called
unauthorized access.
To ensure confidentiality of information, we should follow these practices:
1. Use Firewall wherever possible.
2. Control browser settings to block tracking.
3. Browse privately wherever possible.
4. Be careful while posting on the internet.
2 marks for correct explanation
23. import pandas as pd 2
list1=[95,78,98,100]
list2=['Good','Can do Better','V Good','Excellent']
index1=['Term 1', 'Term 2', 'Term 3', 'Term 4']
data={"Marks": pd.Series(list1, index=index1),
"Remarks": pd.Series(list2, index=index1)}
DF=pd.DataFrame(data)
print(DF)
or
Any Valid Program that will generate the same output
½ mark for import statement
1 mark for creating the dataframe with index
½ mark for printing the dataframe
OR
a. Use unique IDs to protect your device and accounts
b. Use Biometric Protection
Or any other
1 mark for one way
24. 0 2
V 26.0
X NaN
Y 36.0
Z 87.0
½ mark for each line
25. i. Gr=pd.DataFrame(Grade) 2
ii. Gr[“Marks”]=[97,92,5,89,96,82]
1 mark for each correct answer

26. 3
(i) GNAME COLOUR
Skirt Black
(ii) GNAME COLOUR
Ladies Jacket Blue
(iii) PRICE
1600
4000

1 mark for each correct output


27. import pandas as pd 3
import numpy as np
idx=[ 'A','B','C','D','E']
contr=[8900,8700,7800,6500,None]
s1=pd.Series(data=contr, index=idx,dtype=np.float32)
print("Donation by each section : Rs.")
print(s1)
print("Donation after the amount is doubled: Rs.")
print(s1*2)
½ mark for import statement
1½ mark for creating the series with index and datatype
1 mark for displaying the series
28. import numpy as np 3
import matplotlib.pyplot as plt
Data=[ [5, 15, 25, 35], [9, 18, 21, 15,], [2, 18, 10, 30], [13, 27, 20,35] ]
x=np.arange(4)
plt.plot(x, Data[0], color="b", label="Range1")
plt.plot(x, Data[1], color="g", label="Range1")
plt.plot(x, Data[2], color="r", label="Range1")
plt.plot(x, Data[3], color="y", label="Range1")
plt.legend(loc="upper left")
plt.title("Multirange Line Chart")
plt.xlabel("X")
plt.ylabel("Y")
plt.show()
½ mark for import statement
1½ mark for plot() function
1 mark for show() function
29. Merits 3
1. Easy approachability
2. 24X7
Demerits:
1. Addiction
2. Privacy lost
(1 mark each for naming 2 merits and 2 demerits and 1 for explanation)

OR
The Information act 2000 is an Act of Parliament notified on 17
October,2000. It is the primary law to India dealing with cybercrimes and
electronic commerce. The law apply to the whole of India.
Impact of IT Act.
1. Companies are now able to carry out e-commerce using the legal
infrastructure provided by the act.
2. Digital signatures have been given legal validity and sanctioned in the act.
3. The act now allows government to issue notification on the web. Thus
heralding e-governance.
2 mark for definition and 1 for example
30. i. select GameName, GCode FROM GAMES; 3
ii. select * FROM GAMES ORDER BY SDate;
iii. select SUM(PMoney), Type FROM GAMES GROUP BY Type;
1 mark for each correct query

OR
The ORDER BY clause is used to show the contents of a table / relation in a
sorted manner with respect to the column mentioned after the order by
clause. The contents of the column can be arranged in ascending or descending
order.
The GROUP BY clause is used to group rows in a given column and then apply
an aggregate function.
For example: Suppose we have the following table called people.
2 marks for correct difference
1 mark for correct example
31. i) monthname(date(now())) 5
ii) ltrim(“ PYTHON “)
iii) curdate() or now()
iv) UPPER(name)
v) mod(n1,n2)
1 mark for each correct answer
OR
i. NOT NULL : Ensures that a column cannot have NULL values where
NULL means missing/ unknown / not applicable value.
ii. UNIQUE : Ensures that all the values in a column are distinct/unique.
iii. DEFAULT : A default value specified for the column if no value is
provided.
iv. PRIMARY KEY : The column which can uniquely identify each row or
record in a table.
v. FOREIGN KEY : The column which refers to value of an attribute
defined as primary key in another table.
1 mark for each correct explanation
32. i. Any suitable layout. 5
ii. Star topology.
iii. Server can be placed in training compound as it has maximum no.
of computers.
iv. Repeater is to be placed between the buildings.
Hub/switch can be placed in every building to connect computers
in that building.
v. Optical fibre.
1 Mark for each correct answer
33. import matplotlib.pyplot as plt 5
Games=["Subway Surfer","Temple
Run","Candy Crush","Bottle
Shot","Runner Best"]
Rating=[4.2,4.8,5.0,3.8,4.1]
plt.bar(Games,Rating)
plt.xlabel("Games")
plt.ylabel("Rating")
plt.show()
½ mark for each correct statement

Python statement to save the chart:

plt.savefig("image.jpg")

1 mark for the correct statement

OR
import matplotlib.pyplot as plt
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]
plt.xlabel("Sugar Range")
plt.ylabel("Total No. of Patients")
plt.title("Blood Sugar Analysis")
plt.hist([Men,Women],bins=[80,100,125,150],rwidth=0.95,color=['green','oran
ge'],label=['men','women'])
plt.legend()
plt.show()

½ mark for each correct statement


34. i. Select lower(sname) from Sales; 1+1+2
ii. Select year(DateofJoin) from Sales;
1 mark for each correct query

iii. Select weekday(DateofJoin) from Sales where


month(dateofjoin)=12;
OR
Select length(sname), max(salary) from Sales;
Answer for altered question:
SELECT MAX(SALARY) FROM SALES WHERE LENGTH(SNAME) > 10 AND BONUS IS NOT NULL;
2 marks for correct query
35. i. (6, 4) 1+1+2
ii. Product Company Qty Price
3 Printer Epson 2 4800
4 HD Toshiba 10 2000
1 mark for each correct output

iii. df['TotalPrice']=df[Qty]*df[Price]
OR
df.loc[6]=['Scanner','Epson',2,8000]

2 marks for correct Python statement

You might also like