Information Security Concepts Quiz
Computer Joint School SEE Prep 2080
Computer Joint School SEE Prep 2080
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 sub type of number data type in 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 the 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 a 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 the 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 reverse a word
DECLARE FUNCTION rev$(W$)
CLS
INPUT "Enter a word"; N$
Reverse$ = rev$(N$)
PRINT "The reversed word is: "; Reverse$
END
FUNCTION rev$(W$)
FOR M = LEN(W$) TO 1 STEP -1
B$ = B$ + MID$(W$, M, 1)
NEXT M
rev$ = B$
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 N <> 0
C = N MOD 10
R = R * 10 + C
N = INT(N / 10)
WEND
xyz = R
END FUNCTION
Questions:
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)₁₆ = (?)₈
ii. (211)₁₀ = (?)₂
iii. Simplify: (1001 + 110)₂ - (1000)₂
iv. (11101)₂ ÷ (100)₂
9. Answer the following questions:
(a) Write a program in QBASIC that asks for radius and height. Create a user-defined function to calculate the volume of a cylinder and a SUB program to calculate the volume of a sphere.
Hint: Cylinder = πr²h, Sphere = (4/3)πr³
(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 a C program to input three different numbers and display the greatest number. [4]
OR
Write a C program that inputs a number and checks whether the input number is prime or composite. [4]
The End
No comments:
Post a Comment