MODEL QUESTION SET 3
1.
Answer
the following questions:
a) Explain about network topology. Write
any two advatages of computer networking.
Ans: The
physical arrangement or layout of the computer network is called network
topology. The two advantages of computer networking are
1.
Sharing of Hardware
2.
Sharing of Software
b) What is an Internett? Write any two
advantage of internet.
Ans:The
interconnection of billions of computers
and computer networks of the world via wire or wireless technologies is
called internet. It is also called network of networks.
The two
advantages of intenet are
1. Fast
means of communication
2.
Remote computing.
c) What is antivirus software? List any
two-antivirus software.
Ans: The
collection of programs or software which is used to detect and remove the virus
from the computer are colled antivirus software. Two antivirus software are
1.
Kespersky
2. NOD32
d) What is multimedia? Write any two
applications of it.
Ans: The
combination of text, graphics, animation, video, audio to represent the
information electronically is called multimedia. Two applications of multimedia
are
1. In
Education
2. In
Bussiness
e) What do you mean by software
security? Write any two methods to protect the computer software.
Ans: The
measures to protect the computer programs, data and information from being
damage is called software security.
Two
methods to protect the computer software are
1.
Antivirus
2.
Backup
2.
.
a) Carry out the following binary
operation:
i)
(11011x110)-
11101 ii) 111100÷1000
b) Convert followings:
i)
(756)8
into binary
ii)
(1011011011)2
into hexa decimal
3.
Match
the following:
Group A Group B
a) McAfee (b)Supplies continuous power
b) UPS (d)
Internet profocol
c) Web Browser (a)Antivirus software
d) TCP/IP () Computer Virus
4.
State
whether the statements are ture or false.
a) MODEM is necessary to access the
internet. (T)
b) Fiber optic uses light to carry a
data signal thorugh cable.(T)
c) Multimedia does not include animation.
(F)
d) Cyber ethics are moral principals
that make aware to the computer users.(T)
5.
Give
the appropriable technical terms:
a) Network of networks. Intenet
b) A secret code that gives the user to
access paticular program and system. Password
c) The use of internet to buy and sell
goods and servies. Ecommerce
d) The rules and regulations to
systematize the computer releted technology. Network Protocol
6.
Give
the full form:
7.
a) Kbps-Kilo bits per second
b) NIC- Network Interface Card
c) MODEM-Modulator and Demodulator
d) FTP-File Transfer Protocol
Group "B" Database Management System (10
Marks)
8.
Answer
the following questions:
a) Define data and database.
Ans:
Data are the raw fact and figures which doesnot have any meaning. eg 1,23a,
dfg, etc.
Database
is the collection of logically related data which gives any meaning to the
user. eg- school ledger, register etc
b) Name any four data types that can be
defined in MS-ACCESS
Ans:
Four types of data types are: Text, Memo, OLE, Autonumber
c) Index decreases the speed of the
query and short operations. (F)
d) The data in primary key field need to
be unique and not null.(T)
9.
Match
the following:
Group 'A' Group 'B'
i)
MS-ACCESS (iv) Analyze and present data
in a printed
format
ii)
update ii)
Query
iii)
Record A piece of information
related to some
on or something
iv)
Report (i)Date base management
software
(iii)Collection
of related fields
10. .
a. Define the modular programming.
Ans:
Modular programing is the approach or technique of programing where a program
is divided into small programs(modules).
b. Name by two date types used in C
language
Ans:The
two data types are int and float
c. Give the funcation of Name of and
CLOSE statements.
Ans: The
function of Name is to change the name of qbasic file and close is used to
close the open qbasic file in file handling.
11. Rewrite the given program correcting
the bugs:
DECLARE SUB Series ()
CLS
EXECUTE Series
END
SUB Series
A=2
B=2
FOR ctr = 1 to 5
Display
A; B;
A=
A+B
B=
A+B
Loop
ctr
END Series
()
Ans: The correct program is
DECLARE SUB Series ()
CLS
CALL Series
END
SUB Series
A=2
B=2
FOR ctr = 1 to 5
Print
A; B;
A=
A+B
B=
A+B
Next
ctr
End Sub
12. Write the output of the following
program:
DECLARE FUNCTION Interest (p,t,r)
CLS
LET p=30
LET t=40
LET r= 6
LET d= interest (p,t,r)
Print *The simple interest will be*,
d
END
FUNCTION Interest (p,t,r)
Answer
= (p,t,r)/100
Interest=answer
END FUNCTION
Ans: The output of the program
The simple interest will be 72
13. Analyze the program given below and
answer the questions:
DECLARE FUNCTION Diff (A,B)
CLS
INPUT *Enter first number"; A
INPUT *Enter second number"; B
PRINT "The difference of the two
number= "; Diff (A,B)
END
FUNCTION Diff (A,B)
D=A-B
Diff= D
END FUNCTION
a) What will be the output of the
program if the user inputs 200 as the first number and 100 as the second
number?
Ans: The
output is The difference between two numbers=100
b) Will the program run if the first
line (i.e. DECLARE…………..) is deleted?
Ans:Yes,
the program will run because this is the optional statement.
14. .
a) Write a program using FUNCTION…….END
FUNCTION to get a word from the user and then print the word in reverse order.
DECLARE
FUNCTION REV$(A$)
CLS
INPUT A$
PRINT
"REVERSE OF THE WORD";REV$(A$)
END
FUNCTION
REV$(A$)
FOR
I=LEN(A$) TO 1 STEP -1
R$=MID$(A$,I,1)+R$
NEXT I
REV$=R$
END
FUNCTION
b) Write a program using SUB…..END to
get redius of circle and then print area.
DECLARE
SUB AREA(R)
CLS
INPUT
"RADIUS";R
CALL
AREA(R)
END
SUB
AREA( R)
A=22/7*R^2
PRINT
"AREA OF CIRCLE";A
END SUB
c) A sequantial date file called 'MARKS
DAT' contains Roll No., Name, English, Nepali and Maths fields. Write a program
to display all the contents of the data file.
OPEN
"MARKS.DAT" FOR INPUT AS $1
WHILE
NOT EOF(1)
INPUT
#1, R,N$,E,NE,M
PRINT
R,N$,E,NE,M
WEND
CLOSE #1
END
No comments:
Post a Comment