SEE 2079 (2023)

 

Group "A"

1. Answer the following questions in one sentence : 6*1=6

(a)What is network protocol?

Ans. A network protocol refers to a set of rules and standards that govern the communication between devices or computers on a network

 

(b) What is e-commerce?

Ans. E-commerce refers to the buying and selling of goods and services over the internet.

 

(c) What is the default size of the text field in MS-Access?

Ans: The default size of a text field is 255 characters in MS-Access.

 

(d) Which data type is used to store photos in MS-Access?

Ans. The data type used to store photos is called an OLE Object data type

 

(e) What is looping?

Ans: Looping is a programming concept that allows a set of instructions to be repeated multiple times in a program

 

(f) List any two data types used in C-programming language

Ans. Any two data types used in C-programming language are char for string data type  and int and float for numeric data type.

 

2. Write appropriate technical term for the following:2*1=2

(a) A program that can disinfect a file from virus. 

Antivirus

(b) Learning through the electronic media.

e-Learning

 

3. Write the full form of the following :2*1=2

(a) G2G = Government to Government

(b) ISP = Internet Service Provider

Group "B"

4. Answer the following questions : 9*2=18

 

(a) What is network topology? List any two types of network topology.

Ans: Network topology refers to the physical or logical layout of a computer network Any two types of network topology are bus topology and star topology.

 

(b) What is antivirus software? Name any two popular antivirus software.

seeqbasicomputer.blogspot.com

Antivirus is a type of program designed to detect,prevent and remove malicious software . Any two popular are antivirus software are Kaspersky and Norton Antivirus

 

(c) Define cyber law and cyber crime

Ans: Cyber law is a type of law that governs the use of the internet, computers, and related technologies Cybercrime refers to criminal activities that are committed using computers or the internet

 

(d) Define virtual reality. Write any two areas where virtual reality is used.

Ans. Virtual reality is a technology that creates a computer-generated environment that users can experience and interact with using specialized hardware such as head- mounted displays. Any two areas where virtual reality is used are Gaming and Education and Training

 

(e) What is password? Write any two importance of password protection.

Ans. A password is a secret code that you use to verify your identity and access your accounts or devices. Any two importance of password protection are:

 

- to protect your passwords because it helps to keep your personal information and accounts safe from unauthorized access.

- to ensure security and privacy as well as prevent hacking, identity theft, and other cybercrimes

 

(f)What is DBMS? Write four objects of MS-Access

Ans: DBMS is a software system that helps users to store, retrieve, and manage data in an efficient and organized way. Any four objects of MS-Access are Table, Form, Query and Report.

 

(g) What are validation text and validation rule?

Ans: Validation text is the message that appears when a user enters invalid data into a field. Validation rule is a condition that must be met in order for data to be accepted into a field

 

(h) What is form? Write any two advantages of it

Ans. A form is an object of MS-Access which provides a graphical interface that allows users to interact with the data in a database. Any two advantages of form are

 

-It provide a user-friendly interface for users to input and display data

-It can include validation rules that help ensure that data entered into fields meets specific requirements.

 

(i)What is record? Why is the primary key necessary in record?

Ans. A record refers to a collection of related data fields that are organized and stored together. A primary key is necessary in a database record because it helps to ensure the accuracy and integrity of data in a database by ensuring that each record is unique and identifiable

 

5. Write down the output of the given program : 2

DECLARE SUB Series(A)

CLS

A=20

CALL Series(A)

END

 

SUB Series(A)

FOR K = 1 TO 5

PRINT A;

A=A+10

NEXT K

END SUB

 

A

K

Output

20

1

20 30 40 50 60

30

2

 

40

3

 

50

4

 

60

5

 

70

6

 

Output: 20 30 40 50 60

6. Re-write the given program after correcting the bugs : 2

REM program to make a word reverse

DECLARE FUNCTION Rev$(N$)

CLS

LNPUT "Enter a word "; N$

DISPLAY "Reversed is";Rev$(N$)

END

 

FUNCTION  Rev$(N$)

FOR K = LEN$(N$) TO 1 STEP-1

B$=B$+MID$(N$,1,K)

K B$=Rev$

END FUNCTION

 

After correcting bugs

 

DECLARE FUNCTION Rev$(N$)

CLS

LNPUT "Enter a word "; N$

PRINT "Reversed is";Rev$(N$)

END

 

FUNCTION Rev$(N$)

FOR K = LEN (N$) TO 1 STEP-1

B$=B$+MID$(N$,K,1)

Rev$=B$

END FUNCTION

 

 

7. Study the following program and answer the given questions : 2*1=2

 

DECLARE FUNCTION SUM(N)

CLS

INPUT "Enter any number ";N

X=SUM(N)

PRINT "The sum of individual digit is ";X

END

 

FUNCTION SUM(N)

WHILE N<>0

R=N MOD 10

S=S+R

N=INT(N/10)

WEND

SUM=S

END FUNCTION

 

(a)    Write the function of INT.

Function of ini is to round down number to the nearest integer value

(b)   How many times does the WHILE...WEND loop repeat if the value of N is 123?

3 times does the WHILE...WEND loop repeat if the value of N is 123

 

Group "C"

8. Convert/Calculate as per the instruction: 4*1=4

(i) (10110011)2=(?)16 (ii) (410)10=(?)2 (iii) (1001+110)2-(1000)2 (iv) (10110)2÷(101)2

 

9. Answer the following questions. (4*2=8)

(a) Write a program in QBASIC that asks radius of a circle to calculate its area and circumference. Create a user-defined function to calculate area and sub-program to calculate circumference. [Hint: A=πr2    C=2πr]

(b) A sequential data file called “Record.dat” has stored data under the field headings: Roll No., Name, Gender, English, Nepali, Maths and Computer. Write a program to display all the information of those students whose marks in English is more than 40.

 

10. Write a program in C-language that asks any two numbers and displays the greatest among them.

OR

Write a program in C-language in C-language to display the series with their sum. 1, 2, 3 , 4, …. , up to 10th term. The End

Popular posts from this blog

Computer