Informatics Practices - Marking Scheme

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

Class XII

INFORMATICS PRACTICES (065)


MARKING SCHEME

Max Marks: 70 Time: 3 hrs

General Instructions:

1. This question paper contains two parts A and B. Each part is compulsory.
2. Both Part A and Part B have choices.
3. Part-A has 2 sections:
a. Section – I is short answer questions, to be answered in one word or one line.
b. Section – II has two case studies questions. Each case study has 4 case-based subparts. An
examinee is to attempt any 4 out of the 5 subparts.
4. Part - B is Descriptive Paper.
5. Part- B has three sections
a. Section-I is short answer questions of 2 marks each in which two questions have internal options.
b. Section-II is long answer questions of 3 marks each in which two questions have internal options.
c. Section-III is very long answer questions of 5 marks each in which one question has question has
internal option

Part - A
Section - I Attempt any 15 questions from questions 1 to 2
1 5 1
2 rename 1
3 [30 40 50 60 70] 1
4 a) print(Sequences.head(4)) 1
5 8 1
6 columns 1
7 13 1
8 2.46 1
9 select name,sal,designation where discount is null; 1
10 d) All of these 1
11 Switch 1
12 Information Technology Act 2000. 1
13 SMTP 1
14 c. Mesh 1
15 email 1
16 Identity Theft 1
17 a. World Wide Web (WWW) 1
18 A remixed song is not an intellectual property 1
19 b. drop 1
20 a. Remove duplicate values in the result 1
21 KOL 1
Section -II
22 a. df=df.rename(index={0:'USA',1:'SPA',2:'ITA',3:'UK',4:'FR',5:'GER'}) 4
b. df['Capital']=['Washington','Madrid','Rome','Londan','Paris','Berlin']
c. df.loc[:, ‘Deaths’].median( )
d. df1.head(3)
e. df = df.drop([Region'], axis=1)

(1 marks for each correct answer)


23 a. select * from teacher where name like ‘N%’; 4
b. update teacher set salary=salary*1.10;
c. select distinct department from teacher;
d. select * from from Teacher where salary<50000;
e. select name from Teacher where salary between 40000 and 70000;
(1 marks for each correct answer)
Part - B
Section – I
24 import pandas as pd 2
m1=pd.Series([45,65,24,89],index=['term1','term2','t erm3','term4'])

½ mark for import statement


½ mark for usage of Series ()
½ mark for stating index as a list
½ mark for creating object m1
25 import matplotlib.pyplot as plt 2
import numpy as np
objects=(‘2015’, 2016’, ‘2017’, ‘2018’)
y_pos=np.arrange(len(objects))
percentage=[82,83,85,90]
plt.bar(y_pos, percentage, align=’Centre’, color=’Blue’)
plt.xticks(y_pos,objects)
plt.ylabel(“Pass Percentage”)
plt.xlabel(‘Years’)
plt.show()

(½ mark for each import statement)


(½ mark for using arange())
(½ mark for using plot statement, labeling the axes and show())

or

Pandas Series is a one-dimensional labeled array capable of holding data of any type (integer,
string, float, python objects, etc.). The axis labels are collectively called index.
Example
Import pandas as pd # simple array
data =pd.Series([1,2,3,4,5])
print(data)

(1 mark for definition and 1 mark for example)


26 i.select round(459.2654); 2
ii. select round(459.2654,-2);

(1 mark each for correct answer of part (i) , (ii))


27 (i) Where clause is used to show data set for a table based on a condition and having clause 2
is used to put condition on the result set that comes after using Group by clause.
(ii) COUNT(*) returns the number of items in a group, including NULL values and duplicates.
COUNT(expression) evaluates expression for each row in a group and returns the number
of non null values.

( 1 mark for each correct difference)


28 a. select substr("Preoccupied", 4); or select substring("Preoccupied", 4); or select 2
mid("Preoccupied",4); or select right("Preoccupied"”, 8);

b. select substr("Preoccupied" ,6,3); or select substring("Preoccupied", 6,3); or select


mid("Preoccupied" ,6,3);

(1 mark for each correct answer of part (a) , (b))

OR

a. select instr( 'Preoccupied' , 'cup');


b. select left ('Preoccupied',4);

(1 marks for each correct answer)


29 a. df['Total']=df['Score1']+df['Score1'] 2
b. df[['Score1','Score2']].agg('max')
(1 marks for each correct answer)
30 a. select ltrim(‘ hello world’); 2
b. Distinct keyword is used to remove the duplicate values from a column.

(1 marks for each correct answer)


31 Different types of ICT tools assist people with learning disabilities to achieve positive outcomes. 2
They are : Talking Word processors Screen Readers Conversion of local language to Braille Eye
Tracking mouse

(1 mark for each correct point or any other correct point)


32 (i) Hyper text transfer protocol (ii) File transfer protocol (iii) Voice over internet protocol 2
(iv) Secure shell

(1/2 mark for each correct expansion)


33 (i) Bank Fraud (ii) Identity Theft 2

(1 mark for each correct answer)


Section -II
34 Role of Social Media Campaigns:- A social media campaign should focus around a singular 3
business goal, whether it's on Facebook or Instagram. Common goals for a social media
campaigns include:
 Getting feedback from users.
 Building email marketing lists
 Increasing website traffic

Crowdsourcing is the practice of engaging a ‘crowd’ or group for a common goal — often
innovation, problem solving, or efficiency. It is powered by new technologies, social media
and web 2.0. Crowdsourcing can take place on many different levels and across various
industries.
Smart mobs, so named because each person in the group uses technology to receive
information on where to go and what to do. This ability to stay on top of current events
makes smart mobs extremely effective.

(1 mark for one correct role of social media campaign, 1 mark for one correct role of
Crowdsourcing and 1 mark for one correct role of Smart mob)

OR
a. Give Your Electronic Waste to a Certified E-Waste Recycler
b. Donating Your Outdated Technology
c. Give Back to Your Electronic Companies and Drop Off Points.

(1 mark for each correct ways of disposing e waste)


35 (i) COUNT(*) City 3
2 Mumbai
2 Delhi
2 Moscow
(ii) MAX(DOB) MIN(DOB)
08-12-1995 07-05-1993

(iii) NAME GENDER


Sanal F
Store M

(1 mark for each correct output)


36 (i) print(df.mean(axis = 1)) print(df.mean(axis = 0)) 3
(ii) print(df.sum(axis = 1))
(iii) print(df.median())

marks (1 mark for each correct code )

OR
a b
first 10 20
second 6 32

a b1
first 10 NaN
second 6 NaN

(½ mark for each correct output)


37 import matplotlib.pyplot as plt 3
marks=[12,8,14,16,12,13,15,7,6,14,14,12,18,20,15,18,14,16,13]
bins=[0,5,10,15,20]
plt.hist(marks, bins, histtype='stepfilled')
plt.ylabel('No of students')
plt.xlabel('Marks')
plt.show()
( 1/2 mark for the import statement 1 mark for appropriate usage of hist()
1/2 mark for xlabel, ylabel and show() )
Section III
38 import pandas as pd 5
dict={'Ram':[90,98,94,59,87],'Laxman':[97,69,78,67,56],'Bharat':[46,59,58,90,97]}
df=pd.DataFrame(dict, index=['Hindi','Eng','IP','Geo','Eco'])

a. df['Satrughna']=[90,60,70,80,40]
b. s=pd.Series([59,67,78,89],index=['Ram','Laxman','Bh arat','Satrughna'], name='His')
df=df.append(s)
c. df.drop(columns='Ram',axis=1)

(2 marks for creating dataframe( 1/2 marks for import, ½ for creating dictionary, 1 for creating
dataframe) )

(One marks for each section )


39 a. HR Center, it has maximum no of computers 5
b.

or

c. Switch
d. No repeater in 1st scenario, 1 repeater between HR and law block
e. Firewall
(1 marks for each correct answer)
40 a. ItemNo 5
b. Degreee=4, Cardinality=7
c. Insert into STORE (ItemNo, ItemName, Scode ) values(2008, “Note Book” , 28).
d. Update STORE set quantity=120 where ItemName=’sharpener’
e. Alter table STORE add price float

(1 marks for each correct answer)

OR

a. SELECT COMPANY.NAME FROM COMPANY,CUSTOMER WHERECOMPANY.CID =


CUSTOMER.CID AND CUSTOMER.PRICE <30000;
b. SELECT NAME FROM COMPANY ORDER BY NAME DESC;
c. UPADE CUSTOMER SET PRICE = PRICE+1000 WHERE NAME LIKE ‘S%’;
d.
PRODUCTNAME CITY PRICE
MOBILE MUMBAI 70000
MOBILE MUMBAI 25000

e. 12

(1 marks for each correct answer)

You might also like