NEB Students
Computer Science

NEB — CLASS 10

Computer Science

Model Question

Answer each question in your own words as far as practicable. The figures in the margin indicate full marks.

सबै प्रश्नको उत्तर दिनुहोस् । (Attempt All Questions)

Time : 3 hrsPass Marks : 27Full Marks : 75
1.

Answer the following questions in one sentence: [6×1=6]

a.

What is search engine?

b.

What is the business done through the internet?

c.

Which data type is used to store numeric characters or special symbols in MS-Access?

d.

Which view is used to modify a table in MS-Access?

e.

What is Modular Programming?

f.

Write any two features of C language.

2.

Write appropriate technical term for the following: [2×1=2]

a.

Law that governs the legal issues of cyberspace.

b.

The smallest unit to represent information on quantum computer.

3.

Write the full form of the following: [2×1=2]

i. STP

ii. WAP

4.

Answer the following questions: [9×2=18]

a.

What is computer network? Enlist any two advantages of it.

b.

What is computer ethics? Write any two of them.

c.

What is software security? Write any two measures of hardware security.

d.

What is m-Commerce? Write its two important services.

e.

What is IoT? Write any two importance of it.

f.

What is database? Give any two examples.

g.

What is primary key? List any two advantages of it.

h.

What is data sorting? List any two advantages of using it.

i.

What types of work is done in MS-Access using Form and Query object?

5.

Write down the output of the given program. Show with dry run in table. [2]

DECLARE SUB SHOW (A)
CLS
N = 87
CALL SHOW (N)
END
SUB SHOW (A)
DO
B = A MOD 6 + 3
IF B MOD 4 = 0 THEN GOTO AA
PRINT B;
AA:
A = A - 10
LOOP WHILE A >= 50
END SUB
6.

Re-write the given program after correcting the bugs: [2]

REM to add record in an existing file
CLS
OPEN "Record.Dat" FOR OUTPUT AS #1
AA:
INPUT "Enter Name, Class and Roll No. "; Nm$, Cl, Rn
INPUT #2, Nm$, Cl, Rn
INPUT "More records "; Y$
IF UCASE$(Y$) = "Y" THEN GOTO aa
CLOSE "Rrecord.dat"
END
7.

Study the following program and answer the given questions: [2×1=2]

OPEN "Detail.dat" FOR INPUT AS #1
OPEN "Temp.dat" FOR OUTPUT AS #2
INPUT "Enter name of the students "; Sn$
FOR I = 1 TO 10
INPUT #1, Nm$, Cl, A
IF Sn$ <> Nm$ THEN
WRITE #2, Nm$, Cl, A
END IF
NEXT I
CLOSE #1, #2
KILL "Detail.dat"
NAME "Temp.dat" AS "Detail.dat"
END
a.

What is the main objective of the program given above?

b.

Do you get any problem in the above program if "Kill" statement is removed? Give reason.

8.

Convert / calculate as per the instruction: [4×1=4]

i. (11001101)₂ = (?)₁₆

ii. (524)₁₀ = (?)₂

iii. (1010)₂ × (110)₂ − (1011)₂ = (?)₂

iv. (10110)₂ ÷ (101)₂

9.
a.

Write a program in QBASIC that asks length, breadth and height of room and calculates its area and volume. Create a user-defined function to calculate area and sub-program to calculate volume. [4]
Hint: [A = LxB], [V = LxBxH]

b.

A sequential data file called "Record.txt" has stored data under the field heading Roll No., Name, Gender, English, Nepali, Maths and Computer. Write a program to display all the information of those students whose gender is 'F' and obtained marks in computer is more than 90. [4]

10.

Write a program in C language that asks a number and check whether it is odd or even. [4]

11.
Write a program in 'C' language to display the series with their sum. 1,2,3,4,....., up to 10th terms.

[4]