Official CBSE Practice Papers for Class 12 Computer Science
Review targeted exam resources with the CBSE Class 12 Computer Science Sample Paper 2014 Set 05. Built according to official CBSE standards for the 2026-27 academic year, these downloadable Class 12 Computer Science sample papers support effective revision and performance tracking.
Solved Model Papers for Computer Science
View or download the dedicated CBSE Class 12 Computer Science Sample Paper 2014 Set 05 resource below. Engaging with these sample papers under timed conditions ensures continuous academic progress and mastery of the 2026-27 exam format.
a) What is the difference between Auto variables and Static variables? Give an example to illustrate the same.
b) Name the header files for the following functions
(1) cgets
(2) floor
(3) isalpha
(4) gets
c)In the following C++ program what is expected value of myscore from options (i) to (iv) given below.
#include<stdlib.h>
#include<iostream.h>
void main( )
{
randomize( );
int score[]={ 25, 20,34,56, 72, 63};
int myscore=score[2+random(2)];
cout<<myscore<<endl;
}
i) 25 ii) 34 iii) 20 iv) None of these
d)Give the output of thefollowing program (Assuming all required header files are included in the program ).
void swap(char &c1,char &c2)
{
char temp;
temp=c1;
c1=c2;
c2=temp;
}
void update(char *str)
{ int k,j,l1,l2;
l1 = (strlen(str)+1)/2;
l2=strlen(str);
for(k=0,j=l1-1;k<j;k++,j--)
{
if(islower(str[k]))
swap(str[k],str[j]);
}
for(k=l1,j=l2-1;k<j;k++,j--)
{
if(isupper(str[k]))
swap(str[k],str[j]);
}
}
void main()
{
char data[100]={"gOoDLUck"};
cout<<"Original Data : "<<data<<endl;
update(data);
cout<<"Updated Data "<<data;
}
e) Give the output of the following program segment :
void main()
{ int x[] = { 11,22, 33, 55, 112};
int *p = x ;
while(*p<110)
{ if(*p%3 !=0)
*p=*p+1 ;
else
*p=*p+2 ;
P++ ;
}
for( int i=4 ;i>=1 ;i--)
{ cout<<x[i]<< ‘*’ ;
if(i%3= =0 )
cout<<endl ;
} cout<<x[0]*3<<endl ;
}
Q-2 a. Define Multilevel and Multiple Inheritance with example .
b. Define a class ELECTION in C++ with the following descriptions:
Write a suitable main ( ) function also to declare 3 objects of ELECTION type and find the winner and display the details .
Private members :
Data : candidate_name , party , vote_received
Public members :
Functions : Enterdetails ( ) – To input data
Display ( ) – To display the details of the winner
Winner ( ) – To return the details of the winner trough the object after
comparing the votes received by three candidates .
d. Answer the questions (i) to (iv) based on the following code :
class RED 4
{
char n [ 20 ];
void input ( );
protected :
int x , y ;
void read ( );
public :
RED ( );
RED ( int a );
void get_red ( );
void put_red ( );
};
class WHITE : protected RED
{
void a , b ;
protected :
int c , d ;
void get_white( );
public:
WHITE ( );
Void put_white ( );
};
class BLACK : private WHITE
{
void * p ;
char st[20];
protected :
int q;
void get_black( );
public:
BLACK ( );
void put_black ( );
}ob;
a. Name the data members and functions which are accessible by the objects of class BLACK.
b. Give the size of object ob
c. Name the OOPS concept implemented above and its type .
d. Name the members accessible by function get_black( );
3. a) Write a function in C++ to delete a name from a list of names.
b) An array A[13][14] is stored in the memory along the column with each element occupying 4 bytes. Find out the Base address and address of the element A[3][7] if the element A[4][4] is stored at the address 1300.
c) Consider the following portion of a program , which implements names queue for Books . Write the definition of function Insert(), to insert a new node in the queue with required information .
struct Book
{
char names[4][20];
};
class QueueofBooks
{
Book Q[10];
public :
int front ,rear;
QueueofBooks()
{
front=rear=-1;
}
Please click the link below to Download Full Pdf file for CBSE Class 12 Computer Science Sample Paper 2014 Set E
Free study material for Computer Science
Exam Preparation Sample Paper for Class 12 Computer Science CBSE Class 12 Computer Science Sample Paper 2014 Set 05
Class 12 Computer Science CBSE Class 12 Computer Science Sample Paper 2014 Set 05 PDF Download Guide
Review model practice papers for Class 12 Computer Science. Working through the CBSE Class 12 Computer Science Sample Paper 2014 Set 05 under simulated test conditions at home ensures complete familiarity with upcoming school evaluations.
Maximize Your Scores with Model Papers
- Curriculum Insights: Clarify chapter-wise weightage rules and question trends across Class 12.
- Gap Analysis: Check performance drops across sets to isolate specific Class 12 Computer Science topics needing extra attention.
- Time Efficiency: Working through objective and descriptive problems builds critical pacing to finish exams comfortably.
Steps to Follow After Completing CBSE Class 12 Computer Science Sample Paper 2014 Set 05
- Review Solutions: Evaluate your completed papers using expert-verified guidance inside our solution sets.
- Target Weaknesses: Class 12 students should analyze missed questions to rectify conceptual misunderstandings.
- Deep Revision: Re-read sections in the NCERT book for Class 12 Computer Science to clear doubts before solving items again.
FAQs
You can download the complete PDF for CBSE Class 12 Computer Science Sample Paper 2014 Set 05 for free from StudiesToday.com. Our resources for Class 12 Computer Science are updated for the latest academic session and follow the official exam pattern.
Yes, CBSE Class 12 Computer Science Sample Paper 2014 Set 05 comes with detailed, teacher-verified solutions. We have provided step-by-step answers for Computer Science to help students of Class 12 understand correct methodology and marking scheme.
Practicing this Computer Science paper helps in time management and identifying important topics. For Class 12, solving mock papers is the best way to gain confidence and reduce exam-day anxiety.
Yes, all our study materials for Class 12 Computer Science are provided in a mobile-friendly PDF format. You can easily download CBSE Class 12 Computer Science Sample Paper 2014 Set 05 on your mobile device.