CBSE Class 12 Computer Science Question Paper 2016 Delhi

CBSE Class 12 Computer Science Question Paper 2016 Students can download the last year question papers using the link below. Free download of examination question papers with solutions. Last 10 year question papers should be practised to get better marks in examinations.

Computer Science

1. (a) Out of the following, find those identifiers, which cannot be used for naming Variable, Constants or Functions in a C++ program :  _Cost, Price*Qty, float, Switch, Address One, Delete, Number12, do

(b) Jayapriya has started learning C++ and has typed the following program. When she compiled the following code written by her, she discovered that she needs to include some header files to successfully compile and execute it. Write the names of those header files, which are required to be included in the code. 1

void main()

{

float A,Number,Outcome;

cin>>A>>Number;

Outcome=pow(A,Number);

cout<<Outcome<<endl;

}

(c) Rewrite the following C++ code after removing any/all syntactical errors with each correction underlined. 2

Note : Assume all required header files are already being included in the program.

#define Equation(p,q)=p+2*q

void main()

{

float A=3.2;B=4.1;

C=Equation(A,B);

cout<<’Output=’<<C<<endl;

}

(d) Find and write the output of the following C++ program code : 2

Note : Assume all required header files are already included in the program.

typedef char STRING[80];

void MIXITNOW(STRING S)

{

int Size=strlen(S);

for(int I=0;I<Size–1;I+=2)

{

char WS=S[I];

S[I]=S[I+1];

S[I+1]=WS;

}

for(I=1;I<Size;I+=2)

if(S[I]>=’M’ && S[I]<=’U’)

S[I]=’@’;

}

void main()

{

STRING Word=”CRACKAJACK”;

MIXITNOW(Word);

cout<<Word<<endl;

(e) Find and write the output of the following C++ program code : 3

Note : Assume all required header files are already being included in the program.

class Stock

{

long int ID;

float Rate;

int Date;

public:

Stock(){ID=1001;Rate=200;Date=1;}

void RegCode(long int I,float R)

{

ID=I;

Rate=R;

}

void Change(int New,int DT)

{

Rate+=New;

Date=DT;

}

void Show()

{

cout<<”Date :”<<Date<<endl;

cout<<ID<<”#”<<Rate<<endl;

}

};

void main()

{

Stock A,B,C;

A.RegCode(1024,150);

B.RegCode(2015,300);

B.Change(100,29);

C.Change(–20,20);

A.Show();

B.Show();

C.Show();

Please click below link CBSE Class 12 Computer Science Question Paper 2016.

Tags: 

 


Click to View or Download pdf file
Click for more Computer Science Study Material

Latest NCERT & CBSE News

Read the latest news and announcements from NCERT and CBSE below. Important updates relating to your studies which will help you to keep yourself updated with latest happenings in school level education. Keep yourself updated with all latest news and also read articles from teachers which will help you to improve your studies, increase motivation level and promote faster learning

Re verification of Class 12 Board Exams Marks

Modalities and Schedule for Senior Secondary School (Class XII) Examinations, 2020 in the subjects whose examinations have been conducted by CBSE for the processes of (I) Verification of Marks (II) Obtaining Photocopy of the Evaluated Answer Book(s) (Ill) Re-evaluation...

CBSE Reduced Syllabus Class 11 and 12

CBSE has announced major reduction in the syllabus for class 11 and class 12. There has been major changes too in the main syllabus for class 11 and 12. The prevailing health emergency in the country and at different parts of the world as well as the efforts to contain...

FAQs CBSE Board Exam Results Class 10 and 12

FAQs CBSE Board Exam Results Class 10 and 12 Q.1. What does the term RT in the marksheet mean? Ans.The term RT means REPEAT IN THEORY. This is the term used from 2020 instead of FAIL IN THEORY(FT) Q.2. What does the term RP in the marksheet mean? Ans.The term RP means...

Training Programme on the Alternative Academic Calendar

In view of the extraordinary situation prevailing in the world due to COVID-19 pandemic, the CBSE Board had announced the ‘Revised Academic Curriculum for classes 9- 12 for the session 2020-21’. The reduced topics will not be part of the internal assessment or for the...

Internal Assessments and CBSE Reduced Syllabus

CBSE on 7th July 2020 had announced the ‘Revised Academic Curriculum for classes IX-XII for the session 2020-21’ to mitigate the effect of face to face learning loss due to the closure of schools to contain COVID-19 Pandemic. The rationalization of syllabus up to 30% ...

CBSE Decision on Board Exam 2020

The Class 10 and 12 exams are cancelled, and results for both 10th and 12th would be declared by July 15 based on internal exams. CBSE Class 12 students would have the option to appear for the exams at a later date. CBSE has a scheme in which marks scored in past 3...

×
Studies Today