(X) First Term Exam 2077

ROSEBUD SCHOOL
Buddhanagar, Kathmandu
FIRST TERM EXAM - 2077
Subject: Computer Science
Class: X (Ten)
Full Marks: 50
Pass Marks: 20

Time: 1:30 hrs.
    Group ‘A’ (10 Mark)
  1. Answer the following questions in one sentence. [6*1=6]
    1. Which is the logical data type of MS Access?
    2. Which view is used to modify a table in MS Access?
    3. Define modular programming.
    4. Mention any two advantages of modular programming.
    5. List any two data types used in C Programming.
    6. Why C language is called middle level language.
  2. Write appropriate technical terms for the following: [2*1=2]
    1. Network of network
    2. A company which provides internet facility
  3. Write the full forms of the following: [2*1=2]
    1. e-Commerce
    2. SMTP
    Group ‘B’ (24 Mark)
  4. Answer the following questions. [9*2=18]
    1. What is database management system? Give two examples.
    2. What is database? Give any two examples.
    3. Define field and report.
    4. What is a report? Write any two uses of it.
    5. Define form. Mention any two uses of form.
    6. Differentiate between form and report.
    7. Why table is called primary object of database.
    8. Differentiate between database and DBMS.
    9. Differentiate between action query and select query.
  5. Write down the output of the given program. Show with dry run in table. [2]
  6. Declare sub pattern ( )
    Call pattern
    End

    Sub pattern
    For I = 1 to 5
    For J = 1 TO I
    Print J;
    Next J
    Print
    Next I
    End Sub
  7. Re-write the given program after correcting the bugs. [2]
  8. REM sub program to find average of three numbers
    Declare sub average (a,b,c)
    Input “Enter any three numbers” , a, b,c
    Call sub average(a,b,c)
    End

    Sub average(a,b,c)
    av=(a+b+c) ÷3
    Display “Average of three numbers is” ; av
    Sub End
  9. Study the following program and answer the given questions. [2*1=2]
  10. Declare sub table (n)
    Input “Enter any number”, n
    Call table (n)
    End

    Sub table (n)
    For I = 1 to 10
    Ans = n * i
    Print Ans
    Next i
    End Sub
    1. Name the loop used in above program.
    2. Will the program run, if Declare Sub ... is removed from above program?
    Group ‘C’ (16 Mark)
  11. Convert/calculate as per the instruction. [4*1=4]
    1. (BABA)16 = (?)2
    2. (2077)8 = (?)10
    3. (1010)2 + (1011)2 – (111)2
    4. (101010)2÷ (1000)2
    1. Write a QBASIC program to find the product of two numbers using Sub ... End Sub. [4]
    2. Write a QBASIC program to find the sum of digits of a supplied positive number using Sub ... End Sub. [4]
  12. Write a C program to find sum of three numbers.[4]
    OR

    Write a C program to test whether the supplied number is odd or even.[4]
The End