11 IP Sample Paper
11 IP Sample Paper
PRACTICE PAPER
CLASS - XI
INFORMATICS PRACTICES(065)(2023-24)
TIME ALLOWED: 03 HOURS M.M.: 70
QUESTION PAPER
GENERAL INSTRUCTIONS:
SECTION-A
Each question carries 01 marks
Q. QUESTION MARKS
NO.
01. What will be the output of the following code 13 or len(13) 1
02. Which are valid identifiers? 1
a) @ab b)_basicsalary c)4a b d)if
03. C=10 3 Which operator should be used to get the value of c as 1 1
a) /
b) //
c) %
d) None of the mentioned
04. What will be the output of the following code 1
Evaluate the following expression
(a) 10.0 (b) 6.0 (c) 9.0 (d) 12.0
X=3
Print(“ok”)
else:
print(“no output”)
a . ok
b. okok
c. no output
d. none of above
09. Inatable‘Employee’,acolumn‘Occupation’containsmanyduplicatevalues.Which 1
keywordwouldyouuseifyouwishtolistonlydifferentvalues?
(a) Rename (b) Distinct (c) Alter (d) Update
11. Which of the following command is used to remove the rows from a table> 1
(a) Delete (b) Drop (c) Kill (d) Truncate
15. What is the component that used to both read and writes data 1
(a) ROM (b) RAM (c) Hard drive (d) Cache memory
(1) Assertion In Python unlike other type you can change elements of list in place
Reason Lists are mutable sequences
(2) Assertion Any comma-separated group of values creates a listReason Only
group of comma separated values orexpressions enclosed in [] creates a list
SECTION-C
Each question carries 03 marks
26. 3
Differentiate between cloud computing and grid computing with
suitable examples.
27. Write a program in Python to input a number and print whether it is odd or even? 3
30. (a) Mr. Mittal is using a table withfollowingcolumns: Name, Class, Stream_Id, 2+1
Stream_Name. He needs to display names of students who have not been assigned
any stream or have been assigned Stream_Name that ends with ‘computers’. He
wrote the following command, which did not give the desired result.
SELECT Name, Class FROM Students WHERE
stream_Name=NULL or Stream_Name=’%computers’;
Help Mr. Mittal to run the query by removing the error and write correct query.
(b) A table FLIGHT has 4 rows and 2 columns and another table AIRHOSTESS
has 3 rows and 4 columns. How many rows and columns will be there if we obtain
the Cartesian product of these twotables?
SECTION-D
Each question carries 05 marks
31. Consider the table RESULT given below Write commands in MySql for (i) to (iv) 5
and output for
(v) to (vii):
(i) To list the names of those students, who have obtained Division as
FIRST in the ascending orderofName.
1
(ii) To display a report listing NAME, SUBJECT and Annual stipend
received assuming that the stipend column hasmonthlystipend.
1
(iii) To count the number of students, who have either Accounts or
InformaticsasSubject.
1
(iv) To insert a new row in the table Result: 7, "Mohan", 500,
"English",73,"Second";
1
(v) SELECT AVG (Stipend) FROM Result WHERE DIVISION
="THIRD";
(vi) SELECT COUNT(DISTINCT Subject) FROMResult;
(vii) SELECT MIN(Average) FROM Result WHERE Subject ="English";
32. Consider the following table and their structures, which are part of common 5
databases
Customer(customerid,companyname) software(softwareid,
softwarename,operating system, description) licence(licenceid, customerid,
softwareid, dateofpurchase, licencetype,cost,expirydate)
(a) Identify the keys primary keys, alternate keys, foreign keys from each of
the tables
(b) Write the query to display all software for the operating system “linux”
from table software
(c) For the licences purchased after January 1, 2021 the cost has been
increased by 10%. Write a query to achieve this.
33. The employee database has three tables Employee_data(employeeid, firstname, 5
lastname, dateofbirth, gender, level, department number)
Department(department number, department name)
Department_manager(department number, employeeid, role)
(a) Write a DML statement to return the first name and last name of all female
employees in the department number “Fin101”
(b) Write an SQL query to display the details of employees who have been allotted
the department as yet
(c) Display the details of employees belonging to one of these levels (SDE1,
SDE2,SDE3,PM1,PM2)
Section-E (each question carry 4 marks)
34. a) Write a python code to print factorial of number 4
35. Tejvir Singh has created an empty dictionary using the command k= { }. Now he 4
has written following codes without knowing its result. Help him to know the
status of dictionary after execution of each statement( i.e. Items in dictionary after
each statement)
k={ }
a) k[1]=1
b) k[‘1’]=2
c) k[1]=k[1]+1
d) k.pop(‘1’)
************** END OF PAPER*************
KENDRIYA VIDYALAYA SANGATHAN, CHANDIGARH REGION
PRACTICE PAPER
CLASS - XI
INFORMATICS PRACTICES
(2023-24)
TIME ALLOWED: 03 HOURS M.M.: 70
MARKING SCHEME
SECTION-A
Each question carries 01 marks
Q. NO. QUESTION MAR
KS
01. 13 1
02. b)_basicsalary 1
03. c)% 1
04. c) 9.0 1
05. a) ok 1
06. i) 1
07. i) len ( ) 1
08. a 1
09. b 1
10. a 1
11. a 1
12. c 1
13. a 1
14. b 1
15. B RAM 1
16. i)Biometric sensor 1
17. d 1
18. b 1
SECTION-B
Each question carries 02 marks
19. An application software is the set of program necessary to carry out the 2
operations for a specified application eg . Railway Reservation, Hotel
Management etc.
System Software are the type of software that controls the internal
computer operations eg operating systems, device drivers, language
processor.
20. An Interpreter converts HLL program into machine language line and 1+1
simultaneously executes the converted lines. If an error occurs in a line, the
line is displayed and interpreter does not proceed unless the error is fixed
A compiler converts and HLL program in a machine language in one go. If
there are error in the program, it gives the error list along the line numbers.
Once the errors are removed, error-free object code is made available and
after this compiler is no more needed in memory.
21. Linux, Unix, Windows, Macintosh etc. 2
22. Obtaining data and converting into digital form is called dta capturing. It is 2
done by the input device.
(iv) INSERT INTO Result VALUES (7, "Mohan", 500, "English", 73,"Second");
(V) 475 VI 6 (VII) 38
32. (a) Primary key :- custormerid, softwareid, licenceid alternate key, comanyname, 5
combination of softwarename+operating system foreign key cusomerid,softwareid
(b) select * from software where operating system=”linux”
(c) update license set cost=cost+(cost*.10) where dateofpurchase>=”021=01-01”
33. (a) select firstname, lastname from employe_data where gender=”Female” and 5
departmentnumber=”Fin101”
(b) select * from employee_data where departmentnumber is NULL;
(c) select * from employee_data where departmentnumber IN (SDE1,
SDE2,SDE3,PM1,PM2)
Section-E
34 n=int(input()) 4
f=1
for i in range(1,n+1):
f=f*i
print(“factorial is”,f)
35. Tejvir Singh has created an empty dictionary using the command k={ }. Now he 4
has written following codes without knowing its result. Help him to know and
understand the output of the following statements(i.e Dictionary status/items) he
has written:-
k={ } a) {1: 1}
b) {1: 1, '1': 2}
a) k[1]=1
c) {1: 2, '1': 2}
b) k[‘1’]=2
d) {1: 2, 'A': 21}
c) k[1]=k[1]+1
d) k.pop(‘1’) (1 mark each for correct answer )
KENDRIYA VIDYALAYA SANGATHAN
CHANDIGARH REGION
SAMPLEQUESTION PAPER
CLASSXI
SUBJECT:INFORMATICSPRACTICES(065)
GeneralInstructions:
PART A
1 WhichofthefollowingisvalidarithmeticoperatorinPython: 1
(i)//(ii) &&(iii) > (iv)and
2 Outofthefollowing,whichoneisanexampleforUtilitysoftware? 1
a. Operatingsystem
b. Antivirussoftware
c. compiler
d. MSWord
3 In DML,Mstands for 1
a. maintain
b. manage
c. manipulation
d. manipulate
4 Whichofthefollowingiscorrect? 1
a. Keywords canbeusedas avariablename.
b. Variablenamecanstartwithadigit.
c. Variablenamecanstartwithanunderscore.
d. Variablenamecanhavesymbols like: @,#,$ etc.
5 Identifytheoddonefromthefollowing: 1
a. MySQL
b. SQLite
c. Python
d. Oracle
6 considerL=(2,3,4).Whatistheoutputofprint(L*2)a.(2,3,4),(2,3,4 1
)
b.(2,3,4,2,3,4)
c.(2,2,3,3,4,4)
d.error
7 A candidate key that is not a primary key 1
arecalled
a. Superkey
b. AlternateKey
c. PrimaryKey
d. ForeignKey
8 Thedevicecapableofrecognizingapre- 1
specifiedtypeofmarkmadewithdarkpencilorink
a. OCR
b. OMR
c. MICR
d. Barcodereader
9 Evaluate: 1
not(1==1and0!=1)
a. True
b. False
c. Error
d. Cannotsay
10 Thenumberofrowsin arelationis called 1
a. Tuple
b. Attribute
c. Cardinality
d. Degree
11 WhichoneisnotacharacteristicofBigData? 1
a. Volume
b. Variety
c. Velocity
d. Virtual
12 IdentifythecorrectSQLquerytocreateadatabasenamedSCHOOL 1
a. CREATESCHOOL;
b. CREATEDATABASESCHOOL;
c. CREATESCHOOLDATABASE;
d. CREATEDATABASESSCHOOL;
13 1GBisequivalentto 1
a. 210bytes
b. 230bytes
c. 220bytes
d. Noneoftheabove
14 WhichSQLcommandhelpstofetchdatafromarelation. 1
a. Use
b. Show
c. Fetch
d. Select
15 In IoT,T standsfor 1
a. Technology
b. Things
c. Technical
d. Traffic
16 D1={1:‘India’,2:‘Russia’,3:‘World’} 1
D2={‘School’: ‘EOIS’, ‘Place’:
‘Moscow’}print(D1.update(D2))
Writetheoutputoftheabovecode:
a. None
b. {1:'India',2:'Russia',3:'World','School':'EOIS','Place':'Moscow'}
c. Error
d. Noneoftheabove
Q17and18areASSERTIONANDREASONINGbasedquestions.
Markthecorrectchoiceas
i. BothA and RaretrueandRisthecorrect explanation forA
ii. BothAand Raretrueand Risnotthecorrectexplanation forA
iii. AisTruebutRis False
iv. A is falsebutRisTrue
17 Assertion(A):MySQLisopensource. 1
Reason(R):MySQLisnotavailableforfreeofcost.
PART B
19 Distinguishbetweenprimarymemoryandsecondarymemory? 2
OR
Whatisthefunctionofinputdevices?Writeanytwoexamples?
20 Identifythecategory(Freeandopensource/proprietary/Freeware)offollowingsof 2
tware:
a. OpenOffice
b. AdobePhotoshop
c. Skype
d. Python
21 Whatwillbetheoutputofthefollowingcodep=10 2
q=20
p*=q/2q+=p+
q*2print('p=',
p)
print('q=',q)
22 CategorizefollowingcommandsintoDDLandDMLcommands?INSERT,DROP,ALTE 2
R,UPDATE
23 Whatwillbetheoutputofthefollowingprogram?a,b,c=10,20,30 2
a,b,a =
c+2,a+5,c+3print(a,b)
OR
What will be the
output?fornuminrange(2,10,
2):
s=0print(num,end=’’
)s=s+num
print(“sum=”,s)
24 Arvind is learning MySQL for managing different databases andtables for his 2
Python based application/software. Tell him the SQLcommands forthe
following:-
(i) Howtoshowpre-existingdatabases.
(ii) Howto useadesireddatabase
25 Withthehelpofsuitabletable,explaincandidatekeyandalternatekey? 2
PARTC
26 Brieflyexplaincomputersystemwithneatdiagram 3
27 Evaluatethefollowinga.17 3
//5
b.25>10 and50<10
c.15<5or7>10and3>2ornot5d.
28 a. WhatarethedifferentdatatypesinSQL. 1+2
b. DifferentiatebetweencharandvarchardatatypeinSQL?c.
29 a. Explaingridcomputing? 3
b. Listoutthethreecloudcomputingservices?
c. WriteanytwoapplicationsofArtificialIntelligence
OR
Whatisbigdata? What arethecharacteristicsofbig data?
30 Considerthegivenlist,L=[20,30,40,100].Whatwillbetheoutputofthe following: 3
i. print(L*2)
ii. print(L[-2])
iii. print(L.pop())
or
Explainthefollowinglistfunctionswithexample:
i. insert()
ii. remove()
iii. append()
PARTD
31 WriteoutputforSQLqueries(i)to(v)basedonthetable:SCHOOL 5
OR
i. ListoutanytwoexamplesforRDBMS.
ii. Write any two advantages of database over
traditionalfilesystem.
iii. Whatis SQL?
iv. Writethedatatypeforthecolumnteachernameandexperienc
e.
v. WhichSQLclauseisusedtoapplyconditiontoindividual
rows.
32 Limawantstowriteaprogramforcurrencyconversion.Therateforcurrencyconvers 5
ionis1$=₹72.50.Answerthefollowingquestions:rupee=input("Enter the amount
in rupees:")#Statement
1dollar=rupee//72.5#Formulaforconversion#(Statement2)
ifdollar>1:#Statement3
print("Amountindollarsis:",dollar,end='')#Statement4
else:
print("Enter valid amount!!!",end=
'')print("Thankyouforusingcurrencyconverter!")
i.Findouttheerrorinstatement1:
a. Noerror
b. Singlequotationstobeusedinplaceofdoublequotationmarks
c. Typeconversionfunctiontobeused
d. Noneoftheabove
ii.Istheoperatorusedinstatement2correct?Ifnot,whichisthecorrectone?
a. //is correct
b. /
c. %
d. Noneoftheabove
iii.Thecommentusedinstatement2(showninboldletters)is:
a. Singlelinecomment
b. Multilinecomment
c. Inlinecomment
d. Specificcomment
iv.Thebestsuited datatypeforrupeewill be
a. string
b. int
c. float
d. list
v. Suppose the input value rupees is accepted in integer form, thenwhat will
be the output of the above program, when theinput isgiven as200?
33 ConsiderthegiventableandwriteSQLqueriesforthefollowing: 5
i. Tocreatethetableorganisation.
ii. Toaddonemorerowwiththegivenvalues(2006,REENA,DEPUTYMAN
AGER,D001,22-DEC-2012)
iii. Todisplaythepostfromthetableorganisation?
iv. TodisplaythenameandpostofemployeeswhoseSGRADEisD003.
v. TodisplaytheSGRADEandPOSTofallemployees.
OR
Explainthefollowingtermswithanexampletable:
i. Relation
ii. Tuple
iii. Domain
iv. primarykey
v. cardinality
PART E
34 Consider the following table “ACTIVITY” and answer 1+1+2
thefollowingquestionbasedon thistable?
a. Whatisthedegreeandcardinalityofthegiventable?
b. Supposetwomorecolumnsareaddedtothegiventable,thenwhatwillbeth
e cardinalityand degree?
c. Writethenamesofmostappropriatecolumns,whichcanbeconsidered
asPrimary Key.Justify youranswer
OR (Optionfor partconly)
DifferencebetweenDDLandDMLwithexample?
35 Considerthegivendictionary, 1+1+2
D={1:’monday’,2:’Tuesday’,3:’Wednesday’,4:’Thursday’}.
a. Whatwillbetheoutputoffollowingcode:
i. print(D.values())
ii. print(D.get(2))
b. writepythoncodetoadd anewvalue‘Friday‘withindex5.
Or(Option for part bonly)
Writepythoncodetoremovethevalue‘Wednesday’fromthedictionary.
KENDRIYA VIDYALAYASANGATHAN
CHANDIGARH REGION
SAMPLEQUESTION PAPER
CLASSXI
SUBJECT:INFORMATICSPRACTICES(065)
ANSWERKEY
PARTA
1 (i)// 1
2 Antivirussoftware 1
3 Manipulation 1
4 Variablenamecanstartwithanunderscore. 1
5 Python 1
6 b.(2,3,4,2,3,4) 1
7 AlternateKey 1
8 OMR 1
9 False 1
10 Cardinality 1
11 Virtual 1
12 CREATEDATABASESCHOOL; 1
13 230bytes 1
14 Select 1
15 Things 1
16 None 1
17 iii 1
18 i 1
PART B
19 Any two correct differenceOr 2
Functionofinputdevice(1mark),twoeg(1 mark)
20 a. OpenOffice-Freeandopensource 2
b. AdobePhotoshop-Proprietary
c. Skype-Freeware
d. Python-Freeandopensource
21 p=100.0q 2
=160.0
(1markforeach correctanswer)
22 DDL-, DROP, ALTERDML- 2
INSERT,UPDATE
23 3315 2
Or
2468
Sum=8
24 (i) SHOWDATABASES; 2
(ii) USE<DATABASENAME>
25 Candidatekeyandalternatekeywithexample 2
PART C
26 Diagram- 3
1.5markExplanation-
1.5mark
27 a. 3 3
b. False
c. False
28 a. Int,date,float,decimal,char,varchar(Anyfour-1mark0 3
b. Anytwo difference(2 mark)
29 a. A grid is a computer network of geographically dispersed 3
andheterogeneous computational resources. Unlike cloud,
whoseprimary focus is to provide services, a grid is more
applicationspecific and creates a sense of a virtual supercomputer with
anenormous processingpower an storage.(1mark)
b. Infrastructure as a Service (IaaS), Platform as a
Service(PaaS),Software asaService (SaaS)-1 mark
c. (Anytwoapplication)-1mark
Handwriting Recognition, Gaming Intelligent
RobotsNaturalLanguage Processing
OR
(definition-1mark,charctersiticswithexplanation-2mark)
DatasetsofenormousvolumeandcomplexityarecalledBigData.Characteristics of
BigData:
o Volume:Enormoussize.
o Velocity:Rateatwhichthedataunderconsiderationisbeing
generatedandstored.
o Variety : Data set has varied data, such as
structured,semistructuredandunstructureddata.Someexamplesaretext,i
mages,
videos,webpagesandsoon.
o Veracity:Veracityreferstothetrustworthinessofthedata.Bigdatacan
besometimesinconsistent,biased,noisy.
o Value:Bigdatapossesstohavehiddenpatternsandusefulknowledge.
30 a.[20,30,40,100,20,30,40,100] 3
b.40
c.100
or
explanationwitheg,eachcarries1mark
PART D
31 5
i. SELECT*FROMSCHOOLWHERESUBJECT=’EN
GLISH’;
ii. SELECTCODE,TEACHERNAMEFROMSCHOOL;
iii. SELECTSUBJECTFROMSCHOOL;
OR
i. MySQL,oracle,SQlite,Postgres(any two-1mark)
ii. Database facilitates centralized storing, Reduces Datainconsistency,
Reduces data redundancy, Sharing of data ispossible etc
(Anytwocorrectpoints-1 mark)
iii. StructuredQueryLanguage(SQL)isastandardlanguageforaccessing
andmanipulatingdatabases.(1mark)
iv. Teachername-char/varchar(1/2
mark)Experience-int(1/2 mark)
v. WHERE(1mark)
32 i. Typeconversionfunctiontobeused
ii.b./
iii.a.Singlelinecomment
iv.c.float
v.Amountindollarsis:2.0Thankyoufor usingcurrencyconverter!
33 5
i. CREATE TABLE
ORGANISATION(ECODEINT,NAMEVARCHAR(10),POSTVARCHAR
(20),SGRADVARCHAR(4),DOJDATE);
ii. INSERT INTO ORGANISATION VALUES(2006,“REENA”,”DEPUTY
MANAGER”,”D001”,”22-DEC-2012”);
iii. SELECTPOSTFROMORGANISATION;
iv. SELECTNAME,POSTFROMORGANISATIONWHERE
SGRADE=’D003’;
v. SELECTSGRADE,POSTFROMORGANISATION;
OR
i. Relation-TablesinRelationalDatabase
ii. Tuples-Records/Rowsinarelation
iii. Domain-Setofvaluestaken foranattribute
iv. Primarykey -Keyattributethatuniquelyidentifiesatuple
v. Cardinality – No. of Tuples/records in a
relation(explanationwith eg table-1 mark foreach)
PART E
34 a. DEGREE=5,CARDINALITY=5(1mark) 4
b. DEGREE=7,CARDINALITY=5(1mark)
c. ACODE as PRIMARY KEY, Because it is unique and notnull(2 mark)
OR
Anytwodifferencewitheg(2mark)
35 a. i.Monday,Tuesday,Wedneday,Thursday(1mark)ii.Tuesday( 4
1 mark)
b. D[5]=’Friday’(2mark)
Or
delD[3](2 mark)