CBSE Class 12 Computer Science Sample Paper 2014 Set D

Read and download PDF of CBSE Class 12 Computer Science Sample Paper 2014 Set D designed as per the latest curriculum and examination pattern for Class 12 issued by CBSE, NCERT and KVS. The latest Class 12 Computer Science Sample Papers have been provided with solutions so that the students can solve these practice papers and then compare their answers. This will help them to identify mistakes and improvement areas in Computer Science Class 12 which they need to study more to get better marks in Class 12 exams. After solving these guess papers also refer to solved Class 12 Computer Science Question Papers available on our website to build strong understanding of the subject

Sample Paper for Class 12 Computer Science Pdf

Students can refer to the below Class 12 Computer Science Sample Paper designed to help students understand the pattern of questions that will be asked in Class 12 exams. Please download CBSE Class 12 Computer Science Sample Paper 2014 Set D

Computer Science Class 12 Sample Paper

 

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

CBSE Class 12 Computer Science Sample Paper 2014 Set D

We hope you liked the above provided CBSE Class 12 Computer Science Sample Paper 2014 Set D. To get an understanding of the type of questions which were asked in exams, it is important for Class 12 students to understand the way sample Paper are set by teachers. Students can download the Sample Paper for Class 12 Computer Science which will be coming in the exams so that you can practise them and solve all types of questions that can be asked in exams. By doing CBSE Class 12 Computer Science Sample Paper 2014 Set D you will understand the regular questions and MCQ questions for Class 12 Computer Science which are always asked. You can download CBSE Class 12 Computer Science Sample Paper and Class 12 Computer Science Question Papers in PDF. You should attempt all the last year question paper for Class 12 and Class 12 Computer Science MCQ Test in examination conditions at home and then compare their answers with the solutions provided by our teachers.

Where can I download CBSE Class 12 Computer Science Sample Paper 2014 Set D in Pdf

You can download CBSE Class 12 Computer Science Sample Paper 2014 Set D from StudiesToday.com

How can I improve my scores by solving CBSE Class 12 Computer Science Sample Paper 2014 Set D

Regular practice of sample question paper given on studiestoday for CBSE Class 12 Computer Science Sample Paper 2014 Set D can help you to score better marks in exams

Are there any websites that offer free CBSE Class 12 Computer Science Sample Paper 2014 Set D

Yes, studiestoday.com provides all latest CBSE Class 12 Computer Science Sample Papers with answers based on the latest format issued for current academic session

Are mock CBSE Class 12 Computer Science Sample Paper 2014 Set D available in multiple languages

Yes, mock CBSE Class 12 Computer Science Sample Paper 2014 Set D are available in multiple languages, including English, Hindi