Computer for SEE and NEB

It is a complete SEE and NEB solution for computer science. It includes Computer Fundamentals, Database (SQL), Programming in C QBASIC, CSS, JavaScript, and PHP for beginners.

Breaking

Post Top Ad

Your Ad Spot

Tuesday, March 15, 2022

PABSON SEE Pre Board Examination 2078

 PABSON SEE Pre Board Examination 2078


Subject: Opt II Computer Science

Full Marks: 50

Time: 1:30 Hrs

 

 

Candidates are required to write their answer according to the instructions.

Attempt all questions

Group “A”
Very short answer questions. (10×1=10)

1. Give answer in one sentence for the following questions. (6×1=6)

a) Define bandwidth.

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 in ‘C’ language?

 

2. Write appropriate technical terms 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 forms of the following. (2×1=2)

            a) ADSL         b) TCP/IP

 

Group “B” (12×2=24)

Short answer questions

4. Answer the following questions. (9×2=18)

a) Differentiate between LAN and WAN

b) Write any four commandments of computer ethics

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 advantages.

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)

CLS

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

ENDIF

NEXT x

END SUB

 

6. Re-write the following program after correcting bugs. (2)

REM to add more data in 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 records”;m$

LOOP WHILE UCASE(m$)= “Y”

END

 

7. Study the given program and answer the given questions. (2)

DECLARE FUNCTION text$(a$)

CLS

INPUT “Enter any word”;t$

PRINT text$(t$)

END

FUNCTION text$(a$)

FOR m=LEN(a$) TO 1 STEP -1

C$=c$+MID$(a$,m,1)

NEXT m

Text$=c$

END FUNCTION

a) List the formal and actual parameter used in the program given above.

b) List the library function used in above program.

 

Group “C” (4×4=16)

Long Answer Questions

8. Convert/calculate as per the instructions. (4×1=4)

a) (CCA)16 into binary

b) (654)10 into octal

c) (111011÷100)2

d) (10101-1110)2 × 102

 

9.Write a program in QBASIC that allows user to enter radius of a circle. Create a user define function to find area of circle and sub procedure to find volume of cylinder. 

Hint: [A=Ï€r2, v=Ï€r2h] (4)

10. A sequential data file “emp.dat” contains employee’s name, address, gender and salary. Write a program to display all the information of employee’s whose salary is more than Rs 20000.

11. Write a program in C language to input any two numbers and find greater number. (4)

OR

Write a program in C language that asks user to enter any number and check whether input number is odd or even.

No comments:

Post a Comment

Post Top Ad

Your Ad Spot

Pages