Group A-10 Marks
1. Answer the following questions in one sentence: [6*1=6]
a. Define network protocol.
b. Define digital footprint.
c. Which is the default dub type of number data type of MS-Access?
d. Define data validation rule.
e. Write the function of Kill and Name ….AS statements in QBASIC
f. Name the header/library file that handles mathematical functions in C-language
2. Write appropriate technical term for the following: [1*1=2]
a. The data handling capacity of a communication channel.
b. Law that governs the legal issues of cyberspace.
3. Write the full forms of the following: [2*1=2]
i. VSAT
ii. SMTP
Group ‘B’-24 Marks
4. Answer the following questions: [9*2=18]
a. What is a computer network? Write any two advantages of it.
b. What is web browser? List any two web browsers.
c. What is cybercrime? List any four cybercrimes.
d. What is a computer virus? List any four symptoms of computer viruses.
e. What is E-commerce? List any two advantages and disadvantages of it.
f. Define DBMS. List any two examples.
g. Differentiate between Select query and Action query.
h. List any four data types of MS-Access? Write the suitable data type to store images.
i. Define Report object of MS-ACCESS
5. Predict the output of the given program showing necessary dry run.[2]
DECLARE SUB pat(N$)
CLS
P$=”EDUCATION”
CALL pat(P$)
END
SUB pat(N$)
C=LEN(N$)
B=1
FOR K=C TO 1 STEP -2
PRINT TAB(B); MID$(N$,B,K)
B=B+1
NEXT K
END SUB
6. Rewrite the given program after correcting the bugs: [2]
REM Program to make a word reverse
DECLARE FUNCTION rec$(W$)
CLS
INPUT “Enter a word”;N$
Reverse$=rev$(W$)
PRINT “The reversed word is..”; Reverse$
END
FUNCTION rev$(W$)
FOR M=LEN(W$) TO 1
B$=B$+MID$(W$,1,M)
NEXT M
B$=rev$
END FUNCTION
7. Study the following program and answer the given questions
DECLARE FUNCTION xyz(N)
CLS
INPUT "Enter a number ";M
PRINT xyz(M)
END
FUNCTION xyz(N)
WHILE <>0
C= N MOD 10
R=R*10+C
N=INT(N/10)
WEND
xyz=R
WEND
END FUNCTION
(a) Write the function of INT and MOD.
(b) List the formal and Actual/Real parameters used in the above program.
Group "C"-16 marks
8. Convert / Calculate as per the instructions: 4*1=4
(i) (10A)16=(?)8
(ii) (211)10=(?)2
(iii) Simplify: (1001+110)2-(1000)2
(iv) (11101)2÷(100)2
9. (a) Write a program in QBASIC that asks for radius and height. Create a user defined function to calculate volume of cylinder and SUB program to calculate volume of sphere. [Hint : cylider=πr2h, sphere=4/3πr3].
(b) A sequential data file called "staff.txt" has stored data under the field headings: Name, address , post and date of birth (MM-DD-YYYY). Write a program to display all the information of those employees who were born between the years 1970 AD to 2020 AD.
10. Write C program to input three different numbers and display the greatest number. [4]
OR
Write C program that input a number and check whether the input number is prime or composite. [4]
The End