SECOND TERM EXAMINATION 2012
Std:X11 COMPUTER SCIENCE Time:3hrs Marks:70
Q1.Answer the following:
a)What is a network and its advantages? 2 b)Name the header files that shall be needed for the successfully execution of following code: 2 void main() { int Last=25; for(int c=9;c<=Last;c++) cout<<c<<”;”<<sqrt©<<endl; }
c)What are repeaters and routers 2
d)What output does the below code fragment produce? 2
int ch=20; cout<<ch<<++ch<<ch<<”\n”;
e)Explain various communication protocols? 3 Q2 Answer the following:
a) What do you understand by object and class? 2 b) Explain different types of inheritance 4
c)Differentiate between packet switching and message switching technique in network communication 4
Q3 Answer the following: a)Explain various access specifiers