Half-Yearly Exam-2080
Gauri Shankar
Secondary School Nisdi-4, Mityal, Palpa
Grade:- 10
(SEE)
Subject:-
Computer Science
FM:-50
Time:- 2 Hrs.
Attempt all questions
Group-A (Very Short Questions-10 Marks)
1) เคคเคฒเคा เคช्เคฐเคถ्เคจเคนเคฐुเคो เค
เคคि เคोเคो เคเคค्เคคเคฐ เคฒेเค्เคจुเคนोเคธ्। (6×1=6)
(Answer the following questions in very short.)
a) เคจेเคเคตเคฐ्เค เคช्เคฐोเคोเคเคฒ เคญเคจेเคो เคे เคนो? (What is network protocol?)
Ans: A set of rules followed for
interconnection and communication between computers in a network is called a network
protocol
b) เคธोเคธเคฒ เคฎिเคกिเคฏाเคा เคुเคจै เคฆुเค เคซाเคเคฆाเคนเคฐु เคฒेเค्เคจुเคนोเคธ्।
(Write any two advantages of
social media.)
Ans: Any two advantages of social media are:
a) It creates awareness and innovate the way people live
b)
Social media let us share anything with
others around the world.
c) เคกाเคा เคฐिเคกเคจ्เคกेเคจ्เคธी เคญเคจ्เคจाเคฒे เคे เคฌुเคिเคจ्เค? (What is meant by data redundancy?
Ans: Data redundancy is the duplication of data within a
database.
d) MS-Access เคฎा เคตिเคฆ्เคฏाเคฐ्เคฅीเคो เคเคจ्เคฎ เคฎिเคคि เคญเคฃ्เคกाเคฐเคฃ เคเคฐ्เคจ เคुเคจ เคกाเคाเคो เคช्เคฐเคाเคฐ เคช्เคฐเคฏोเค เคเคฐिเคจ्เค ?
(Which data type is suitable to store birth date of a
student in MS-Access?)
Ans: Date/Time data type is suitable to store birth
date of a student in MS-Access
e) Q-Basic เคฎा MKDIR เคเคฎाเคจ्เคก เคुเคจ เคाเคฐ्เคฏเคा เคฒाเคि เคช्เคฐเคฏोเค เคเคฐिเคจ्เค? (What is the MKDIR command used for in
Q-Basic?)
Ans: MKDIR command is used to create a subdirectory which is used to manage files.
f) C เคญाเคทाเคा เคुเคจै เคฆुเค เคธीเคฎाเคนเคฐु เคฒेเค्เคจुเคนोเคธ्। (Write any two limitations of C-Language.)
Ans: Any two limitations of C-Language are:
There is no runtime checking. (the errors are not
detected after each line of code.)
It does not provide strict data type checking (for
example, an integer value can be passed for floating datatype).
2) เคเคชเคฏुเค्เคค เคช्เคฐाเคตिเคงिเค เคถเคต्เคฆ เคฒेเค्เคจुเคนोเคธ्। (2×1=2)
(Write appropriate technical term of the
following.)
a) เคช्เคฐाเคเคญेเค เคฐ เคชเคฌ्เคฒिเค เค्เคฒाเคเคกเคो เคธंเคฏोเคเคจ । (Combination of private and
public cloud.)
– Hybrid Cloud
b) เคเคเคा เคोเคช्เคฏ เคोเคก เคเคธเคฒे เคช्เคฐเคฏोเคเคเคฐ्เคคाเคฒाเค เคตिเคถेเคท เคช्เคฐोเค्เคฐाเคฎ เคฐ เคธिเคธ्เคเคฎเคो เคชเคนुँเค เคฆिเคจ्เค।
(A secret code that gives the user to access
particular program and System.) - Password
3) เคชूเคฐा เคฐुเคช เคฒेเค्เคจुเคนोเคธ्। (2×1=2)
(Write the full forms of the following:)
a) NAS - Network Attached Storage.
b) IOT – Internet of
Things
Group-B (Short Questions -24 Marks)
4) เคคเคฒเคा เคช्เคฐเคถ्เคจเคนเคฐुเคो เคोเคเคเคฐीเคฎा เคเคค्เคคเคฐ เคฒेเค्เคจुเคนोเคธ्। (9×2=18)
(Answer the following questions in short.)
a) เคฌाเคเคจ्เคกेเคก เคฎिเคกिเคฏा เคฐ เค
เคจเคฌाเคเคจ्เคกेเคก เคฎिเคกिเคฏाเคฎा เคญिเคจ्เคจเคคा เคฆेเคाเคเคจुเคนोเคธ् । (Differentiate between bounded media and
unbounded media.)
Ans: The difference between bounded and unbounded
media are:
|
Bounded Media |
Unbounded Media |
|
The media which uses cable or wire to transfer data and information among
computers are called bounded communication media. |
The transmission media which transfer data in the form of
electromagnetic waves that do not require any cables for transmission is
called unbounded communication media. |
|
E.g., Twisted Pair Cable, Co-Axial Cable and Fiber
Optic Cable
|
E.g.: radio wave, microwave, satellite etc. |
b) เคธूเคเคจा เคช्เคฐเคตिเคงि เคाเคจुเคจ เคญเคจेเคो เคे เคนो? เคฏो เคिเคจ เคเคตเคถ्เคฏเค เค? (What is cyber law? Why is cyber law
needed?)
Ans: The law which governs the legal issues in the
cyber space regarding the internet or WWW for digital data processing and
transaction is called cyber law. Cyber
law is needed to
- control cyber-crime and misuse of computer
- legalize the transaction through electronic media to
control various types of electronic frauds
-punish a person who does criminal activities through
electronic means especially on computers.
C) เคฌाเคฏोเคฎेเค्เคฐिเค เคญเคจेเคो เคे เคนो? เคฏเคธเคो เคช्เคฐเคฏोเค เคนुเคจे เคुเคจै เคाเคฐ เคเคा เค्เคทेเคค्เคฐเคนเคฐु เคฒेเค्เคจुเคนोเคธ्। (What is Biometric? Write any four areas where it is used.)
Ans: Biometrics are physical or behavioral human
characteristics that can be used to digitally identify a person to grant access
to systems, devices or data.
Any four areas
where biometric are used :
Mobile Device
Security: secures smartphones and tablets, allowing access only to authorized
users.
Cybersecurity:
Prevent unauthorized access to sensitive data with multi-factor authentication.
Time and
Attendance Tracking: track employee attendance accurately.
Financial
Transactions: secure access to accounts and transactions.
d) เค
เคจเคฒाเคเคจ เคญुเค्เคคाเคจी เคญเคจेเคो เคे เคนो? เคฏเคธเคा เคेเคนी เคเคฆाเคนเคฐเคฃเคนเคฐु เคฒेเค्เคจुเคนोเคธ्। (What is online payment? Write some examples of it.)
Ans: Online payment refers to the payment for buying goods or services through the Internet
using different online payment gateway. E.g. eSewa Nepal, iPay, Khalti,
e-banking, etc.
e) เค-เคเคญเคฐ्เคจเคฎेเคจ्เคเคा เคुเคจै เคाเคฐ เคซाเคเคฆाเคนเคฐु เคฒेเค्เคจुเคนोเคธ् । (Write down
any four advantages of E-Government.)
Ans: Any four advantages of E-Government are:
Citizens can access government services and
information conveniently from anywhere.
It reduces paperwork and manual tasks, which can lead
to faster decision-making and service delivery.
E-governance systems promote transparency by making
government actions and decisions visible to the public.
Cheaper, more
effective, and speedy communications
f) เคกाเคाเคฌेเคธ เคญเคจेเคो เคे เคนो? เคเคฎ्เคช्เคฏुเคเคฐाเคเค्เคก เคกाเคाเคฌेเคธเคा เคซाเคเคฆाเคนเคฐु เคฒेเค्เคจुเคนोเคธ्।
(What is database? Write down the advantages of computerized database.)
Ans: A collection of systematically organized inter-related
data is called a database. The purpose of data base is to store, organize and
retrieve data.
The advantages of computerized database are:
a)
It
reduces data redundancy which means duplication of data.
b)
It
allows multiple users to access the same data simultaneously.
c)
Large
volume of data can be stored and updated easily.
d)
It
provides high security of data as well as maintains accurate database.
g) เคซเคฐ्เคฎ เคญเคจेเคो เคे เคนो ? เคฏเคธเคो เคฎเคนเคค्เคต เคฒेเค्เคจुเคนोเคธ् ।
(What is form? Write the importance of form.)
Ans: Form is one of the MS-Access database objects which
provides graphical interface to view, modify and add data in a table or
multiple linked tables.
The importance of form are:
· Forms provide an easy-to-use interface for data entry and
manipulation, improving data accuracy and completeness.
· Forms can include validation rules to ensure data quality
and prevent errors.
· Forms enable users to customize the look and feel of data
input screens.
· Forms can be linked to other objects, such as tables or
queries, to simplify data management.
h) เคกाเคा เคธเคฐ्เคिเค
เคญเคจेเคो เคे เคนो? MS-Access
เคฎा เคกाเคाเคฒाเค เคเคคि เคคเคฐिเคाเคฌाเค เคธเคฐ्เค เคเคฐ्เคจ เคธเคिเคจ्เค? (What is data sorting? How many ways to
sort data in MS-Access?)
The
process of arranging all the records in a table either ascending or descending
order based on field or fields is known as sorting. Sorted data is easier to
handle than unsorted data.
We
can sort data in MS-Access by ascending or descending order on numbers or text.
i) MS-Access เคा เคुเคจै เคाเคฐ เคเคा เค
เคต्เคेเค्เคเคนเคฐुเคो เคธूเคी เคคเคฏाเคฐ เคชाเคฐ्เคจुเคนोเคธ्। (List any four objects of MS-Access.)
Ans: Any four objects of MS-Access are
Tables:
Used to store data in a structured format with columns and rows.
Queries:
Used to retrieve and manipulate data from one or more tables based on specified
criteria.
Forms:
Used to create user-friendly interfaces for entering and viewing data in
tables.
Reports: Used to
generate formatted and organized views of data from tables or queries.
5) เคคเคฒ เคฆिเคเคเคो
เคช्เคฐोเค्เคฐाเคฎเคो เคเคเคเคชुเค เคฒेเค्เคจुเคนोเคธ्। 2
(Write down the output of the given
program.)
DECLARE SUB ptt()
CLS
CALL patt
END
SUB patt
X=1
FOR i=1 TO 5
PRINT X
X=(x*10)+i
NEXT i
END SUB
Dry Run
|
X |
I=1 to 5 |
PRINT X |
X=(x*10)+i |
|
1 |
1 to 5 Yes |
1 |
(1*10)+1 =11 |
|
|
2 to 5 Yes |
11 |
(11*10)+2 =112 |
|
|
3 to 5 Yes |
112 |
(112*10)+3 =1123 |
|
|
4 to 5 Yes |
1123 |
(1123*10)+4 11234 |
|
|
5 to 5 Yes |
11234 |
(11234*10)+5 112345 |
|
|
6 to 5 No Loop Exits |
|
|
The output of the program is :
1
11
112
1123
11234
6) เคคเคฒ เคฆिเคเคเคो
เคช्เคฐोเค्เคฐाเคฎเคो เคเคฒ्เคคि เคธเค्เคाเคเคฐ เคชुเคจः เคฒेเค्เคจुเคนोเคธ् । 2
(Re-write the given program after correcting
the bugs.)
OPEN "student.rec" FOR OUTPUT AS #1
FOR I = 1 TO 5
INPUT
"Enter Name, Class, Roll No. and Age"; N$, C, R, A
WRITE N$, C, R, A
CLOSE #1
Debugged Program:
OPEN "student.rec" FOR INPUT
AS #1
FOR I = 1 TO 5
INPUT
"Enter Name, Class, Roll No. and Age"; N$, C, R, A
WRITE #1, N$, C, R, A
NEXT I
CLOSE #1
END
7) เคคเคฒเคो เคช्เคฐोเค्เคฐाเคฎ เค
เคง्เคฏเคฏเคจ เคเคฐि เคธोเคงिเคเคा เคช्เคฐเคถ्เคจเคนเคฐुเคो เคเคตाเคซ เคฆिเคจुเคนोเคธ्। (2×1=2)
(Study the following program and answer the
following questions.)
DECLARE FUNCTION prod(a,b)
CLS
INPUT "Enter first number" ;a
INPUT "Enter second number" ;b
PRINT "The product of two number is"
;prod(a,b)
END
FUNCTION prod(a,b)
P=a*b
Prod=p
END FUNCTION
เคช्เคฐเคถ्เคจเคนเคฐु
i) เคฎाเคฅिเคो เคช्เคฐोเค्เคฐाเคฎเคฎा เคช्เคฐเคฏोเค เคเคฐिเคเคा เคธंเค्เคฏाเคค्เคฎเค เคญेเคฐिเคเคตเคฒเคนเคฐुเคो เคธूเคी เคคเคฏाเคฐ เคชाเคฐ्เคจुเคนोเคธ् । (List the numerical variables used in above
program.)
Ans: The numerical variables used in above program are
: a, b and p
ii) เคฎाเคฅिเคो เคช्เคฐोเค्เคฐाเคฎเคฎा เคช्เคฐเคฏोเค
เคเคฐिเคเคा เคฒोเคเคฒ เคญेเคฐिเคเคตเคฒเคนเคฐुเคो เคธूเคी เคคเคฏाเคฐ เคชाเคฐ्เคจुเคนोเคธ्।
(List the local variables used in above program.)
The local variables used in above program are a, b and
p.
Group-C (Long
Questions-16 Marks)
8) เคฆिเคเคเคो เคจिเคฐ्เคฆेเคถเคจ เค
เคจुเคธाเคฐ เคนिเคธाเคฌ เคเคฐ्เคจुเคนोเคธ्। (4×1=4)
(Convert or Calculate as per the
instructions:)
i) (525)10= (?)8
ii) (AC3)16=(?)2
iii) (1111)2 + (1101)2-(1010)2
iv) (1011)2¸(10)2
9. a) เคเคเคा เคทเคกเคฎुเคाเคो เคฒเคฎ्เคฌाเค, เคौเคกाเค เคฐ เคเคाเคเคो เคเคงाเคฐเคฎा เคเคกเคे เคธเคคเคนเคो เค्เคทेเคค्เคฐเคซเคฒ เคฐ เคเคฏเคคเคจ เคชเคค्เคคा เคฒเคाเคเคจे Q-BASIC เคช्เคฐोเค्เคฐाเคฎ เคฒेเค्เคจुเคนोเคธ । เคเคธเคा เคฒाเคि เคเคกเคे เคธเคคเคนเคो เค्เคทेเคค्เคฐเคซเคฒ เคชเคค्เคคा เคฒเคाเคเคจे เคซเคเคธเคจ เคช्เคฐเคธिเคกเคฐ เคฐ เคเคฏเคคเคจ เคชเคค्เคคा เคฒเคाเคเคจे เคธเคฌ เคช्เคฐเคธिเคกเคฐ เคช्เคฐोเค्เคฐाเคฎ เคคเคฏाเคฐ เคชाเคฐ्เคจुเคนोเคธ्। 4 (Write a program in Q-BASIC that asks
length, breadth and height of cuboid and calculate its lateral surface area and
Volume. Create a Function procedure to calculate lateral surface area and sub
procedure to calculate volume.) [Hint:- LSA = 2h (I+b) and V=lxbxh]
DECLARE FUNCTION LSA(L,B,H)
DECLARE SUB VOL(L,B,H)
CLS
INPUT “Enter Length”; L
INPUT “Enter Breadth”: B
INPUT “Enter Height”: H
PRINT “Lateral Surface Area of Cuboid=”; LSA(L, B, H)
CALL VOL(L, B, H)
END
FUNCTION LSA(L, B, H)
LSA=2*H*(L+B)
END FUNCTION
SUB VOL(L,B,H)
V=L*B*H
PRINT “Volume of Cuboid=”; V
END SUB
b) เคช्เคฐเคฏोเคเคเคฐ्เคคाเคो เคเคตเคถ्เคฏเคเคคाเคो เคเคงाเคฐเคฎा
TELDIR. DAT เคกाเคा เคซाเคเคฒ เคฌเคจाเคเคจे เคช्เคฐोเค्เคฐाเคฎ เคฌเคจाเคเคจुเคนोเคธ् เคเคธเคฎा เคाเคฎเคฆाเคฐเคो เคจाเคฎ, เค ेเคाเคจा เคฐ เคेเคฒिเคซोเคจ เคจเคฎ्เคฌเคฐ เคฐाเคिเคเคो เค। 4 (Write a program to creat a data file
TELDIR.DAT to store name address and telephone number of employees according to
the need of user.)
OPEN “TELDIR.DAT” FOR
OUTPUT AS #1
DO
CLS
INPUT “ENTER NAME”;
N$
INPUT “ENTER
ADDRESS”; A$
INPUT “ENTER
TELEPHONE”; T
WRITE #1, N$, A$, T
INPUT “DO YOU WANT TO
CONTINUE”; CH$
LOOP WHILE
UCASE$(CH$) = “Y”
CLOSE #1
END
10) เคฆिเคเคเคो เคธंเค्เคฏाเคฒाเค 7 เคฒे เคญाเค เคเคฐ्เคจ เคฎिเคฒ्เค เคฏा เคฎिเคฒ्เคฆैเคจ เคญเคจि เคाँเค เคเคฐ्เคจ C- เคญाเคทाเคฎा เคช्เคฐोเค्เคฐाเคฎ เคฒेเค्เคจुเคนोเคธ्। (Write a program in C-Language to check whether the supplied
number is divisible by 7 or not.) 4
#include<stdio.h>
#include<conio.h>
int main()
{
int n;
printf("Enter any number: ");
scanf("%d", &n);
if(n % 7 = = 0)
{
printf("%d is divisible by 7",n);
}
else
{
printf("%d is not divisible by 7",n);
}
return 0;
}
เค
เคฅเคตा (OR)
เคชเคนिเคฒो 10 เคเคा เคช्เคฐाเคृเคคिเค เคธंเค्เคฏाเคนเคฐु เคช्เคฐเคฆเคฐ्เคถเคจ เคเคฐ्เคจ C-Program เคฒेเค्เคจुเคนोเคธ् । 4 (Write a
program in C-Language to display first 10 natural numbers.)
#include<stdio.h>
#include<conio.h>
int main()
{
int i;
i=1;
while(i<=10)
{
printf("%d \n", i);
i++;
}
return 0;
}
Best of Luck
.png)