CBSE Sample Papers Computer Science Class XI

  CBSE You are here

CBSE Sample Paper 2009

Computer Science

Class XI

 

 

Q1.

  1. What stylistic guidelines may be followed to design a good program ?         
  2. What do you mean by syntax error? Mention any 2 syntax errors occurring in any cpp program                                                                            
  3. Give different stages of program  development ?                             
  4. Why are logical errors harder to locate ?

 

Q2.   Write a menu driven program using functions

1.      To convert an uppercase character in to lower case character(without using library functions)

2.      To generate all three digits prime numbers.

3.      To find the sum of the individual digits of a number.

 

Q3. Write a program to evaluate the factorial of a number ?

  1. List the variations of the While loop?
  2. Explain the use of postfixand then change the value?
  3. What is type conversion ?

 

Q4.   Write a menu driven program using functions

            1. To input the temperature in Celsius and convert it into Fahrenheit.

            2. To input a number and display whether the number is a prime number or not.

            3. To  input a number and check whether the number is a palindrome or not.

 

Q5.

  1.  What does following function prototype means                                          

a)      void findsum(int &,int)

b)      int value(int x,int y, int r=5);

  1. What output does following  code fragment produce:

 

Download Attached PDF



  « CBSE Sample Papers Chemistry Class XI [Set-2] CBSE Sample Papers Informatics Practices Class XI »  

  Posted on Thursday, March 5th, 2009 at 1:04 PM under   CBSE | RSS 2.0 Feed