4.
Answer the following questions: [9×2=18]
Group “A” [10 Marks]
a. Define Star Topology with one advantage and one disadvantage.
1. Answer in a sentence or two: [6×1=6]
b. What is Cyber Law? Mention the first cyber law of Nepal.
a. What is a Search Engine?
c. Explain the concept of Cloud Computing.
b. Define Computer Ethics.
d. What is E-governance? List any two benefits.
c. Which data type is used to store long text (more than 255 characters) in
MS Access? e. Define Artificial Intelligence (AI) and give two examples of its use.
d. What is the purpose of the "Required" field property? f. Differentiate between Text and Number data types in MS Access.
e. List the two types of procedures used in QBASIC. g. What is a Relationship in a database? Name its types.
f. What is a variable in C language? h. Define Social Media. Write one positive and one negative impact.
2. Write the technical term for: [2×1=2] i. What is a Report in MS Access? Why is it used?
a. The physical layout or arrangement of computers in a network. 5. Write the output and show the dry run: [2]
b. A crime committed using a computer and the internet. DECLARE FUNCTION TEST(X)
3. Write the full forms: [2×1=2] CLS
a. URL A = 15
b. MAN PRINT TEST(A)
END
Group “B” [18 Marks] FUNCTION TEST(X)
FOR I = 1 TO 3
X=X+I
NEXT I
TEST = X
END FUNCTION
6. Rewrite the program after correcting bugs: [2] Group “D” [16 Marks]
REM To display records from "[Link]" 8. Conversions and Binary Calculations: [4]
CLS a. (101110)22 = (?)_8$
OPEN "[Link]" FOR OUTPUT AS #1 b. (75)10 = (?)_2$
WHILE NOT EOF
c. (110)2times (11)2 + (101)2
INPUT #1, N$, P$, S
d. (1111)2 / (11)2
PRINT N$, P$, S
9. Write a program using a FUNCTION procedure to calculate the area of
WEND a circle and a SUB procedure to find its perimeter.
[4]
CLOSE #1
10. Create a sequential data file "[Link]" to store Name, Class, and
STOP
Section for 10 students.
7. Study the program and answer: [2] [4]
OPEN "[Link]" FOR INPUT AS #1 11. Write a program to check if a given number is even or Odd. [4]
WHILE NOT EOF(1)
INPUT #1, NM$, POST$, SAL
IF SAL > 20000 THEN
PRINT NM$, POST$, SAL
END IF
WEND
CLOSE #1
a. What is the purpose of the IF...THEN condition in this program?
b. What happens if the file "[Link]" does not exist in the drive?