CBSE Class 12 Computer Science Sample Paper 2014 Set C

Read and download PDF of CBSE Class 12 Computer Science Sample Paper 2014 Set C 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 C

Computer Science Class 12 Sample Paper

 

1. a) What are dynamic memory allocation operators in C++? Explain with example.

Ans. . In c++ dynamic memory allocation operators allocate/deallocate memory from the free store. They are : “new” operator : This operator can be used to allocate the memory dynamically. For ex. :- int *a = new int;

“delete” operator : When an object created by ‘new’ is no longer required, it must be destroyed so that the memory space occupied by it may be released for re-use. This can be done by ‘delete’ operator.

For ex. delete a ;

2. b) Which C++ header files will be essentially required to be included to execute the following code :

void main( )

{ int stuno=5;

char sname[ ]=”Kiara Joshi”;

cout<<setw(10)<<stuno<<endl;

puts(sname); }

Ans. <iomanip.h>, <stdio.h> & <iostream.h>

c) Rewrite the following program after removing all the syntactical errors underlining each correction. (if any) : #include<iostream.h>

class

{ int a;

static int b; //must be defined outside

public:

float c; //must not be initialized here

void INPUT( )

{ cin>>a>>c; }

void SHOW( )

{ cout<<b<<endl; }

static void PRN( )

{ cout<<b; } //can access only static data member

}; //must have a terminator 2

d) Give the output of the following program ( Assuming that all required header files are included in the program ) :

#include<iostream.h>

struct TD

{ int x,y,z; };

void MvIn(TD &P, int step=3)

{P.x+=step;

P.y-=step;

P.z+=step; }

void MvOut(TD &Q, int step=2)

{ Q.x-=step;

Q.y+=step;

Q.z-=step; }

void main()

{ TD ob1={15,25,5},ob2={40,20,10};

MvIn(ob1);

MvOut(ob2,5);

cout<<ob1.x<<','<<ob1.y<<','<<ob1.z<<endl;

cout<<ob2.x<<','<<ob2.y<<','<<ob2.z<<endl;

MvOut(ob2);

cout<<ob2.x<<','<<ob2.y<<','<<ob2.z<<endl; }

Output :

18,22,8

35,25,5

33,27,3 

 

 

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

CBSE Class 12 Computer Science Sample Paper 2014 Set C

We hope you liked the above provided CBSE Class 12 Computer Science Sample Paper 2014 Set C. 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 C 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 C in Pdf

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

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

Regular practice of sample question paper given on studiestoday for CBSE Class 12 Computer Science Sample Paper 2014 Set C 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 C

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 C available in multiple languages

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