Buddhanagar, Kathmandu
FIRST TERM EXAM - 2077
Subject: Computer Science
Class: X (Ten) Full Marks: 50
Pass Marks: 20
Time: 1:30 hrs.
Class: X (Ten) Full Marks: 50
Pass Marks: 20
- Answer the following questions in one sentence. [6*1=6]
- Which is the logical data type of MS Access?
- Which view is used to modify a table in MS Access?
- Define modular programming.
- Mention any two advantages of modular programming.
- List any two data types used in C Programming.
- Why C language is called middle level language.
- Write appropriate technical terms for the following: [2*1=2]
- Network of network
- A company which provides internet facility
- Write the full forms of the following: [2*1=2]
- e-Commerce
- SMTP
- Answer the following questions. [9*2=18]
- What is database management system? Give two examples.
- What is database? Give any two examples.
- Define field and report.
- What is a report? Write any two uses of it.
- Define form. Mention any two uses of form.
- Differentiate between form and report.
- Why table is called primary object of database.
- Differentiate between database and DBMS.
- Differentiate between action query and select query.
- Write down the output of the given program. Show with dry run in table. [2] Declare sub pattern ( )
- Re-write the given program after correcting the bugs. [2] REM sub program to find average of three numbers
- Study the following program and answer the given questions. [2*1=2] Declare sub table (n)
- Name the loop used in above program.
- Will the program run, if Declare Sub ... is removed from above program?
- Convert/calculate as per the instruction. [4*1=4]
- (BABA)16 = (?)2
- (2077)8 = (?)10
- (1010)2 + (1011)2 – (111)2
- (101010)2÷ (1000)2
- Write a QBASIC program to find the product of two numbers using Sub ... End Sub. [4]
- Write a QBASIC program to find the sum of digits of a supplied positive number using Sub ... End Sub. [4]
- 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]
Group ‘A’ (10 Mark)
Group ‘B’ (24 Mark)
Call pattern
End
Sub pattern
For I = 1 to 5
For J = 1 TO I
Print J;
Next J
Next I
End Sub
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
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
Group ‘C’ (16 Mark)
The End