Trending ▼   ResFinder  

CBSE XII Pre Boards 2015 : COMPUTER SCIENCE (KV Chennai)

7 pages, 46 questions, 18 questions with responses, 24 total responses,    0    0
Kendriya Vidyalaya Air Force Stn Sulur
Kendriya Vidyalaya Air Force...,  Sulur, Coimbatore 
+Fave Message
 Home > kv_kendriya_vidyalaya_sulur >   F Also featured on: kv_kendriya_vidyalaya_iitchennai

Formatting page ...

KENDRIYA VIDYALAYA SANGATHAN- CHENNAI REGION COMMON PRE BOARD EXAMINATION 2014-15 CLASS XII -COMPUTER SCIENCE (083) Time allowed: 3Hrs Maximum Marks :70 Instructions: i) All the questions are compulsory ii) Programming Language C++ 1. (a) What is Inheritance ? Give an example in C++ to show its implementation in C++ 2 (b)Write the names of the header files which are necessary to execute the following C++ code void main() { int Rno=24; char Name[] = " Pre Board Exams "; cout<<setw(10)<<Rnos<<setw(25)<<Name<<endl; } 1 (c)Rewrite the following program after removing the syntactical error(s),if any .Under line each correction . #include<iostream.h> const int Max 10; void main() { int Numbers[Max]; Numbers={20,50,10,30,40}; for(Loc=Max-1; Loc>=0;Loc--) cout>>Numbers[Loc]; } (d) Find the output of the following program #include <iostream.h> int max(int &x, int &y, int &z) { if (x > y && y > z) { y++; z++; return x; } else if (y > x) return y; else return z; } void main() { int a = 10, b = 13, c = 8; a = max(a, b, c); cout << a << b << c << endl; b = max(a, b, c); cout << ++a << ++b << ++c << endl; c = max(a, b, c); cout << a++ << ++b << ++c << endl; } 2 1 3

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Sanjay Parmar

(7)

Sarvani

(6)

Hare Harun

(4)

Sajan Prasad

(2)

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 


Tags : kendriya vidyalaya kv air force station sulur, coimbatore, tamil nadu, chennai, cbse pre boards, prelims preliminary exams, cbse specimen / guess / mock papers / books, cbse india portal, central board for secondary education, answer keys, top schools, cbse question bank, cbse model test papers with answers, solved question papers of cbse last year, previous years papers with solutions, free download pdf online cbse paper, cbse syllabus, pattern, dates notification, application forms, india cbse board sample last 10 years, clat important questions preparation, how to prepare, 2015, 2014.  

© 2010 - 2024 ResPaper. Terms of ServiceContact Us Advertise with us

 

kv_kendriya_vidyalaya_sulur chat