Computer PABSON Board Exam 2078 (2022) SET A
Group "A"
1. Answer the following questions in one sentence.6*1=6
(a) What is badwidth?
(b) What is cyber bullying?
(c) What is AI?
(d) WHat is the storage size of memo and text data type in MS Access?
(e) What is local variable?
(f) What is an operator is C language?
2. Write appropriate technical term for the following:2*1=2
(a) Secret group of characters which helps to protect file from unauthorized person
(b) A type of network in which every computer works as both client and server
3. Write the full form of the following :2*1=2
(a) ADSL
(b) TCP/IP
Group "B"
4. Answer the following questions : 9*2=18
(a) Differentiate between LAN and WAN.
(b) Write any four commandments of computer etthics.
(c) What is e-commerce? List any two e-commerce companies in Nepal.
(d) What are the advantages of cloud computing?
(e) What is VR? Mention its application areas.
(f) What is DBMS? Give any two examples.
(g) What is primary key? List any two advanatges.
(h) What is query?
(i) What is data sorting? Write its two advantages.
5. Write down the output of the given program : 2
DECLARE SUB DISPLAY(A)
A=3
CALL DISPLAY(A)
END
SUB DISPLAY(A)
FOR X = 1 TO 6
PRINT A;
IF A MOD 2 = 0 THEN
A = A / 2
ELSE
A = ( A * 3 ) + 1
END IF
NEXT X
END SUB
6. Re-write the given program after correcting the bugs : 2
REM to add more data in a sequential data file
OPEN "EMP.DAT" FOR INPUT AS #2
DO
INPUT "ENTER NAME "; N$
INPUT "ENTER ADDRESS "; A$
INPUT "ENTER SALARY "; S$
WRITE #1, N$, A$,S
INPUT "Do you want to add more record "; M$
LOOP WHILE UCASE$(M$)="Y"
END
7. Study the following program and answer the given questions : 2*1=2
DECLARE FUNCTION test$(A$)
CLS
INPUT "Enter any word "; T$
PRINT test$(T$)
END
FUNCTION test$(A$)
FOR M = LEN(A$) TO 1 STEP-1
C$=C$+MID$(A$,M,1)
NEXT M
test$=C$
END FUNCTION
(a) List the formal and actual para,eters used in the program given above.
(b) List the library function used in the above program.Group "C"
8. Convert/Calculate as per the instruction: 4*1=4
(i) (CCA)16 into Binary
(ii) (654)10 into Octal
(iii) (111011)2÷(100)2
(iv) (10101-1110)2×(10)2
9. Answer the following questions. (4*2=8)
(a) Write a program in QBASIC that allows user to enter radius of a circle. Create a user defined function to find area of circle and sub procedure to find volume of a cylinder. Hint: [A=πr2, V=πr2h]
(b) A sequential data file "emp.dat" contains employee's name, address, gender and salary. Write a program to display all the information of employees whose salary is more than Rs.20,000.
10. Write a program in C language to input any two numbers and find greatest number.