P]lR5s låtLo sDKo'6/ lj1fg
Opt. II
Computer Science
sIff M !)
Class: 10
k|yd q}dfl;s k/LIff – @)*#
First
Terminal Examination – 2083
lbOPsf] lgb]{zgcg';f/
l;h{gfTds pQ/x¿ lbg'xf];\ .
Give the creative answers based on the
given instructions.
Time: 2 Hours -;do M @ 306f_ Full
Marks: 50 -k"0ff{ª\sM %)_
Group ‘A' -;d"x …s…_
lbOPsf ljsNkx¿af6 ;xL pQ/ 5fGg'xf];\ / cfˆgf] pQ/k'l:tsfdf
n]Vg'xf];\ . (Choose the correct option from the following
and write in your answer sheet.) (10×1=10)
1. b"/;~rf/ -Telecommunication_ eGgfn] s] a'lemG5 <
What is meant by telecommunication?
a.
sDKo'6/df
8f6f e08f/0f ug{'
Data storage in computers
b. nfdf]
b"/Ldf ;"rgf k7fpg' / k|fKt ug{'
Sending and receiving information over long distances
c. ;~rf/
pks/0fx¿sf] dd{t ug{'
Repairing communication devices
d. ;ˆ6j]o/
k|f]u|fd agfpg'
Creating software programs
2. g]6jls{ªdf Switch sf] d'Vo sfo{ s] xf] <
What
is the main function of a switch in networking?
a. Pgfnu
l;UgnnfO{ ¿kfGt/0f ug{' Convert analog signals.
b. g]6js{leqsf
pks/0fx¿nfO{ h8fg ug{' Connect devices within a network
c. df]lg6/sf]
resolution a9fpg' Increase monitor resolution
d. 8f6f
:yfoL ¿kdf e08f/0f ug{' Store data permanently
3.
Extranet sf] d'Vo p2]Zo s] xf] <
What is the main purpose of an Extranet?
a. v]n v]Ng' Gaming
b.
afXo
k|of]ustf{;Fu ;'/lIft ¿kdf hfgsf/L ;fem]bf/L ug{' Sharing
information with external users securely
c.
6]lnlehg
x]g{' Watching television
d.
lsaf]8{x¿
h8fg ug{' Connecting
keyboards
4. df]afOn kmf]g, :df6{jfr / Oo/a8\; h8fg ug{ ;a}eGbf pko'Qm g]6js{ s'g
xf] <
Which network is most suitable for
connecting mobile phones, smartwatches, and earbuds?
a. PAN b. Internet c. MAN d.
WAN
5. kmfOa/
clK6s s]an / tfdfsf] -Copper_ s]an aLr 8f6f k|;f/0f ug{ s'g pks/0f pkof]uL x'G5 <
Which
device is useful for transmitting data between fiber optic cable and copper
cable?
a. Router b. Media Converter
c. RJ45 d. Modem
6. tnsf]
Python statement n] s'g
data structure nfO{
k|ltlglwTj ub{5 <
Which data structure is represented by the following Python
statement?
data =
{"name":"PABSON", "subject":"Computer",
"year":"2083"}
a. Dictionary b. List c.
Tuple d. String
7. lgDg
Python code sf] ;Defljt
output dWo] s'g x'g ;S5 <
Which of the following can be a possible output of the given
code?
import random
print(random.randint(10, 100))
a. 5 b. Only 10 and
100
c. 101 d. Any integer
between 10 and 100
8. Pp6f
ljBfyL{n] tnsf] Python Turtle k|f]u|fd n]V5 .
A student writes the following
Python Turtle program:
import turtle
t = turtle.Turtle()
for i in range(8):
t.forward(100)
t.right(45)
turtle.done()
dflysf]
k|f]u|fdaf6 ;a}eGbf ;Defljt ¿kdf s'g cfs[lt aGg]5 <
Which shape will most likely be formed by the above program?
a. Triangle b. Square c. Pentagon d. Octagon
9. Python function af6 u0fgf ul/Psf] glthf d'Vo k|f]u|fddf k7fpg s'g keyword k|of]u ul/G5 <
Which keyword is used to send the
calculated result from a Python function to the main program?
a. return b. break c.
continue d. print
10. Pp6f
ljBfyL{n] b'O{j6f ;+VofnfO{ efu ug{sf nflu tnsf] Python k|f]u|fd n]V5 .
A student writes the following
Python program to divide two numbers:
a = int(input("Enter first
number: "))
b = int(input("Enter second
number: "))
print(a / b)
k|of]ustf{n]
) jf unt -Invalid_
Ogk'6 k|lji6 ubf{ k|f]u|fd aGb -crash_ x'gaf6 /f]Sgsf nflu ;a}eGbf pko'Qm kl/dfh{g s] xf] <
What is the best modification to prevent the program from
crashing when the user enters 0 or invalid input?
a. efu ug]{
ck/]6/nfO{ u'0fg ug]{ ck/]6/n] k|lt:yfkg ug{'xf];\ . Replace division operator
with multiplication.
b. Ogk'6
kmª\;g x6fpg'xf];\ . Remove the input function.
c. q'l6x¿nfO{
Joj:yfkg ug{ try–except Ans k|of]u ug{'xf];\ . Use try-except blocks to
handle errors.
d. ;a}
Ogk'6x¿nfO{ string df ¿kfGt/0f ug{'xf];\ . Convert all inputs into
strings.
Group ‘B' -;d"x …v…_
lbOPsf k|Zgsf] 5f]6f] pQ/ lbg'xf];\
M
Answer the following short
questions: [10×2=20]
11.
Bandwidth / Throughput
aLrsf s'g} b'O{ km/s
n]Vg'xf];\ .
Write any two differences between
bandwidth and throughput.
12. b"/;~rf/ -Telecommunication_ df cfj[lQ -Frequency_ eg]sf] s] xf]< ;~rf/ k|0ffnLdf
cfj[lQ lsg dxQ\jk"0f{ 5 <
What is
frequency in telecommunication? Why is frequency important in communication
systems?
13.
Ps hgf g]6js{ k|zf;sn] IPv$
dfqn] eljiosf] OG6/g]6sf] j[l4 k|efjsf/L ¿kdf ;dy{g ug{ ;Sb}g eG5g\ .
IPv4 sf ;Lldttfx¿sf]
ljZn]if0f ug{'xf];\ / IPv6 n] oL ;d:ofx¿ s;/L ;dfwfg u5{ eg]/ JofVof ug{'xf];\ .
A network administrator says that IPv4
alone cannot support future Internet growth effectively. Analyze the
limitations of IPv4 and explain how IPv6 helps solve these problems.
14.
Pp6f a}+sn] cfˆgf] g]6js{df
/x]sf ;a} sDKo'6/sf kmfOn, k|of]ustf{ vftf, lk|G6/ tyf ;'/IffnfO{ s]G›Lo ¿kdf
Joj:yfkg ug{ rfxG5. o; p2]Zosf nflu s'g g]6js{ df]8]n ;a}eGbf pko'Qm x'G5<
sf/0f lbg'xf];\ .
A bank wants to centrally manage files,
user accounts, printers, and security for all computers in its network. Which
network model is most suitable for this purpose? Give a reason.
15.
ljBfnosf] Network ;':t x'G5 /
sDKo"6/x? Ps–csf{af6 6f9f /fVbf Signal sdhf]/ x'G5 . of] ;d:of ;dfwfg ug{
s'g Networking Device k|of]u ug'{k5{ < sf/0f;lxt JofVof ug'{xf];\ .
A school network becomes slow and signals
weaken when computers are placed far from each other. Which networking device
should be used to solve this problem? Explain with reason.
16. electricity_bill(units,
rate=15) gfdsf]
function kl/eflift ug]{
Python k|f]u|fd n]Vg'xf];\,
h;n] k|lt o'lg6sf] default
rate k|of]u u/L ljB't\ dx;'n
(electricity bill) u0fgf u/L
return ub{5 .
tnsf] ;"q k|of]u ug'{xf];\ :
Bill = units × rate
Write a Python
program to define a function named electricity_bill(units, rate=15) that
calculates and returns the electricity bill using a default rate per unit. Use
the following formula: Bill = units × rate
17. tLg j6f ;+Vofx? dWo] ;a}eGbf ;fgf] ;+Vof kQf nufpg
Selection Statement (if...elif...else) sf] k|of]u u/L Python
k|f]u|fd n]Vg'xf];\ . min()
function sf] k|of]u
gug'{xf];\ . [2]
Write a Python
program using selection statements to display the smallest number among three
numbers without using the min( ) function.
18. Python df math module nfO{ alias k|of]u u/L import ug]{ k|f]u|fd n]Vg'xf];\ / tn
lbOPsf] ;"q k|of]u u/L a]ng -Cylinder_ sf] s'n ;tx If]qkmn -Total Surface Area_ u0fgf ug{'xf];\ .
TSA = 2πr(r + h)
k|of]ustf{af6 lqHof -radius_ / prfO -height_ Ogk'6 lng'xf];\ / u0fgf ul/Psf] s'n ;tx If]qkmn k|bz{g
ug{'xf];\ . [2]
Write a Python program to import
the math module using an alias and calculate the Total Surface Area of a
cylinder using the following formula: TSA = 2πr(r + h)
Take the radius and height as
input from the user and display the calculated total surface area.
19. Pp6f ljBfyL{n] Python df Module, Package / Library n] Pp6} sfd u5{g\ eGg] ljZjf; u5{ . pQm egfOsf] ljZn]if0f
ug{'xf];\ / pko'Qm pbfx/0f;lxt Library
/ Package aLr km/s :ki6 kfg{'xf];\ . [2]
A student believes that modules,
packages, and libraries in Python perform the same task. Analyze the statement
and differentiate library and package with suitable examples.
20. Pp6f ljBfyL{n] Python df lalnª k|0ffnL ljsf; u5{ . slxn]sfxLF k|f]u|fd ;~rfngsf]
qmddf c;fdfGo ¿kdf aGb x'G5
eg] slxn]sfxLF s'g} q'l6 gb]vfO{
unt u0fgf lbG5 . ;+nUg q'l6sf k|sf/x¿ klxrfg u/L ltgn] k|f]u|fdsf] ;~rfngdf
kfg]{ k|efj JofVof ug{'xf];\ . [2]
A student
develops a billing system in Python. Sometimes the program terminates
abnormally during execution, while at other times it produces incorrect
calculations without showing any error. Identify the types of errors involved
and explain how they affect program execution.
Group ‘C' -;d"x …uÚ_
lbOPsf k|Zgsf] nfdf] pQ/ lbg'xf];\
M
Answer the following questions in long. [5 × 4 = 20]
21. :6f/ 6f]kf]nf]hLsf]
kl/efiff n]Vg'xf];\ . :6f/ 6f]kf]nf]hLsf] ;kmf / n]an ul/Psf] lrq sf]g{'xf];\ /
o;sf s'g} b'O{ ljz]iftfx¿ n]Vg'xf];\ . [1+1+2]
Define
star Topology. Draw a neat and labeled diagram of star Topology and write any
two features of it.
22. Unguided Communication Media s] xf] \? pko'Qm pbfx/0f ;lxt
Unguided Communication Media sf
s'g} tLg k|sf/x?sf] JofVof ug'{xf];\ . [4]
What is unguided communication media?
Explain any three types of unguided communication media with suitable examples.
23. Pp6f
ljBfyL{n] tnsf] Python
k|f]u|fd n]V5 / Function aflx/
Variable k|of]u ubf{ q'l6
cfpF5 .
;d:of klxrfg ug'{xf];\ / ;DalGwt
cjwf/0ffnfO{ pko'Qm pbfx/0f ;lxt JofVof ug'{xf];\ . [4]
A student writes
the following Python program and gets an error while accessing a variable
outside the function. Identify the problem and explain the related concept with
suitable example.
def test():
x = 10
print(x)
test()
print(x)
24. tn lbOPsf]
Python Turtle program cWoog
u/L k|Zgx¿sf] pQ/ lbg'xf]:f\ M
Study the
following Python Turtle program and answer the questions: [2+2]
import turtle
t = turtle.Turtle()
t.color("red",
"yellow")
for i in range(2):
t.forward(150)
t.right(90)
t.forward(100)
t.right(90)
turtle.done()
a. dflysf] k|f]u|fdaf6 ag]sf] cfs[lt klxrfg ug'{xf];\ / k|of]u
ePsf] Pen Color n]Vg'xf];\
.
Identify the
shape formed by the above program and write the pen color used.
b. dfly pNn]lvt k|f]u|fdnfO{ rectangle sf] ;§f triangle sf]g]{ u/L kl/dfh{g ug'{xf];\ .
Modify the above
program to draw a triangle instead of a rectangle.
25. ljBfyL{x?n] lbPsf] s'n k|fKtfsf cª\sx?nfO{ ljBfyL{sf]
;+Vofn] efu u/L cf};t cª\s (Average Marks) u0fgf ug]{
Python k|f]u|fd n]Vg'xf];\ . k|f]u|fdn]
c;dfGo Input (Invalid Input) / efu ubf z'Go (Division by Zero) af6 x'g] q'l6x?nfO{ Exception Handling sf] k|of]u u/L ;DefNg'kg]{5 . olb
sfo{ ;kmntfk"j{s ;DkGg ePdf cf};t cª\s k|bz{g ug'{xf];\ . k|f]u|fddf q'l6
eP klg jf geP klg cGtdf "Program Ended" eGg] ;Gb]z k|bz{g ug'{xf];\ . [4]
Write a Python
program to calculate the average marks of students by dividing the total marks
by the number of students entered by the user. The program should handle errors
that may occur due to invalid input and division by zero using exception
handling. Display the average marks if the operation is successful and display
"Program Ended" at the end of the program regardless of whether an
error occurs or not.
?ÿ@
Marking
Scheme
P]lR5s låtLo sDKo'6/ lj1fg
Opt. II
Computer Science
sIff M !)
Class: 10
k|yd q}dfl;s k/LIff – @)*#
First
Terminal Examination – 2083
Time: 2 Hours -;do M @ 306f_ Full
Marks: 50 -k"0ff{ª\sM %)_
Group ‘A' -;d"x …s…_
|
Q.No. |
Correct Answer |
Marks [10×1=10] |
|
1. |
b. Sending and receiving
information over long distances |
1 |
|
2. |
b. Connect devices within a
network |
1 |
|
3. |
b. Sharing information with
external users securely |
1 |
|
4. |
a. PAN |
1 |
|
5. |
b. Media Converter |
1 |
|
6. |
a. Dictionary |
1 |
|
7. |
d. Any integer between 10
and 100 |
1 |
|
8. |
d. Octagon |
1 |
|
9. |
a. return |
1 |
|
10. |
c. Use try-except blocks to
handle errors |
1 |
Group ‘B' -;d"x …v…_
|
Q.No. |
Correct Answer |
Marks [10×2=20] |
|||||||||
|
11. |
Or (any satisfactory answer) |
Correct complete differences - 0.5
+ 0.5 for first difference 0.5 + 0.5 for second difference |
|||||||||
|
12. |
Frequency is the number of times data signals are
transmitted in one second through a communication channel. Frequency is important because it
helps in faster and clearer signal transmission in systems like Wi-Fi,
Bluetooth, radio, and mobile networks. Or (any satisfactory answer) |
2 |
|||||||||
|
13. |
IPv4 has limited IP addresses and cannot support the
rapidly growing number of Internet-connected devices effectively. It also has
lower security and routing efficiency. IPv6 provides a larger address
space, improved security, and more efficient communication. |
2 |
|||||||||
|
14. |
Client-Server network model is most suitable. Reason: It provides centralized
management of files, users, printers, and security. |
2 |
|||||||||
|
15. |
A repeater should be used. Reason: A repeater regenerates
weak signals and extends communication distance in a network. |
2 |
|||||||||
|
16. |
def electricity_bill(units,
rate=15): return units * rate units = int(input("Enter
electricity units consumed: ")) total = electricity_bill(units) print("Electricity Bill
=", total) |
2 |
|||||||||
|
17. |
a = int(input("Enter first
number: ")) b = int(input("Enter second
number: ")) c = int(input("Enter third
number: ")) if a <= b and a <= c: print("Smallest number =", a) elif b <= a and b <= c: print("Smallest number =", b) else: print("Smallest number =", c) |
2 Correct use of selection
statements – 1 Correct output statement – 0.5) |
|||||||||
|
18. |
import math as m r = float(input("Enter
radius: ")) h = float(input("Enter
height: ")) tsa = 2 * m.pi * r * (r + h) print("Total Surface Area
=", tsa)
|
2 Correct input statements – 0.5 Correct formula and calculation –
0.5 Correct output statement – 0.5) |
|||||||||
|
19. |
No, the statement is not
correct. - Library: Standard Python
Library - Package: NumPy Or (any satisfactory
answer) |
2 Definition of library – 0.5 Definition of package – 0.5 Suitable examples – 0.5) |
|||||||||
|
20. |
The errors are runtime
error and logical error. Or (any satisfactory answer) |
2 Identification of logical
error – 0.5 Explanation/examples - 1) |
Group ‘C' -;d"x …uÚ_
|
Q.No. |
Correct Answer |
Marks [5×4=20] |
|
21. |
• Star topology is a network topology in which all
computers are connected to a central device such as a hub or switch. Failure of one
computer does not affect the entire network. |
1+1+2 |
|
22. |
Unguided communication media is a wireless communication
media that transmits data through air using electromagnetic waves without
using physical cables. Types: Used for wireless
internet access in homes, schools, and offices. ii. Bluetooth Used for short-distance communication between devices like
mobile phones, speakers, and smartwatches. iii. RFID Used for identification and tracking using radio waves
such as ID cards and inventory systems. Or (any satisfactory answer) |
4 Any three types identified – 1.5 Explanation / examples –
1.5) Incomplete explanation/examples: 0.5 to 1 mark. |
|
23. |
The program gives an error because the variable x is
defined inside the function test(). A variable declared inside a function is
called a local variable and it can only be accessed within that
function. When print(x) is executed outside the function, Python
cannot access the variable outside the function scope and raises a NameError. Corrected Example x = 10 def test(): print(x) test() print(x) Output 10 10 Explanation of Concept
Or (any satisfactory answer) |
1+1+1+1 Scope concept identified – 1 Correct Explanation – 1 Suitable example - 1) |
|
24. |
a. Shape formed: Rectangle import turtle t = turtle.Turtle() t.color("red", "yellow") for i in range(3): t.forward(150) t.left(120) turtle.done() |
2+2 Correct use of loop for triangle – 1 mark Correct angle and drawing statements – 1 mark |
|
25. |
Python Program to Calculate Average Marks Using
Exception Handling try: total =
float(input("Enter total marks: ")) students =
int(input("Enter number of students: ")) average = total
/ students
print("Average Marks =", average) except ValueError:
print("Invalid Input") except ZeroDivisionError: print("Number
of students cannot be zero") finally:
print("Program Ended")
|
4 Correct average calculation – 1 Correct exception
handling (ValueError / ZeroDivisionError) – 1 Correct use of finally block - 1 ) |
?ÿ@

No comments:
Post a Comment