CBSE class XI Computer Science sample paper5
1 Sample paper-computer science Class-XI SUBJECT: COMPUTER SCIENCE DURATION:3Hrs CLASS:XI MAX.MARKS:70 NOTE: *Programming language C++ 1. 1. Compare Fourth and fifth generation computers. (2) 2. What does booting of the system mean? (2) 3. Name the header files of the following built in functions belongs to (1) i) getchar() ii) rand() 4. What will be the value of k for the following expression? (1) k=j+2*J+(m=j,m++);if k=20 initially 5. What are the functions of the operating system? (2) 6. Why C++ is called object oriented language? (2) 7. Define hard ware, soft ware, firm ware and live ware. (2) 8. Difference between implicit and explicit conversion. (2) 9. Define degradation and robustness. (2) 10. How is file name is different from path name. Support your answer with examples. (2) 11. What is a source code. (1) 12. Rewrite the following program after removing the syntactical errors(if any). Under line each correction. (Assume all header files are declared) i) #include (2) #include void main() { int c; if(int x ==0) { float y; cin>>y; switch(y); { case 1: cout<<’One’; break; } 2 cout< (2) #include void main() { int x; int y=x; x=10; cout< void main() { void calc(int a,int &); float x=10,y=20; y=calc(x,20); cout<=0;k--;j++) { x[k]=x[k]+j-1; cout<
Description
This content is useful for CBSE Students
Presentation Transcript
Your Facebook Friends on WizIQ