You are on page 1of 4

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION

PRE BOARD EXAMINATION 2023-24 12INF01 MS


CLASS XII SUBJECT: INFORMATICS PRACTICES (065)
TIME: 03 Hours M.M.:70

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 c) WAN 1
2 c) Installing Antivirus software 1
3 a) S[:4] 1
4 a)Now() 1
5 b)Switch 1
6 c)LENGTH() 1
7 b) Intellectual Property Rights 1
8 c)Select round(69.7654,2) 1
9 d)Pandas 1
10 c) type 1
11 b)instr() 1
12 a)copyright 1
13 b)ORDER BY 1
14 b)An old computer 1
15 c)Trim() 1
16 d)All of the above 1
17 Option a) is correct. 1
18 Option c) is correct. Explanation: To delete a column from Pandas DataFrame, drop () method is 1
used. Columns are deleted by dropping columns with column names
SECTION B
19 Static web page: 2
 Content on the server is served upto any visitor the same(every time)
 Contains simple HTML code
 No additional software is required
Dynamic web page:
 Content on the server is the same, but displays different data depending on information searched
 Contains dynamic code along with simple HTML code
 Additional software must be installed on the server to create the web page.
(1 mark for each correct differentiation)
OR
Four networking goals
i. Resource sharing
ii. Reliability
iii. Cost effective
iv. Fast data sharing (1/2 mark for each goals)
20 import pandas as pd 2
import numpy as np
s=pd.Series([1,2,3,4])
print(s.index)
(1/2 mark for each correction)
21 i. SELECT INSTR(“Informatics Practices Exam”, “mat”); 2
ii. SELECT RIGHT(“Informatics Practices Exam”,6);
(1 mark for each correct query)
22 0 False 2
1 False
2 True
3 False
(2 marks for correct output)
23 Stealing someone’s personal identifying information and pretends to be that person in order to 2
gain some financial benefits. Eg.:- using stolen credit card information.
(2 marks for correct explanation)
24 import pandas as pd 2
import numpy as np
Name = np.array([‘Anil’,’Sumit’,’Akhil’,’Ananya’])
DF = pd. DataFrame(Name)
print(DF)
(1/2 mark for each correct fill-up)
25 i. pow(m,n) returns the value m raise to power n 2
ii. mod(a,b) returns the remainder after a divide by b
(1 mark for each correct explanation )
SECTION C
26 i. SELECT * FROM EXAM WHERE Stream =’Commerce’ ORDER BY Percentage 3
DESC;
ii. SELECT Adno, SName, Percentage FROM EXAM WHERE LENGTH (SName)<6;
iii. INSERT INTO EXAM VALUES (1005,’Ananya’,65.5,’12B’,’Commerce’);
(1 mark for each correct query)
OR
i.
COUNT (*)
4
ii. The given query will result in an error as there is no column named Name in table
EXAM
iii.

ROUND(Percentage ,0)
77
(1 mark for each output)
27 import pandas as pd # Statement 1 3
df=[[“Kavya”,250], [“Ananya”,150], [“Malini”, 185], [“Raja”,320]] #Statement 2
df=pd.DataFrame(df,columns=[“Name”, “Wages”]) #Statement 3
print(df) # Statement 4
(#Statement 1 & 4 – ½ mark each)
(#Statement 2 & 3 –1 mark each)
28 i. “ALL THE BEST “ 3
ii. INFORM
iii. INDIA
(1 mark for each output)
29 i. Cyber Bullying 3
ii. Phishing
iii. Identity theft
(1 mark for each correct answer)
OR
i. The Internet can be addictive
ii. Can have a negative impact on our physical and psychological well being
iii. Muscle and joint problems
iv. Overuse injuries like swelling, pain, joint stiffness, weakness and numbness.
v. Eyestrain
(3 mark for any 3 correct explanation)
30 i. Stock[‘Special_Price’] = [220,115,145,285] 3
ii. Stock.loc[4] =[‘NCDEX’,280]
iii. Stock.drop([‘Price’], axis=1,inplace=True)
(1 mark for each correct statement)
SECTION D
31 i. SELECT * FROM DEVICES ORDER BY PRICE DESC; 4
ii. SELECT CATEGORY, SUM(QTY) FROM DEVICES GROUP BY CATEGORY;
iii. SELECT CATEGORY, AVG(PRICE) FROM DEVICES GROUP BY
CATEGORY;
iv. SELECT CATEGORY, MAX(PRICE) FROM DEVICES GROUP BY
CATEGORY;
(1 mark for each correct query)
32 i. a.15 4
b. City Maxtemp Mintemp Avgtemp Rainfall
1 Mumbai 31 23 27 32.6
2 Chennai 29 21 25 26.2
(1 mark for each correct output)
ii. df=df.drop(2)
or
df,drop(2,axis=0)
(1 mark for correct statement)
iii. df.loc[4]=[‘Calcutta’, 28,19,24,20.1]
(1 mark for correct statement)

SECTION E
33 i. SELECT MONTHNAME(‘2022-10-12’); 5
ii. SELECT LOWER(‘abcd@gmail.com’);
iii. SELECT COUNT(‘SHAHEETH’);
iv. SELECT LTRIM(‘ VANDE BHARAT ‘);
v. SELECT MID(‘MANCHESTER UNITED’,4,5);
(1 mark for each correct query)
OR
i. INSERT INTO EXAM VALUES(6,'Aarav','CS',65);
ii. UPDATE EXAM SET subject= "Informatics Practices" where subject = "IP";
iii. DELETE FROM EXAM WHERE marks <40;
iv. ALTER TABLE EXAM ADD COLUMN Grade varchar(2);
v. Select * from exam where subject="Computer Science";
(1 mark for each correct query)
34 (i) 5

(ii) Training Compound


(iii) (a)Repeater – not required as distance is less than 100 m
(b)hub- training compound
(iv) Optical fiber
(v) WAN
(1 mark for each correct answer)
35 import matplotlib.pyplot as plt 5
x=[1,2,3,4,5]
y=[50,40,70,80,20]
y2=[80,20,20,50,60]
y3=[70,20,60,40,60]
y4=[80,20,20,50,60]
plt.plot(x,y,’g’,label=’Enfield’,linewidth=5)
plt.plot(x,y2,’c’,label=’Honda’,linewidth=5)
plt.plot(x,y3,’k’,label=’Yamaha’,linewidth=5)
plt.plot(x,y4,’y’,label=’KTM’,linewidth=5)
plt.title(‘bike details in line plot’)
plt.ylabel(‘Distance in kms’)
plt.xlabel(‘Days’)
plt.legend()
plt.show()
(5 mark for correct code)
OR
import matplotlib.pyplot as pp
eng = [56,78,90,34]
sci = [65,77,54,32]
maths = [45,67,43,41]
pp.bar(eng,sci,maths)
pp.title(‘Subject Analysis’)
pp.xlabel(‘Marks’)
pp.ylabel(‘Subjects’)
pp.show()
(5 mark for correct code)

You might also like