Quantcast
Channel: CBSE PORTAL : CBSE, ICSE, NIOS, JEE-MAIN, AIPMT Students Community
Viewing all articles
Browse latest Browse all 4009

(Download) CBSE Class-12 Sample Paper (Computer Science) 2014-15

$
0
0

(Download) CBSE Class-12 Sample Paper (Computer Science) 2014-15

SECTION A

Time allowed : 3 hours

Maximum Marks: 70

Section A (C++)

Q1. a. Differentiate between ordinary function and member functions in C++.

Explain with an example. [2]

b. Write the related library function name based upon the given information in C++.
(i) Get single character using keyboard. This function is available in stdio.h file.
(ii) To check whether given character is alpha numeric character or not. This function is available in ctype.h file. [1]

c. Rewrite the following C++ program after removing all the syntactical errors (if any), underlining each correction. : [2]

include<iostream.h>
#define PI=3.14
void main( )
{ float r;a;
cout<<’enter any radius’;
cin>>r;
a=PI*pow(r,2);
cout<<”Area=”<<a
}

read more


Viewing all articles
Browse latest Browse all 4009

Trending Articles