Pre Board Examination 2008-09 - Entrance Exam



Sample Paper – 2009

Class – XII

Subject – Computer Science

Pre Board Examination 2008-09

Time allowed: 3 hours Maximum Marks: 70

NOTE:

(i) All questions are compulsory. (ii) Answer the questions after carefully reading the text.

Q-1

(a) Name the header file to which the following belong: (i) isupper() (ii) random(). (1)

(b) Illustrate the use of inline function in C++ with help of an example. (2)

(c) Rewrite the following program after removing the syntactical error(s), if any. Underline each correction.

# include

CLASS STUDENT

{

int admno;

float marks;

public:

STUDENT() { admno=0; marks=0.0; }

void input() { cin>>admno>>marks; }

void output() { cout ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download