SOLVED COMPUTER
SCIENCE SEE (Grade Increment) 2081 (2025)
(Group
'A')
1. Answer the following questions in one
sentence:
a) Name
any two unguided transmission media.
Any two unguided transmission media are radio
wave and microwave.
b) What
is online payment?
Online payment refers to the payment for buying goods or services through the internet
using different online payment gateway.
c) Write
down any two objects of MS-Access
Any two objects of MS-Access are table and
form.
d) What
is report?
Report is one of
the MS-Access database objects used to present information in an effective and
organized format that is ready for printing.
e) Write
the function of 'WRITE statement.
The
function of write statement is to write data to a sequential file. It inserts commas between
the data items. It encloses strings in double quotation marks.
f) Write
down any two data types used in in C-language.
Any two data types used in in C-language are int and char.
2. Write appropriate technical term for the
following:
a) An
illegal activity done thrown computer and internet. Cyber Crime
b) The
rate at which data st which data is transmitted through a given medium.
Bandwidth
3. Write the full form of the following:
a) ISP
– Internet Service Provider
b) G2G
– Government to Governement
समूह 'ख'
(Group 'B')
4. Answer the following questions:
a) What
is data communication? List two modes of data communication.
Data communication is the process
of transferring data and information between computers and other electronic
devices. Two modes of data communication mode are simplex and duplex mode.
b) Define
Antivirus software with two examples.
Antivirus software is a program
that scans, detects, and removes malicious software from a computer or device
to protect it from security threats.
c) What
is software security? Write any two measures of hardware security
Software
security is the protection of computer programs and applications from threats,
such as hacking, virus attacks, and unauthorized access, to ensure their
confidentiality, integrity, and availability.
Any
two hardware security are regular maintenance and power protection device.
d) What
is Internet of Things (IoT) Write any two importance of it.
Internet
of Things (IoT) refers to a network of interconnected physical devices that can
collect and exchange data over the internet without requiring human
intervention.
Any
two importance of IoT are:
It reduces the human effort, so it saves a lot of time.
Information
is easily accessible from any place at any time on any device.
e) Define
e-commerce with its types
E-commerce refers to the buying and
selling of goods and services over the internet.
Its types are:
·
Business
to Consumer (B2C)
·
Business to Business (B2B)
·
Consumer to Consumer (C2C)
·
Consumer to Business (C2B):
f) What
is table? Which view is used Modify a table?
Tables are the
primary building block of database which stores and manages large volume of
data into rows and column. Design view is used to modify a table.
g) What
is Query? List any two importance's of it
Query is an object of database that is
used to view, retrieve, change and analyze records from a table or multiple
linked tables based on specified condition.
Any two importance of query are:
·
Queries enable users to retrieve
specific data from tables or other data sources, based on specified criteria.
·
Queries allow users to filter, sort,
and group data in meaningful ways.
h) Define
Validation rule and Validation text
Validation Text
is a field property which displays an error message that appears if the data
entered is invalid according to the specified validation rule.
i)
Give any two difference between Form and
Report
Form |
Report |
Form is primarily used for entering data |
Report is used for presenting the data. |
Data can be modified through the form. |
Data can not be modified through report. |
5. Write down the output of the given program
and show them in dry run table:
DECLARE SUB Result (A$)
A$="Development"
CALL Result (A$)
END
SUB Result (A$)
FOR C=1 TO LEN(A$) STEP 2
XS=MID$(AS,C,1)
PRINT X$
NEXT C
END SUB
Dry Run
A$ |
C=1 TO LEN(A$) STEP 2 |
XS=MID$(AS,C,1) |
PRINT X$ |
|
|
Development |
1 to 11 step 2 yes |
1,1 D |
D |
|
|
|
3 to 11 step 2 yes |
3,1 v |
v |
|
|
|
5 to 11 step 2 yes |
5,1 e |
l |
|
|
|
7 to 11 step 2 yes |
7,1 o |
p |
|
|
|
9 to 11 step 2 yes |
9, 1 m |
e |
|
|
|
11 to 11 step 2 yes |
11,1 n |
t |
|
|
|
13 to 11 step 2 no Loop exists |
|
|
|
|
The output of the program is:
D
v
l
p
e
t
6. Rewrite the given program after correcting
the hugs:
REM to display records
OPEN "marks.dat” FOR INPUT AS #1
CLS
PRINT "Roll Number",
"Name", "English", "Nepali
DO WHILE NOT EOF()
INPUT #1, RN, N$, E, Ne
DISPLAY RN, N$, E, Ne
WEND
CLOSE
END
Debugged Program
REM to display records
OPEN "marks.dat”
FOR INPUT AS #1
CLS
PRINT "Roll
Number", "Name", "English", "Nepali
DO WHILE NOT EOF(1)
INPUT #1, RN, NS, E,
Ne
PRINT RN, NS. E. Ne
LOOP
CLOSE #1
END
7. Study the following program and answer the
given questions:
DECLARE FUNCTION MUL (A, B)
M = 5
N = 3
PRINT MUL (M.N)
END
FUNCTION MUL (A, B)
MUL=A*B
END FUNCTION
a) List
the parameters used in the above program.
The parameters used in the above program are A
and B.
b) Which
procedure is used in the above program?
FUNCTION Procedure is used in above program.
(Group 'C')
8. Convert/Calculate as per the instruction:
a) (00101001)2
= (x)16
b) (86)10
= (x)2
c) (111)
x (10) – (111)
d) (1011)
/ (10)
9. Answer the following questions:
a) Write a program in Q-BASIC-to ask for three
numbers from the user and find the average üsing SUB PROCEDURE and find the sum
by using the FUNCTION PROCEDURE
DECLARE SUB Average(X,
Y, Z)
DECLARE FUNCTION
Sum(A, B, C)
CLS
INPUT "Enter
first number: ", A
INPUT "Enter
second number: ", B
INPUT "Enter
third number: ", C
CALL Average(A, B, C)
PRINT "Sum of
three numbers= "; Sum(A, B, C)
END
SUB Average(X, Y, Z)
AVG = (X + Y + Z) / 3
PRINT "Average of three numbers =
"; AVG
END SUB
FUNCTION Sum(A, B, C)
Sum = A + B + C
END FUNCTION
b) Write a program in Q-Basic to create a
sequential data file named "record.txt" and store Roll number, Name,
Address and Class of few students.
OPEN
"record.txt" FOR OUTPUT AS #1
DO
CLS
INPUT "Enter Roll number: ", R
INPUT "Enter Name: ", N$
INPUT "Enter Address: ", A$
INPUT "Enter Class: ", C$
WRITE #1, R, N$, A$, C$
INPUT “Do you want to continue(Y/N”; CH$
LOOP WHILE UCASE$(CH$)=”Y”
CLOSE #1
END
10. Write a program in C-language that asks a
number and check whether the input number is odd or even. ✓
#include
<stdio.h>
int main()
{
int num;
printf("Enter a number: ");
scanf("%d", &num);
if(num % 2 == 0)
printf("%d is Even\n", num);
else
printf("%d is Odd\n", num);
return 0;
}
OR
Write a program in C-language to display the
given series 2, 4, 6, 8, 10,100
#include
<stdio.h>
int main()
{
int
i;
for(i=2; i<=100; i+=2)
{
printf("%d ", i);
}
return 0;
}
-0-
No comments:
Post a Comment