(X) 1st MID Term Exam 2077

ROSEBUD SCHOOL
Buddhanagar, Kathmandu
First Mid Term Exam - 2077
Subject: Computer Science
Class: X (Ten)
Full Marks: 20
Pass Marks: 08

Time: 50 Min

  1. Answer the following questions. [10*1=10]
    1. What are arguments and parameters.
    2. Why QBASIC is called modular programming?
    3. What are global and local variable.
    4. List the two types of procedures.
    5. Differentiate between Sub and Function Procedure.
    6. Differentiate between QBASIC and C language.
    7. Write down the functions of printf and scanf.
    8. List unary operator with their meaning and example.
    9. List three types of logical operator used in C Language.
    10. Convert following algebraic expression into C expression.
      1. a x b – c
      2. (a + b) (c + d)
  2. Write C program for the following: [5*2=10]
    1. To input number of days and convert it into years, months and days.
    2. To input selling price and cost price and calculate whether there is profit or loss.
    3. To display whether the supplied number is positive,negative or zero.
    4. To display the middle number among three different numbers.
    5. To display 999,728,511 ... up to 10th terms
The End