12th class of CBSE Board Question Papers for Computer Science - 2014-2015 StudyChaCha

Go Back   2014-2015 StudyChaCha > StudyChaCha Discussion Forum > General Topics




  #1  
Old January 31st, 2014, 11:39 AM
Unregistered
Guest
 
Posts: n/a
Default 12th class of CBSE Board Question Papers for Computer Science

I am looking to get some Question Papers of Class 12th Computer Science CBSE Board. So will you provide the question papers of Computer Science?
Reply With Quote Quick reply to this message
  #2  
Old February 3rd, 2014, 06:06 PM
Administrator
 
Join Date: Dec 2011
Posts: 20,072
Default Re: 12th class of CBSE Board Question Papers for Computer Science

As you want to get the Question Papers of Class 12th Computer Science CBSE Board, so here I am providing the following question papers of Computer Science:

Class 12th Computer Science Paper CBSE Board 2011
1. (a) What is the difference between Local Variable and Global Variable ? Also,
give a suitable C++ code to illustrate both. 2
(b) Write the names of the header files, which is/are essentially required to
run/execute the following C++ code : 1
void main ( )
{
char C, String [ ] = “Excellence Overload”;
for (int I=O ;String [I] != ‘\0’ ;1++)
if (String[I] = = ‘ ’)
cout< else
{
C=toupper (String[1]);
cout< }
91/1 1 [P.T.0.Page 2

91/1
(C)
(d)
Rewrite the following program after removing the syntactical errors (if any).
Underline each correction.
#include [iostreamh]
typedef char Text (80) ;
void main ( )
Text T=“lndian” ;
int Count=strlen (T) ;
cout< }
Find the output of the following program :
# include
void ChangeArray (int Number, int ARR[ ], int Size)
{
for (int L=O; L if (L ARR[L] + = L;
else
ARR[L] *=L;
} r
void Show(int ARR [ ], int Size)
{
for (int L=0; L (L%2!=0) ‘? cout< }
void main ( )
{
int Array [ l I {30, 20, 40, 10, 60, 50 };
ChangeArray (3, Array, 6) ;
Show (Array, 6) ;
lPage 3

(c) Find the output of the following program : 2
# include
void main ( )
{
int Track [ ] = {10, 20, 30, 40}, *Striker;
Striker=Track ;
Track [1] + = 30;
cout<<“Striker>”<<* Striker< * Striker — :10 ;
Striker++ ;
cout<< “Next @” <<* Striker< Striker+=2 ;
cout<< “Last @” <<*Striker< cout << “Reset To” < (D Go through the C++ code shown below, and find out. the possible output or
outputs from the suggested Output Options (i) to (iv). Also, write the least
value and highest value, which can be assigned to the variable Guess. 2
# include
#include
void main ( )
{ .
randomize () ;
int Guess, High=4 ;
Guess=random (High) + 50 ;
for (int CzGuess; c<=55 ; c++)
cout< (i) 50#51#52#53#54#55#
(ii) 52 # 53 # 54# 55
(iii) 53#54#
(iv) 51#52#53#54#55
91/1 3 [P.T.0.Page 4

2. (a) Differentiate between members, which are present within the private visibility
mode with those which are present within the public visibility modes.
(b) Write the output of the following C++ code. Also, write the name of feature of
Object Oriented Programming used in the following program jointly illustrated
by the functions [I] to [IV].
# include
void Print ( ) // Function [I]
{
for (int K=l ; K<=60 ;K++) cout<< “—” ;
cout< }
void Print (int N) // Function [II]
{
for (int K=l ;K<=N ; L++) cout<< “*” ;
cout< }
void Print (int A, int B) // Function [III]
{
for (int K=l ;K<=B ;K++) cout < cout< }
void Print (char T, int N) // Function [IV]
{
for (int K=l ;K<=N ;K++) cout< cout< }
void main ( )
{
int U=9, V:4, W=3;
char C: ‘@’ ;
Print (C, V) ;
Print (U, W) ;
}
91/1 4Page 5

91/1
(11)
(b)
Differentiate between members, which are present within the private visibility
mode with those which are present within the public visibility modes.
Write the output of the following C++ code. Also, write the name of feature of
Object Oriented Programming used in the following program jointly illustrated
by the functions [I] to [IV].
# include
void Print ( ) // Function [I]
{
for (int K=l ; K<=6O ;K++) cout<< “—” ;
cout< }
void Print (int N) // Function [II]
{
for (int K=l ;K<=N ; L++) cout<< “*” ;
cout< }
void Print (int A, int B) // Function [III]
{
for (int K21 ;K<=B ;K++) cout < cout< }
void Print (char T, int N) // Function [IV]
{
for (int K=l ;K<=N ;K++) cout< cout< }
void main ( )
{
int U=9, V=4, W=3;
char C: ‘@’ ;
Print (C, V) ;
Print (U, W) ;
}Page 6

(c)
(d)
91/1
Define a class Candidate in C++ with following description :
Private Members
0 A data member RNo (Registration Number) of type long
0 A data member Name of type string
0 A data member Score of type float
0 A data member Remarks of type string
A member function AssignRem( ) to assign Remarks as per the
Score obtained by a candidate. Score range and the respective
Remarks are shown as follows :
Score
less than 50
Public Members
Remarks
Selected
Not selected
0 A function ENTER( ) to allow user to enter values for RNo, Name,
Score & call function AssignRem( ) to assign the remarks.
0 A function DISPLAY( ) to allow user to view the content of all the
data members.
Answer the questions (i) to (iv) based on the following :
class Student
{
int Rno ;
char Name[20] ;
float Marks ;
protected :
void Result ( ) ;
public :
Student () ;
void Register ( ) ; void Display ( ) ;
} ;
class Faculty
{
long F Code ;
char FName [20] ;Page 7

91/1
(a)
protected :
float Pay ;
public :
Faculty ( ) ;
void Enter ( ) ;
void Show ( ) ;
} ;
class Course : public Student, private Faculty
{
long CCode [10]; char CourseName [50];
char StartDate [8], EndDate [8] ;
public :
Course ( ) ;
void Commence ( ) ;
void CDetail ( ) ;
} ;
(i) Which type of inheritance is illustrated in the above C++ code ?
(ii)
Write the names of all the data members, which is/are accessible from
member function Commence of class Course.
Write the names of member functions, which are accessible from objects
of class Course.
Write the names of all the members, which are accessible from objects of
class Faculty.
(iii)
(iv)
Write a GetlFrom2( ) function in C++ to transfer the content from two arrays
FIRST[ ] and SECOND[ ] to array ALL[ ]. The even places (0, 2, 4, ...) of
array ALL[ ] should get the content from the array FIRST[ ] and odd places
(1, 3, 5, ....) of the array ALL[ ] should get the content from the array
SECOND[ ].
Example :
If the FIRST[ ] array contains
30, 60, 90
And the SECOND[ ] array contains
10, 50, 80
The ALL[ ] array should contain
30, 10, 60, 50, 90, 80Page 8

91/1
(b)
(C)
(d)
(e)
(a)
'An array P[20][50] is stored in the memory along the column with each of its
element occupying 4 bytes, find out the location of P[15][10], if P[O][O] is
stored at 5200. 3
Write a function in C++ to perform Insert operation on a dynamically allocated
Queue containing Passenger details as given in the following definition of
NODE. 4
struct NODE
{
long Pno; //Passenger Number
char Pname[20]; //Passenger Name
NODE *Link;
};
Write a COLSUM( ) function in C++ to find sum of each column of a NXM
Matrix. 2
Evaluate the following postfix notation of expression : 2
50, 60, +, 20, 10, —, *
Observe the program segment given below carefully and fill the blanks marked
as Statement 1 and Statement 2 using seekg( ), seekp( ), tellp( ) and tellg( )
functions for performing the required task. _ l
# include
class PRODUCT
{
int Pno ;char Pname [20] ; int Qty ; _
public :
void ModifyQty ( ) ; // The function is to modify quantity of a
PRODUCT
} ;
void PRODUCT : : ModifyQty ( )
{
fstream File ;
Fil.open (“PRODUCT .DAT”, ios : : binary l ios : : in | ios : : out) ;
int MPno;
cout << “Product No to modify quantity :” ;cin>> MPno ;
7 [P.T.O.Page 9

while (Fil.read ((char*) this, sizeof (PRODUCT) ) )
{
if (MPno= =Pno)
{
cout<< “Present Quantity” < cout<< “Changed Quantityz” ;cin>>Qty ;
int Position = ; // Statement 1
, ; // Statement 2
Fil.write ( (char*) this, sizeof (PRODUCT) ) ; / / Re-writing the
record
}
}
Fil.close( ) ;
}
(b) Write a function in C++ to count the no. of “Me” or “My” words present in a
text file “DIARYTXT”.
If the file “DIARYTXT” content is as follows :
My first book was Me and My
family. It gave me chance to be
known to the world.
The output of the function should be
Count of Me/My in file : 4
(0) Write a function in C++ to search for a laptop from a binary file
“LAPTOPDAT” containing the objects of class LAPTOP (as defined below).
The user should enter the Model No and the function should search and display
the details of the laptop.
class LAPTOP
{
long ModelNo ;
float RAM, HDD ;
char Details [120] ;
public : ‘
void StockEnter () {cin>>ModelNo>>RAM>>HDDi; gets (Details) ; }
void StockDisplay () {cout< long ReturnModelNo ( ) {return ModelNo ;} I I
91/1 8Page 10

5.
91/1
(a)
(b)
(C)
What do you understand by Union & Cartesian Product operations in relational
algebra ? 2
Consider the following tables WORKER and PAYLEVEL and answer (b) and
(0) parts of this question :
Table '. WORKER
ECODE NAME DESIG PLEVEL DOJ DOB
11 ‘Radhe Shyam Supervisor P001 13-Sep-2004 23-Aug-1981
12 Chander Nath Operator P003 ' 22-Feb-2010 12-Jul-1987
13 Fizza Operator P003 14-Jun-2009 14-Oct-1983
15 Ameen Ahmed Mechanic P002 21-Aug-2006 13-Mar-1984
18 Sanya Clerk P002 19-Dec—2005 09-Jun- l 983
Table : PAYLEVEL
PLEVEL PAY ALLOWANCE
P001 26000 12000 ‘
P002 22000 10000
P003 12000 6000
Write SQL commands for the following statements : 4
(i) To display the details of all WORKERS in descending order of DOB.
(ii) To display NAME and DESIG of those WORKERS, whose PLEVEL is
1 either P001 or P002.
(iii) To display the content of all the WORKERS table, whose DOB- is in
between ‘l9-JAN-l984’ and ‘18-JAN-l987’.
(iv) To add a new row with the following :
l9, ‘Daya Kishore’, ‘Operator’, ‘P003’, ‘ l9-Jun-2008’, ‘ll-Jul-l984’
Give the output of the following SQL queries : 2
(i) SELECT COUNT (PLEVEL), PLEVEL FROM WORKER GROUP BY
PLEVEL;
(ii) SELECT MAX(DOB), MIN(DOJ) FROM WORKER;
SELECT Name, Pay FROM WORKER W, PAYLEVEL P
WHERE W.PLEVEL= S.PLEVEL AND P.ECODE<13;
SELECT PLEVEL, PAY+ALLOWANCE FROM PAYLEVEL WHERE
PLEVEL=‘P003 ",
(iii)
(iv)Page 11

6. (a) Verify the following using Truth Table.
U_(U’ + V) = (U+V)
(b) Write the equivalent Boolean Expression for the following Logic Circuit.
X __
Y -EZD—-| ,
(c) Write the POS form of a Boolean function F, which is represented in a truth
table as follows :
A B C F
0 0 0 0
0 0 l l
O l 0 1
O 1 l 0
l O 0 l
1 0 1 O
l 1 0 O
l 1 l 1
((1) Reduce the following Boolean Expression using K-Map :
F (P, Q, R, S) = Z (0, 1, 2, 4, 5,6, 8, 12)
7. (a) Differentiate between packet switching and message switching technique in
network communication. »
(b) Differentiate between BUS and STAR topology of networks.
(c) What is VolP ? ‘ v p
(d) Out of the following, identify client side script(s) and seri/er-side script(s).
(a) ASP (b) Javascript if
(c) VBScript (d) JSP ’ i '
91/1 10Page 12

91/1
(6)
Quick Learn University is setting up its Academic blocks at Prayag Nagar and
planning to set up a network. The university has 3 academic blocks and one
Human Resource Center as shown in the diagram below :
Business
Block
Law
Block
Center to center distances between various blocks/center is as follows :
Law Block to Business Block 40 m
Law Block to Technology Block 80 m
Law Block to HR Center 105 m
Business Block to Technology Block 30 m
Business Block to HR Center 35 m
Technology Block to HR Center 15 m
Number of Computers in each of the Blocks/Centre is follows :
Law Block 15
Technology Block 40
HR Center 1 15
Business Block 25
(e1) Suggest the most suitable place (i.e. Block/Center) to install the server of
this university with a suitable reason.
(e2) Suggest an ideal layout for connecting these blocks/center for a wired
connectivity.
(e3) Which device you will suggest to be placed/installed in each of these
blocks/center to efficiently connect all the computers with in these
blocks/center,
(e4) The university is planning to connect its admission office in the closest
big city, which is more than 250 km from university, which type of
network out of LAN, MAN or WAN will be formed ? Justify your
answer.
11Page 13

(1) Which of the following will come under Cyber Crime ?
(i) Theft of a brand new sealed pack Laptop
(ii) Access to a bank account for getting unauthorized Money Transaction
(iii) Modification in a company data With unauthorized access
(iv) Photocopying a printed report
(g) Compare open sourCe software and proprietary software
__________________
Answered By StudyChaCha

Request
: Support us by liking us on facebook (please click the LIKE button in the Facebook box below, you should be logged in at Facebook to do so)
Reply With Quote Quick reply to this message
Other Discussions related to this topic
Thread
CBSE Board 12th Class Solved Question Papers
12th class of CBSE Board Question Papers for English
12th class of CBSE Board Question Papers for Maths
12th class of CBSE Board Question Papers for Chemistry
12th class of CBSE Board Question Papers for Physics
CBSE Class 12th Solved Question Papers
CBSE class 12th question papers
CBSE class 12th computer Science Paper with solution
Previous year question papers of CBSE 12th class
CBSE 12th Board Computer Science Question Paper
CBSE Class 12th Question Papers with Solutions
CBSE Board Class 12th Chemistry Question paper
CBSE Board Class 12th Biology Question paper
CBSE Board Class 12th Physics Question paper
CBSE Board Class 12th question papers
Previous years question papers of class 12th CBSE of English
Previous years question papers of class 12th CBSE of Physics
Previous years question papers of class 12th CBSE of Maths
Previous years question papers of class 12th CBSE of Chemistry
CBSE 12th Class solved question papers









































Have a Facebook Account? Ask your Question Here



Reply


Share this on...

Reply to this Question / Ask Another Question
Your Name: Click here to log in

Message:
Options

Forum Jump


All times are GMT +6.5. The time now is 10:14 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0 PL2

1 2 3 4 5 6 7 8 9