Você está na página 1de 3

KENDRIYA VIDYALAYA SANGATHAN : HYDERABAD REGION

COMMON PREBOARD EXAMINATION (2013-14) FOR CLASS XII


SUBJECT: COMPUTER SCIENCE(083)
Answer Key
Q.N
o
1

Sub
Questio
n
a)
b)
c)

d)

e)

f)
a)
b)

c)

d)

a)

Answer

Marks
Distribution

Correct Definition
Example
iostream.h
math.h
Header file stdio.h to be included
Colon (:) after public is missing
Semicolon (;) at the end of class
missing
E1.getexamdetails()
E1.showexamdetails
o9
D8
y7
n6
201:250
202:1250
203:7500
Option (iv)
Same function name with different number
and type of arguments.
(i) constructor
overloading/polymorphism/function over
loading.
(ii) destructor, invoked when object goes
out of scope
(i) Correct syntax for class and private
members declaration
(ii) default constructor
(iii) function setPrice() definition
(iv) function setdetails(), display()
definitions
(i) Hierarchical inheritance
(ii) Location, Area, Sale
(iii) Enter(),Show(),Register(),ShowC()
(iv) Input(),Output()
Any correct logic

1+1

+
Mark for each
identified error.

Mark for each


correct line of
output
1 Mark for each
correct line of
output
2 Marks
1 Mark for definition
1 Mark for example
1 Mark each

+
1
1
1
1
1
1
1
3M

b)
c)
d)

e)

a)
b)
c)

a)
b)

1 mark for formula


2 marks for procedure and result
Any correct logic
1 mark for showing step by step stack
contents
1 mark for final answer
void insert()
{
If(rear=size-1 && front ==0||
front=rear+1)
{
cout<<queue full.;
return;
}
else if( rear= -1){
rear++;
front++;}
else if(rear==size-1)
rear=0;
else
{
rear++;
//add element
}
Any other logic
File.seekg(0,ios::end)
File.tellg()
For correct opening of file 1mark
For correct logic for count 1 mark
For correct opening of file 1mark
For selecting correct record 1 mark
For writing to backup file 1mark
Degree No.of columns present in a table
Cardinality No.of rows present in a table
(1) (i) select * from WORKERS ORDER BY
DOJ DESC;
(ii) select NAME,DESIGNATION FROM
WORKERS where PLEVEL IN(P001,
P002);
(iii) select * from WORKERS where DOB
between 10-Mar-1984 and 31-Dec1986;
(iv) insert into WORKERS
values(16,Ketan,Clerk,P002,14-Feb-

1+2
2
1+1

+
1+1
1+1+1

1+1
1+1+1+1
+++

2007, 25-Jan-1984);
(2) (i) PLEVEL
count(*)
P001
1
P002
2
P003
2
(ii) Max(DOB)
Min(DOB)
12-July-1987 23-Aug-1981
(iii) NAME
PAY
Dharaneedhar 24000
Manoj
24000
(iv) PLEVEL
PAY+ALLOWANCE
P002
34000
6

a)

(X + Y) = X Y
(XY) = X + Y

b)
c)
d)

Marks for correct logical circuit


G= PQR+PQR+PQR
One mark for placing all 1s correctly
One mark for grouping properly
One mark for final reduced
expression
Correct diagram and explanation
GSM- Global System for Mobile
Communication
CDMA- Code Division Multiple Access
WLL- Wireless in Local Loop
SMTP Simple Mail Transfer Protocol
(i) Any possible cable layout
(ii) Gamma, More number of computers
(iii) Repeater- Justification with cable type
used
Hub/switch in all buildings
(iv) Any wireless technology can be given 1
Mark
Any two example
Definition

a)
b)

c)

d)
e)

1 Mark each for


proof( algebraically
or using truth table)
2
1
1+1+1

1+1

1+1+1+1

+
1

Você também pode gostar