Model Question
Sub: Computer Science
Grade: Ten FM = 50
Time: 1hr. 30
mins
Attempt all the questions.
Group A
1. Answer
the following questions in one sentence (6 × 1=6)
a. Define
web browser.
b. What
is mobile computing?
c.
Define form in MS Access database.
d.
What
is data redundancy?
e. What
is file handling in QBasic?
f.
Define Unary Operator in C language?
2. Write down the
single technical term for the following [2× 1 = 2]
a. A device that is
used to translate analog signals into digital and vice versa.
b. The use of computer
technology to create a simulated environment.
3. Write the full forms for the following: [2
× 1 = 2]
a. TCP/IP b. IoT
Group
B
4. Answer
the following questions. (9×2=18)
a. What is computer
network? Write any two disadvantages of client server architecture.
b. Mention any two threats
and two opportunities of using social media.
c. What is
cryptography? Write the role of UPS in computer system.
d. What is e-commerce?
Write any two benefits of e-commerce.
e. What is cloud
computing? Write any two services of cloud storage.
f.
Define Data and Database with examples.
g. What is primary
key? Why it is important?
h. What is query?
Write it’s uses.
i.
Write any two differences between sorting
and filtering.
5.
Write the output of
the program. [2]
DECLARE SUB SHOW (A, B)
CLS
X=1 : Y=2
CALL SHOW (X, Y)
END
SUB SHOW (A ,B)
I=1
DO
PRINT A;
A=A+B
B=A+B
I=I+1
LOOP WHILE I <= 5
END SUB
6. Rewrite the program after correcting the bugs. [2]
REM program to reverse the string or word
DECLARE SUB REV(W$)
CLS
INPUT “Enter a word”; W$
CALL REV$(W$)
END
SUB REV(W$)
FOR I = LEN(W$) TO 1 STEP -1
C$ = LEFT$(W$, I, 1)
D$ = D$ + C$
LOOP
PRINT “Reversed string is” ; D$
CLSOE SUB
7. Analyze the program given below and answer the
following question. 2
DECLARE FUNCTION
count(N$)
CLS
INPUT “ENTER A
WORD”; R$
C = COUNT(R$)
PRINT C
END
FUNCTION COUNT(N$)
FOR K = 1 TO
LEN(N$)
X$ = MID$(N$, K,1)
IF UCASE$(X$) = “A”
THEN X= X + 1
NEXT K
COUNT = X
END FUNCTION
A.
List any two library functions used in the above program.
B.
Write the use of variable ‘C’ in line 3.
[i.e. C = COUNT(R$)
given in the above program]
Group
C (4×4=16)
8. Convert or Calculate as instructed: [4 × 1 = 4]
a. (432)8 into decimal
b. (C23)16 into Octal
c. (101011)2 +
(1101)2 - (1011)2
d. Divide 100101 by
110
9. Write
the QBasic program for the following. [4 × 3 = 12]
a. WAP
to display area of four wall using sub procedure. and to find the volume of
wall using function procedure. [Hint: Area of four wall = 2H(L+B) Volume = L×B×H]
b. A sequential data
file called “Record.txt” has stored data under the field heading Roll No.,
Name, Gender, English, Nepali, Math’s and Computer. Write a program to display
all the information of female students who pass in all subjects. [Note: Pass
mark in all subject is 40]
10. Write a C program
to display the reverse of input number.
OR
Write a C program to check whether
the input number is negative positive or zero.
BEST
OF LUCK