0% found this document useful (0 votes)
214 views

11 IP Sample Paper

Uploaded by

Twinkle Borasi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
214 views

11 IP Sample Paper

Uploaded by

Twinkle Borasi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 33

KENDRIYA VIDYALAYA SANGATHAN, CHANDIGARH REGION

PRACTICE PAPER
CLASS - XI
INFORMATICS PRACTICES(065)(2023-24)
TIME ALLOWED: 03 HOURS M.M.: 70

QUESTION PAPER

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 03 Long Answer type questions carrying 05 marks each.
7. Section E has 02 questions carrying 04 marks each.
8. All programming questions are to be answered using Python Language only.

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

05. Predict the output of the following code: 1

X=3

If x>2 and x<5 or x==6:

Print(“ok”)

else:
print(“no output”)

a . ok

b. okok

c. no output

d. none of above

06. Identify the type of data L=[2,6,8,10] 1


i)List ii) Tuple iii) Dictionary iv) Boolean
07. Which of the following functions will return length of a dictionary? 1
(a) len( )
(b) length()
(c) items()
(d) all of these
08. What MySql command will be used to open an already existing database 1
“LIBRARY
(a) Use (b) Open (c) Show (d) Delete

09. Inatable‘Employee’,acolumn‘Occupation’containsmanyduplicatevalues.Which 1
keywordwouldyouuseifyouwishtolistonlydifferentvalues?
(a) Rename (b) Distinct (c) Alter (d) Update

10. Identify the wild card character used in LIKE operator? 1


(a) % (b) “ (c) $ (d) #

11. Which of the following command is used to remove the rows from a table> 1
(a) Delete (b) Drop (c) Kill (d) Truncate

12. Which of the following keyword is used to supress duplicate records? 1


(a) IS (b) NULL (c) DISTINCT (d) READ
13. Which of the Key is used to identify the records uniquely in a table? 1
(a) PRIMARY KEY (b) CANDIDATE KEY
(c) ALTERNATE KEY (d) FOREIGN KEY
14. is use to compare NULL values 1
(a) Between (b) is (c) and (d) or

15. What is the component that used to both read and writes data 1
(a) ROM (b) RAM (c) Hard drive (d) Cache memory

16. ……….. Uniquely identifies a person on the basis of physical or behavioural 1


traits such as fingerprints, DNA etc.
i) Touch screen
ii) Biometric sensor
iii) Optical character reader
iv) QR code

17. Example of Artificial Intelligence 1


a. Google Now b. Cortana c. Alexa d. All of the above
18. is a humanoid that uses artificial intelligence, visual data 1
processing, and facial recognition and imitates human gestures and facial
expressions.
a. Rover
b. Sophia
c. Drone
d. None of the above
SECTION-B
Each question carries 02 marks
19. Differentiate between Application and System software. 2
20. Differentiate between Compiler and Interpreter 2
21. Name any four operating systems? 2
22. What is data capturing? 2
23 How many times is the world ‘HELLO’ printed in the following statement? 2
s = 'python rocks'
for ch in s[3 : 8]:
print ("HELLO")
24. What is Difference between DDL and DML 2
25. In the following question a statement of assertion (A) is followed by a statement of 2
reason (R)
(a) Both A and R are true and R is correct explanation of A
(b) Both A and R are true but R is not the correct explanation of A
(c) A is true but R is false for partly true
(d) Both A and R are false or not fully true

(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

28. Write a Program in Python to calculate Simple Interest? 3


29 Write MySql command to create the table SHOP with given structure 3
andconstraint:

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.

23 5 Times ( 2 marks for correct answer ) 2


24. 2
DDL DML
It stands for Data Definition
Language. It stands for Data Manipulation Language.
It is used to create database
It is used to add, retrieve or update the
schema and can be used to
data.
define some constraints as well.
It basically defines the
It add or updates the row of the table.
column (Attributes) of the
These rows are called tuple.
table.
Basic command present in
BASIC command present in DML
DDL are CREATE, DROP,
are UPDATE, INSERT, MERGE etc.
RENAME, ALTER etc.
DDL is used to define the DML is used to manipulate the data
structure of a database. within the database.
DDL is used to create and
modify database objects like DML is used to perform operations on
tables, indexes, views, and the data within those database objects.
constraints.
25. 1a 1+1
2d
SECTION-C
Each question carries 03 marks
26. 3
Cloud Computing Grid Computing
One server to computer several Multiple Servers are allocated on
tasks or services concurrently i,e the Single Application.
Virtualization of services.

It is Service Oriented i.e more Application oriented, i.e. typically


frequently used to support long used for job execution for a limited
services. time.

Multiple Services Single Application


On demand services Maximum computing for
one application.
A central computer server with A decentralized system, which
single access point and spans spans geographically distributed
several computing centres. Like sites and lack of central control.
Google and Amazon.

Virtualization of hardware, Virtualizationof data and


software and storage platforms. computing resources.
Google Drive, One Drive, Mobile GridGain, JPPF, IBo55Cache,
Applications EhCache
27. n=int(input(“Enter the number”)) 3
if n%2==0:
print(“Even No”)
else:
print(“Odd No”)
28. p=int(input(“Enter the Principal”)) 1+2
r=int(input(“Enter the rate”))
t=int(input(“Enter the time”))
i=(p*r*t)/100
print(“Simple Interest is”,i)
29. Create table shop( 3
Fno int primary key,
ename varchar(15)
type char(10),
stock int(3),
price decimal(8,2));
30. SELECT Name, Class FROM Student WHERE stream_Name IS NUL 3
Stream_Name LIKE’%computers’;
Row =12 columns=6
SECTION-D
Each question carries 04 marks
31. (i) SELECT Name FROM Result WHERE Division=’FIRST’ ORDER BYName 5
(ii) SELECT Name, Subject, Stipend*12 AS ‘Annual Stipend’ FROMResult;

(iii) SELECT COUNT(*) FROM Result WHERE Subject=’Accounts’ OR


Subject=’Informatics’;

(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:

1. Thisquestionpapercontains fivesections,Section AtoE.


2. Allquestionsarecompulsory.
3. SectionA have18 questionscarrying 01markeach.
4. SectionBhas07 Very ShortAnswer typequestionscarrying02 markseach.
5. SectionChas05 ShortAnswertypequestionscarrying03 markseach.
6. SectionDhas03 LongAnswertypequestionscarrying05 markseach.
7. SectionEhas02 questionscarrying04 markseach.
8. Allprogramming questionsare to beanswered usingPython Languageonly.

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.

18 Assertion (A) : Python is an interpreted 1


language.Reason(R):pythonexecutesthecodelinebyline.

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

i. SELECT * FROM SCHOOL


WHERESUBJECT=’ENGLISH’;
ii. SELECTCODE,TEACHERNAMEFROMSCHOOL;
iii. SELECTSUBJECTFROMSCHOOL;
iv. SELECTTEACHERNAMEFROMSCHOOLWHEREEXPERIENCE>10;
v. SELECT DOJ FROM SCHOOL
WHERESUBJECT=’CHEMISTRY’OREXPERIENCE=15;

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;

iv. SELECT TEACHERNAME FROM SCHOOL WHEREEXPERIENCE>10;


v. SELECT DOJ FROM SCHOOL
WHERESUBJECT=’CHEMISTRY’OREXPERIENCE=15;

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)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy