CBSE Class 12 Computer Science Sample Paper 2015 Set A

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

Computer Science Class 12 Sample Paper

 

Q1.(i) Reusability of classes is one of the major properties of OOP’s. How is it implemented in C++. Explain.

(ii) Define a class OUTFIT with the following members :

Private Members : static member Total Price - float

Code, Type , Fabric – String

Size , Price - float

A InitPrice function to calculate and assign the Price as follows :

If Fabric is “ Denim “

Type                   Price

Trouser               1500

Jacket                 2500

for any other Fabric the above price gets reduced by 25%

Public Members

A Constructor initializing all strings with the words “ Not Initialised” and Size and Price to 0 

A function to input the data.

A static function to display the static data

A destructor to display the data of each object.

Write a program to input the information of 15 Brands . Print the information of all Denim items. Also print Total Price of all Jackets .

(iii) In the following program, find the correct possible output(s) from the options. Justify your answer.

#include<iostream.h>

#include<stdlib.h>

const int LOW = 15;

void main( )

{ randomize( );

int Point =5 , No;

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

{ No = LOW + random(Point);

cout<<No <<’;’;

Point--; } }

i. 19;16;15;18;

ii. 14;18;15;18;

iii. 19;16;14;18;

iv. 19;16;15;16; ( 2 + 5 + 3 )

Q2. (i) What is constructor overloading . How are different constructors called ?

(ii) Answer the questions given below after going through the following class:

class EMP { int EMPID;

char EMPName[20];

public: ~EMP( ) // Function 1

{ cout<<”Un-Allocated”<<endl; }

void status( ) // Function 2

{ cout<<EMPID<<”;”<<EMPName<<endl; }

EMP( ) // Function 3

{ EMPID=10;

EMPName[0]=’\0’; }

EMP(EMP & X) // Function 4

{ EMPID=X.EMPID+12;

strcpy(EMPName, X.EMPName ); } };

a) Which member function out of function1, function2, function3 and function4 shown in the above example of class EMP is called automatically, when the scope of an object gets over? What is this function called ?

b) EMP W; //Statement 1

EMP Y (W); //Statement 2

Which member function out of Function1, Function2, Function3 and Function4 will be called on execution of Statement 1 and Statement 2? What are these functions specifically known as ?



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

CBSE Class 12 Computer Science Sample Paper 2015 Set A

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

You can download CBSE Class 12 Computer Science Sample Paper 2015 Set A from StudiesToday.com

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

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

Are there any websites that offer free CBSE Class 12 Computer Science Sample Paper 2015 Set A

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 2015 Set A available in multiple languages

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