Class Test
Sub: Computer Science
Grade: Ten FM = 20
Time: 40 mins
Students are suggested to answer in their words as far as practicable. Credit shall be given to clarity and originality, not rote written.
Attempt all the questions.
1. Answer the following questions in short: [5 × 1 = 5]
a. Define topology.
b. Define bandwidth
c. Define data with examples.
d. What is data redundancy?
e. Write the function of MOD in QBasic.
2. Write down the technical term of: [2 × 1 = 2]
a. Two-way alternate communication mode.
b. The MS-Access object that provides a quick and easy way to insert and modify records into our databases.
3. Write the full forms for the following: [2 × 1 = 2]
a. LAN b. RDBMS
4. Answer the following questions. [4 × 2 = 8]
a. Define computer network. Writes its two advantages.
b. Write any four differences between client server and peer to peer architecture.
c. What is Query? Write it’s uses.
d. Define database. Write any two differences between data and information.
5. Rewrite the following program after correcting the bugs. [2]
DECLARE SUB SQUARE(N)
REM PROGRAM TO FIND SQUARE ROOT
ENTER N
DISPLAY SQUARE(N)
END
SUB SQUARE (N)
S = M^0.5
PRINT S
FINISH
6. Study the following program and answer the given questions. [2]
DECLARE FUNCTION CHECK$(N)
CLS
INPUT "Enter a Natural number:"; N
X$ = CHECK$(N)
PRINT N; X$
END FUNCTION
FUNCTION CHECK$(N)
IF N MOD 2 = 0 THEN
CHECK$ = "EVEN NUMBER"
ELSE
CHECK$ = "ODD NUMBER"
END IF
END FUNCTION
Group C long questions [9 marks]
7. Convert/Calculate as per the instructions:
i. 101100101012 into (?)8
ii. (CA3D)16 into octal
iii. Divide 110011010 by 101
8. WAP to input length breadth height and display area of four wall using sub procedure [area = 2h(l+b)]
9. WAP to ask any three number and display the middle number using sub procedure