Vidyarthi Model Set 2077
Subject: Computer Science Time: 1 hr 30 min
Class: X Full Marks: 50
Group “A” [10 Marks]
Answer the following questions in one sentence: [6x1=6]
What is the internet?
What is a browser?
Which is the logical data type of MS Access?
Which view is used to modify a table in MS Access?
What is structure programming language?
Write any two data types of C language?
Write appropriate technical term for the following: [2x1=2]
Crimes committed using electronic devices and cyber space.
A malicious computer program that damages data and software.
Write the full forms of following: [2x1=2]
UTP
WWW
Group “B” [24 Marks]
Answer the following questions: [9x2=18]
What is a computer network? Enlist any two disadvantages of it.
What is cyber ethics? Write any two cyber ethics.
What is hardware security? Write any two roles of UPS in hardware security.
What is e-banking? Write any two uses of it.
What is a database management system? Give any two examples.
What is a database? Give any two examples.
Define field and record.
What is a report? Write its use.
Define form. Write any two uses of it.
Write down the output of the given program. (Workout with dry run). [2]
DECLARE SUB OUTPUT1(A)
CLS
N=135
CALL OUTPUT1(N)
END
SUB OUTPUT1(A)
DO WHILE A<>0
R= A MOD 10
T=T+R
A=A\10
LOOP
PRINT T
END SUB
Re - write the given program after correcting the bugs: [2]
REM to create a new data file
CLS
OPEN “ABC.DAT” FOR INPUT AS #1
DO
INPUT “Enter Name, Roll No & Total” ; N$, R , T
INPUT #2, N$, R , T
INPUT “ Supply more records Y/N”; C$
LOOP WHILE UCASE(Y$)= “Y”
CLOSE #1
END
Study the following program and answer the given questions: [2x1=2]
OPEN “EMP.DAT” FOR INPUT AS #1
INPUT “ENTER NAME OF THE STUDENTS”; SN$
DO
INPUT #1, N$, A$, S
IF UCASE$(A$)= “ KATHMANDU” THEN
PRINT N$,A$,S
END IF
LOOP WHILE NOT EOF(1)
CLOSE #1
END
Write the use of the statement “ INPUT #1, N$, A$, S ” in the above program.
What happens if you remove “UCASE$” from the above program.
Group “C” [16 Marks]
Convert/calculate as per the instructions: [4x1=4]
(ABC)16 = (?)8
(52)10 = (?)2
(1010)2 + (110)2 – (1111)2 = (?)2
(1101101)2 ÷ (110)2
Write a program in QBASIC that allows a user to input length, breadth and height and then calculate the area of four walls. Hint: [A=2H(L+B)] [4]
Write a program to create a sequential data file named “Employ.dat” to store Name, Post , Address and Salary for the number of employees. The Program should terminate on user’s choice. [4]
Write a program in C language to input a number and then check whether the number is positive or negative or zero number. [4]
OR
Write a program in C language to display the series 1,1,2,3,5,8 upto 10th terms. [4]
The End
No comments:
Post a Comment