CBSE Class 12 Computer Science Sample Paper 2014 Set 02

Read and download the CBSE Class 12 Computer Science Sample Paper 2014 Set 02, designed by expert teachers according to the latest 2026-27 curriculum and examination pattern issued by CBSE, NCERT, and KVS. These Class 12 Computer Science sample papers include detailed step-by-step solutions, helping students to practice and evaluate their performance against the most recent marking schemes.

Solved Sample Paper for Class 12 Computer Science PDF

Every Class 12 Computer Science student should use these model papers to check chapter-wise marks distribution and question trends. Solving these practice tests makes managing your exam time much easier. For even better results, pair them with our Class 12 Computer Science Question Papers from past years.

Computer Science Sample Papers for Class 12 (2026-27)

1. (a) What is the difference between Global Variable and Local Variable? Also, give a suitable C++ code to illustrate both. 

(b) Which C++ header file(s) will be essentially required to be included to run execute the following C++ code: 

void main()

{

char Msg[ ]="Sunset Gardens";

for (int I=5;I<strlen(Msg);I++)

puts(Msg);

}

(c) Rewrite the following program after removing the syntactical errors (if any).

Underline each correction. 

#include [iostream.h]

class MEMBER

{

int Mno;float Fees;

PUBLIC:

void Register(){cin>>Mno>>Fees;}

void Display{cout<<Mno<<" : "<<Fees<<endl;}

};

void main()

{

MEMBER M;

Register();

M.Display();

}

(d) Find the output of the following program: 

#include <iostream.h>

struct GAME

{ int Score, Bonus;};

void Play(GAME &g, int N=10)

{

g.Score++;g.Bonus+=N;

}

void main()

{

GAME G={110,50};

Play(G,10);

cout<<G.Score<<":"<<G.Bonus<<endl;

Play(G);

cout<<G.Score<<":"<<G.Bonus<<endl;

Play(G,15);

cout<<G.Score<<":"<<G.Bonus<<endl;

}

(e) Find the output of the following program: 

#include <iostream.h>

void Secret(char Str[ ])

{

for (int L=0;Str[L]!='\0';L++);

for (int C=0;C<L/2;C++)

if (Str[C]=='A' || Str[C]=='E')

Str[C]='#';

else

{

char Temp=Str[C];

Str[C]=Str[L-C-1];

Str[L-C-1]=Temp;

}

}

void main()

{

char Message[ ]="ArabSagar";

Secret(Message);

cout<<Message<<endl;

}

(f) In the following program, if the value of Guess entered by the user is 65, what will be the expected output(s) from the following options (i), (ii), (iii) and (iv)? 

#include <iostream.h>

#include <stdlib.h>

void main()

{

int Guess;

randomize();

cin>>Guess;

for (int I=1;I<=4;I++)

{

New=Guess+random(I);

cout<<(char)New;

}

}

(i) ABBC

(ii) ACBA

(iii) BCDA

(iv) CABD

2. (a) What do you understand by Data Encapsulation and Data Hiding? Also, give a suitable C++ code to illustrate both. 

(b) Answer the questions (i) and (ii) after going through the following class: 

class Seminar

{

int Time;

public:

Seminar() //Function 1

{

Time=30;cout<<"Seminar starts now"<<end1;

}

void Lecture() //Function 2

{

cout<<"Lectures in the seminar on"<<end1;

}

Seminar(int Duration) //Function 3

{

Time=Duration;cout<<"Seminar starts now"<<end1;

}

~Seminar()

//Function 4

{

cout<<"Vote of thanks"<<end1;

}

};

i) In Object Oriented Programming, what is Function 4 referred as and when does it get invoked/called?

ii) In Object Oriented Programming, which concept is illustrated by Function 1 and Function 3 together? Write an example illustrating the calls for these functions.



Please click the link below to download full pdf file for CBSE Class 12 Computer Science Sample Paper 2014 Set B

CBSE Class 12 Computer Science Sample Paper 2014 Set 02 & Sample Question Papers for Class 12 Computer Science

How to download CBSE Class 12 Computer Science Sample Paper 2014 Set 02 in PDF?

Retrieve the CBSE Class 12 Computer Science Sample Paper 2014 Set 02 from our portal to kickstart your targeted revision. Familiarity with standard question patterns helps Class 12 students excel in examinations. Practice these recent Computer Science sample sets to cover expected test scenarios effectively. Take advantage of the PDF format option for offline practice, complete with timed home simulations.

Maximize Your Scores with CBSE Class 12 Computer Science Sample Paper 2014 Set 02

  • Exclusive Questions: Explore novel practice items for Computer Science designed to challenge your understanding.
  • Syllabus Mapping: Learn chapter priorities and question styles prevalent in current Class 12 guidelines.
  • Performance Review: Analyze test results to isolate difficult areas in Class 12 Computer Science for remedial study.
  • Speed Enhancement: Solving mixed format questions for Class 12 Computer Science guarantees improved speed and timely paper completion.

Post-Practice Strategy for Class 12 Computer Science

  1. Check Your Work: Match your answers with the solutions given by our teachers in the Computer Science Sample Paper PDF.
  2. Learn from Mistakes: Class 12 students should focus on the questions which you solved incorrectly and understand the error.
  3. Revision: If you find a question difficult you should refer to the NCERT book for Class 12 Computer Science to understand concepts and then try the question again.
  4. Continuous Practice: Solve multiple sets of Computer Science sample papers from our website to build confidence before the CBSE exams.

FAQs

Where can I download the PDF for CBSE Class 12 Computer Science Sample Paper 2014 Set 02?

You can download the complete PDF for CBSE Class 12 Computer Science Sample Paper 2014 Set 02 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.

Are solutions provided for CBSE Class 12 Computer Science Sample Paper 2014 Set 02?

Yes, CBSE Class 12 Computer Science Sample Paper 2014 Set 02 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.

How can practicing CBSE Class 12 Computer Science Sample Paper 2014 Set 02 help in exam preparation?

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.

Is the CBSE Class 12 Computer Science Sample Paper 2014 Set 02 accessible on mobile and tablets?

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 02 on your mobile device.