CBSE Class 12 Computer Science Question Paper 2014 - Outside Delhi

Scroll down for PDF

CBSE Class 12 Computer Science Question Paper 2014 - Outside Delhi CBSE,CCE and NCERT students can refer to the attached file. All educational material on the website has been prepared by the best teachers having more than 20 years of teaching experience in various schools. The study material available on our website for all CBSE classes and subjects have been prepared by teachers from all over the country. All study material has been carefully designed keeping into mind the latest CBSE examination trends.  

COMPUTER SCIENCE

Time allowed : 3 hours Maximum Marks : 70

Instructions :

(i) All questions are compulsory.

(ii) Programming Language : C++

1. (a) What is the difference between call by reference and call by value with respect to memory allocation ? Give a suitable example to illustrate using C++ code.

    (b) Observe the following C++ code and write the name(s) of the header file(s), which will be essentially required to run it in a C++ compiler : 1

void main()

{

char CH,STR[20];

cin>>STR;

CH=toupper(STR[0]);

cout<<STR<<starts with<<CH<<endl;

}

(c) Rewrite the following C++ code after removing all the syntax error(s), if present in the code. Make sure that you underline each correction done by you in the code. 2

Important Note :

– Assume that all the required header files are already included, which are essential to run this code.

– The corrections made by you do not change the logic of the program.

typedef char[80] STR;

void main()

{

Txt STR;

gets(Txt);

cout<<Txt[0]<<’\t<<Txt[2];

cout<<Txt<<endline;

}

(d) Obtain the output from the following C++ program as expected to appear on the screen after its execution. 2

Important Note :

- All the desired header files are already included in the code, which are required to run the code.

void main()

{

char *Text=AJANTA;

int *P, Num[]={1,5,7,9};

P=Num;

cout<<*P<<Text<<endl;

Text++;

P++;

cout<<*P<<Text<<endl;

}

(e) Obtain the output of the following C++ program, which will appear on the screen after its execution. 3

Important Note :

● All the desired header files are already included in the code, which are required to run the code.

class Game

{

int Level, Score;

char Type;

public:

Game(char GType=’P’)

{Level=1;Score=0;Type=GType;}

void Play(int GS);

void Change();

void Show()

{

cout<<Type<<”@”<<Level<<endl;

cout<<Score<<endl;

}

};


Please refer to the link below for CBSE Class 12 Computer Science Question Paper 2014 - Outside Delhi

Tags: 


Click on the text For more study material for Computer Science please click here - Computer Science

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

CBSE Circular Aryabhatta Ganit Challenge

For students with a keen interest in mathematics are now provided with a better opportunity to explore their knowledge. CBSE has announced to conduct an exam for the purpose of generating interest in maths among students. It is a trial to clarify the myth that...

CBSE examination board hike the fee for class 10th and 12th

The CBSE (Central Board Secondary Education) increased the examination fees for classes 10 and 12 of the 2020 boards, with no profit no loss principle, from Rs. 750 to Rs 1500, for all categories of students, including SC/ST candidates for all schools throughout India...

How to crack a competitive examination

“How I crack a competitive examination” is a frequently asked question by today’s students. Cracking a competitive exam is a challenging task. Attaining a huge amount of study and solving several complex problems in a limited amount of time is a huge task. Competitive...

Extension of dates by CBSE for Single Girl Child Merit (SGC) scholarship

CBSE has announced to extend dates for SGC scholarship. Previously the dates to submit the SGC scholarship form were 18 October 2019. Now dates have shifted. For online submission, the last date is 31st October. Whereas date for submission of hard copies of renewal...

CBSE to conduct a voluntary test for class 11th and 12th

Nowadays students have the liberty to choose the field they seem to fit in. A few years back the problem was parents who burdened children with their own choices. On the other side, now students along with their parent's support are free to choose their field. Not any...

Requirements for admissions in CBSE affiliated Schools

CBSE gives an advanced form of education. They try to indulge students in interactions and teach application based subjects along with some others. Due to this preponderance of parents, they tend to admit their children in CBSE affiliated schools. General conditions...

×
Studies Today