Answer the following
a) What is network topology? Write any one advantage of star topology.
-> The arrangement or connection pattern of computer or modes and other devices of the network is called network topology.
The advantage is
*it is easy to detect errors in star topology.
b) Give any two example of email over traditional mail.
-> Any two example of email over traditional mail are.
* It is very fast compare to traditional mail.
* It is allows to send and receive message across the world
c) List any two main aims of formulating cyber law in Nepal
-> * Provides punishment who conducts cyber crime.
* Provide legal status for various baning transaction through electronic media, which will be instrumental in boasting economic activities throughout the world via Internet.
d) Give any two symptoms of virus attacks.
-> Two symptoms of virus attacks are;-
* Programs takes long time to load.
* Increased use of disk space and growth in the file size.
e) Give the important of UPS to the computer system.
-> Important of UPS in computer system are:-
* It controls fluctuation of electric voltage.
* Provides enough backup electric power to the computer system when there is power failure
2A) convert as instructed
i)(BED)16 INTO BINARY
-> HEXADECIMAL VALUE= BED
SEPARATED HEXADECIMAL= B E D
BINARY EQUIVALENT VALUE=1011 1110 1101
or;(BED)16 = (101111101101)2
ii)(1010111)2 INTO OCTAL
-> BINARY VALUE= 101011
SEPARATED BINARY VALUE= 001 010 111
OCTAL VALUE= 1 2 7
or;(1010111)2=(127)8
B) Perform binary calculatiion
i) 10101 x 10
-> 1 0 1 0
x10
0 0 0 0
1 0 1 0 X
1 0 1 0 0
ii) 1 0 1 0 1 / 1 1
->
1 1 ) 1 0 1 0 1 ( 1 1 1
1 1 ⇣
1 0 0
1 1⇣
0 1 1
1 1
X
3. Match the following
Combination media→ Multimedia
POP → Protocol used in e-mail
UTP → Guided media
UPS →Power protection device
4) Choose the correct answer
a) Which of the following is an audio output device?
->Speaker
b)Which one is not a type virus
->
c)Which one is the bounded media
->
d which one is the operating system software?
->
5) Give an appropriate technical term for the following
a) A program that can disinfect a file from virus
-> Antivirus program
b) A person who steals or destroys other's data, information and program .
-> Hacker
c) A company that provides internet service
-> ISP
d) A computer in a network which can provides services to other computer
-> Server
6) Write the full form of :-
i) TCP / IP = Transmission Control Protocol / Internet Protocol
ii) LAN= Local Area Network
iii) UPS= Ultra Power Supply
iv) FTP= File Transfer Protocol
7) Answer the following question
a) Define data and information
-> Data can be number, letter or symbols representing facts and figures which may or may not give any sense.
-> Information is an organized collection of related data which gives a complete sense.
b) What is report? Give its importance ?
-> Reports is an object of MS- Access which display the output in an effective way to present the data in a printed format. Its important are:-
i) It display the information the way we want to view
ii) It present the information retrieved through queries or tables.
c) Name any four data types that can be defined in MS-Access
->
8) Choose the best answer
a) the column in a database table are called
-> Field
b) Which is the suitable data types to store videos
-> OLE
c) Text data types can store maximum of characters
-> 255
d) Which of the following is a database application.
-> MS-Access
9)Match the following
Indexing data→ Searching fast
Form →Graphical interface for data entry
Field →column on database
OLE object →Size up to 1 GB
11) Rewrite the program after correcting the bug.
DECLARE SUB Series()
CLS
EXECUTIVE Series
END
SUB Series
REM to generated 2 2 4 6 10 up to the 10th term
P=2
Q=2
For Ctr= 1 to 5
DISPLAY P,Q
P=P+Q
Q=P+Q
WEND
END Series( )
->DECLARE SUB Series( )
CLS
CALL Series
END
SUB Series
REM to generated 2 2 4 6 10 up to the 10th term
P=2
Q=2
FOR Ctr= 1 to 5
PRINT P,Q
P=P+Q
Q=P+Q
NEXT Ctr
END SUB
12) Write the output of the following program
-> DECLARE FUNCTION Area(L, B)
LET L= 10
LET B=5
PRINT "THE AREA="; Area(L, B)
A= L* B
Area = A
END FUNCTION
=> O/P
THE AREA=50
13) Study the following program and answer the given question
DECLARE FUNCTION SUM(A,B)
INPUT" ENTER FIRST NUMBER";A
INPUT" ENTER SECOND NUMBER";B
PRINT " THE SUM OF THE TWO NUMBER="; SUM(A,B)
END
FUNCTION SUM(A,B)
\S=A+B
SUM=S
END FUNCTION
a) List the numerical variable used in the above program.
-> A, B and S are the numerical used in above program.
b) Will the program run if the first line (i.e Declare) is deleted?
-> Yes the program would run even if (i.e Declare) is deleted.
13 a)WAP using function end function to get temperature in Celsius from the user and then print the temperature in Fahrenheit.
-> DECLARE FUNCTION TEMP( C)
CLS
INPUT" ENTER CELSIUS VALUE";C
PRINT " FAHRENHEIT VALUE="; TEMP(C)
END
FUNCTION TEMP(C)
TEMP =9*C/5+32
END FUNCTION
b) WAP using SUB.. EN DSUB to get a word from the user and then print its revers order.
->
DECLARE SUB REV(A$)
CLS
INPUT" ENTER STRING"; A$
CALL REV(A$)\
END
END REV(A$)
FOR I LEN(A$) TO 1 STEP -1
B$= MID$(A$, I, 1)
R$= R$+ B$
NEXT I
PRINT" Reverse string";R$
END SUB
c)A sequential data file called "Marks.dat" contain Name, English, Nepali, maths and Science fields. WAP to display all the contents of that data file.
-> OPEN" Marks.dat" FOR INPUT AS #1
CLS
PRINT" NAME", " ENGLISH", "NEPALI", " MATH", "SCIENCE"
WHILE NOT EOF(1)
INPUT #1, N$, E, N, M, S
WEND
CLOSE #1
END
-> 1 0 1 0
x10
0 0 0 0
1 0 1 0 X
1 0 1 0 0
ii) 1 0 1 0 1 / 1 1
->
1 1 ) 1 0 1 0 1 ( 1 1 1
1 1 ⇣
1 0 0
1 1⇣
0 1 1
1 1
X
3. Match the following
Combination media→ Multimedia
POP → Protocol used in e-mail
UTP → Guided media
UPS →Power protection device
4) Choose the correct answer
a) Which of the following is an audio output device?
->Speaker
b)Which one is not a type virus
->
c)Which one is the bounded media
->
d which one is the operating system software?
->
5) Give an appropriate technical term for the following
a) A program that can disinfect a file from virus
-> Antivirus program
b) A person who steals or destroys other's data, information and program .
-> Hacker
c) A company that provides internet service
-> ISP
d) A computer in a network which can provides services to other computer
-> Server
6) Write the full form of :-
i) TCP / IP = Transmission Control Protocol / Internet Protocol
ii) LAN= Local Area Network
iii) UPS= Ultra Power Supply
iv) FTP= File Transfer Protocol
7) Answer the following question
a) Define data and information
-> Data can be number, letter or symbols representing facts and figures which may or may not give any sense.
-> Information is an organized collection of related data which gives a complete sense.
b) What is report? Give its importance ?
-> Reports is an object of MS- Access which display the output in an effective way to present the data in a printed format. Its important are:-
i) It display the information the way we want to view
ii) It present the information retrieved through queries or tables.
c) Name any four data types that can be defined in MS-Access
->
- Text
- Memo
- Number
- Currency
8) Choose the best answer
a) the column in a database table are called
-> Field
b) Which is the suitable data types to store videos
-> OLE
c) Text data types can store maximum of characters
-> 255
d) Which of the following is a database application.
-> MS-Access
9)Match the following
Indexing data→ Searching fast
Form →Graphical interface for data entry
Field →column on database
OLE object →Size up to 1 GB
11) Rewrite the program after correcting the bug.
DECLARE SUB Series()
CLS
EXECUTIVE Series
END
SUB Series
REM to generated 2 2 4 6 10 up to the 10th term
P=2
Q=2
For Ctr= 1 to 5
DISPLAY P,Q
P=P+Q
Q=P+Q
WEND
END Series( )
->DECLARE SUB Series( )
CLS
CALL Series
END
SUB Series
REM to generated 2 2 4 6 10 up to the 10th term
P=2
Q=2
FOR Ctr= 1 to 5
PRINT P,Q
P=P+Q
Q=P+Q
NEXT Ctr
END SUB
12) Write the output of the following program
-> DECLARE FUNCTION Area(L, B)
LET L= 10
LET B=5
PRINT "THE AREA="; Area(L, B)
A= L* B
Area = A
END FUNCTION
=> O/P
THE AREA=50
13) Study the following program and answer the given question
DECLARE FUNCTION SUM(A,B)
INPUT" ENTER FIRST NUMBER";A
INPUT" ENTER SECOND NUMBER";B
PRINT " THE SUM OF THE TWO NUMBER="; SUM(A,B)
END
FUNCTION SUM(A,B)
\S=A+B
SUM=S
END FUNCTION
a) List the numerical variable used in the above program.
-> A, B and S are the numerical used in above program.
b) Will the program run if the first line (i.e Declare) is deleted?
-> Yes the program would run even if (i.e Declare) is deleted.
13 a)WAP using function end function to get temperature in Celsius from the user and then print the temperature in Fahrenheit.
-> DECLARE FUNCTION TEMP( C)
CLS
INPUT" ENTER CELSIUS VALUE";C
PRINT " FAHRENHEIT VALUE="; TEMP(C)
END
FUNCTION TEMP(C)
TEMP =9*C/5+32
END FUNCTION
b) WAP using SUB.. EN DSUB to get a word from the user and then print its revers order.
->
DECLARE SUB REV(A$)
CLS
INPUT" ENTER STRING"; A$
CALL REV(A$)\
END
END REV(A$)
FOR I LEN(A$) TO 1 STEP -1
B$= MID$(A$, I, 1)
R$= R$+ B$
NEXT I
PRINT" Reverse string";R$
END SUB
c)A sequential data file called "Marks.dat" contain Name, English, Nepali, maths and Science fields. WAP to display all the contents of that data file.
-> OPEN" Marks.dat" FOR INPUT AS #1
CLS
PRINT" NAME", " ENGLISH", "NEPALI", " MATH", "SCIENCE"
WHILE NOT EOF(1)
INPUT #1, N$, E, N, M, S
WEND
CLOSE #1
END
No comments:
Post a Comment