CBSE class XI Computer Science sample paper
http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com Sample Paper Computer science Class: XI ------------------------------------------------------------------------------------------------------------Time Duration: 3 Hours Maximum Marks: 70 ------------------------------------------------------------------------------------------------------------Instructions: All Questions are Compulsory. I. 1. Name different types of digital computers based on their size and performance. [1] 2. What is system software? [1] 3. Explain first come first served (FCFS) scheduling. [2] 4. Explain multiprocessing operating system. [2] (Total: 6M) II. 1. Differentiate between syntax error and semantics error. Give example for each. [2] 2. What do you mean by robustness of a program? What is guard code? [2] 3. What is a base class? What is a derived class? How are these two interrelated? [3] 4. Explain: a.) Encapsulation b.) Transitive nature of inheritance c.) portability [3] (Total: 10M) III. 1. Convert the following binary number to decimal: a) 101.1001 b) 11101.111 2. Convert the following octal values to decimal a) 1204.3 b) 743 3. Convert the following decimal values to hexadecimal: a) 314.21 b) 2048 4. Convert the following decimal values to binary: a) 57.31 b) 29.2 5. Convert the following binary number to hexadecimal: a) 1010110110111 b) 10110111011011 (1M X 5 =5M) 6. Differentiate between: a) RAM and ROM b) impact printer and non impact printer. [4] 7. What is a port? [1] (Total: 10M) IV. 1. Determine then output if the input is: ( a ) 2000 ( b ) 1900 ( c ) 1971 void main( ) http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com { int year; cin>>year; if ( year%100 = =0) { if ( year % 400 = =0) cout<< “LEAP”; } else cout<< “not century year”; } [3] 2. Write a short program that subtracts two matrices A [4][4] and B [4][4]. [3] 3. Determine the output for the following code fragment if the input is: “new york” void main( ) { char city [35]; cout<< “enter city name \n”; cin>>city; cout<< “you entered” << city< void func(int num, b=5) { auto int total=0; static int sum=0; for ( int i=num; i>0 ; i--) total+=i; sum+=total; cout<
Description
This content is useful for CBSE Students
Presentation Transcript
Your Facebook Friends on WizIQ