CBSE Class 12 Computer Science Sample Paper 2014 Set D

Read and download the CBSE Class 12 Computer Science Sample Paper 2014 Set D, designed by expert teachers according to the latest 2025-26 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

Our Class 12 Computer Science model papers are important for understanding the weightage of different chapters and the difficulty level of expected questions. By solving these guess papers Class 12 students can identify weak areas and improve time management. We also suggest referring to our Class 12 Computer Science Question Papers of previous years to further strengthen your exam preparation.

Class 12 Computer Science Sample Paper with Solutions

 

1. (a) Differentiate between run time error and syntax error. Give one example of each. 

(b) Name the header files for which the following function belongs: 

 (i) isalnum ( ) (ii) getxy( )

(c) Rewrite the following program after removing all syntactical error(s), if any. Underline each correction:

#include<iostream.h> 

int Digit 6;

void main( )

{

Number = 18;

for (int Cv = 1 : Cv <= 6 ; Cv ++, Number = 3)

if (Number % Digit = 0)

cout<< Number / Digit ;

cout>>endl;

else

cout<< Number + Digit << endl;

}

(d) Give the output of the following program: 

#include<iostream.h>

void main( )

{

int Values [ ] = {2, 4, 8, 10};

int *ptr = Values;

for (int C = 0 ; C < 3 ; C ++)

{

cout<< *ptr << “@”;

ptr ++;

}

cout << endl;

for ( C = 0 ; C <4 ; C++)

{

(*ptr) * = 3;

‒ ‒ptr;

}

for (C = 0; C< 4 ; C++)

cout<< Values [C ] << “%” ;

cout<< endl;

}

(e) Give the output of the following program: 

#include<iostream.h>

void ReCode ( char Text[ ], int Num );

void main ( )

{ char Note [ ] = “Butterfly”;

Recode (Note, 2);

cout << Note <<endl;

}

void ReCode (char Text [ ], int Num)

{ for ( int K = 0 ; Text [K] !=’\0’ ; K++)

if ( K % 2 == 0)

Text [K] = Text [K] ‒ Num;

else if ( islower (Text[K] ))

Text [K] = toupper ( Text [K] )

else

Text[K] = Text[K] + Num;

}

(f) Study the following program and select the correct option(s) out of the four choices given below as the possible set of such numbers generated from the program code. Justify your answer. 

#include<iostream.h> 

#include<stdlib.h>

const int MIN = 25 ;

void main( )

{

randomize ( );

int SCORE = 10 , Num;

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

{

Num = MIN + random (SCORE );

cout << Num << “:”;

SCORE ‒ ‒;

}

}

(i) 34:31:30:33:

(ii) 29:33:30:31:

(iii) 34:31:30:31:

(iv) 34:31:29:33:

2. (a) Explain Constructor overloading with a suitable example in C++. 

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

class Product

{

char P_Type[20];

char P_Name [20];

int Weight;

float Rate;

Product( ) // Function 1

{

strcpy (P_Type, “Steel”);

strcpy (P_Name, Sheet”);

Weight = 3500;

Rate = 500;

public:

void Display ( ) // Function 2

{

cout<< P_Type <<”-“<<P_Name << “:”<< Weight << “@ “<< Rate << endl;

}

};

void main( )

{

Product P; // Statement 1

P.Display ( ); // Statement 2

}

(i) Will Statement 1 initialize all the data members for objects P with the values given in the Function 1? (Yes or No). Justify your answer suggesting the corrections to be made in the above code.

(ii) What shall be the possible output when the program gets executed? (Assuming if required –the suggested corrections are made in the program).


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

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

Students can easily download the CBSE Class 12 Computer Science Sample Paper 2014 Set D from our website to prepare for their upcoming examinations. To score high marks, it is important for Class 12 students to understand the exaact pattern as per which teachers design the question papers. We strongly suggest that you practice these latest sample papers for Computer Science and solve different types of questions that are expected to come this year. You can downloadin PDF format so that you can practice offline. We also recommend that Class 12 students solve these papers actual exam conditions at home.

Why should you solve CBSE Class 12 Computer Science Sample Paper 2014 Set D?

Practicing these model papers has several benefits for Class 12 students:

  • New Question Bank: This set has fresh questions for Computer Science which are different from previous years.
  • Exam Pattern Knowledge: Solving more sets will help you to understand the weightage of each chapter in Class 12 and also the type of questions asked.
  • Identify Weak Areas: Comparing your score in each set to find out topics in Class 12 Computer Science for which you need hard work.
  • Speed and Accuracy: Attempting MCQ questions and long-form problems for Class 12 Computer Science makes you faster and better and you will be able to finish your exam on time.

What should you do after solving CBSE Class 12 Computer Science Sample Paper 2014 Set D?

  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 shoul refer to 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 studiestoday.com to build confidence before the CBSE exams.
Where can I download the PDF for CBSE Class 12 Computer Science Sample Paper 2014 Set D?

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

Yes, CBSE Class 12 Computer Science Sample Paper 2014 Set D 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 D 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 D 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 D on your mobile device.