SEE COMPUTER SCIENCE - PABSON FIRST TERM 2083- SET A - QUESITON WITH ANSWER KEY
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. g]6jls{ªdf Throughput eGgfn] s] a'lemG5 .
What does throughput mean in networking?
a.
g]6js{n]
;dy{g ug]{ clwstd ult
Maximum possible speed of a network
b. ;kmntfkj{s :yfgfGt/0f ePsf] data sf]
j:tfljs dfqf .
Actual amount of data transferred successfully
c. g]6js{sf]
s'n e08f/0f Ifdtf
Total storage capacity of a network
d. g]6js{df
k|of]u x'g] ;+s]tx¿sf] cfj[lQ
Frequency of signals in a network
2. OG6/g]6 ;]jf k|bfos -ISP_ n] pRr ultsf] OG6/g]6 ;]jf k|bfg
ug{ fiber optic cable
k|of]u ub{5 . Optical
fiber nfO{ k|efjsf/L agfpg]
d'Vo ljz]iftf s'g xf] <
An
internet service provider uses fiber optic cables to provide high-speed
internet service. Which feature makes optical fiber most effective?
a. s]jn
ljB'tLo ;ª\s]tx? k|of]u ub{5 . Uses electrical signals only.
b. sd bandwidth cfjZos k5{ . Requires
less bandwidth.
c. k|sfzLo
;ª\s]tx? k|of]u u/L 8f6f :yfgfGt/ u5{ . Transfers data using light
signals.
d. ljB'Tr'DasLo
x:tIf]kaf6 ;lhn} k|efljt x'G5 . Easily affected by electromagnetic
interference.
3.
Pp6f sfof{non] /fd|f] ;~rf/ / l56f] 8fpgnf]l8ªsf nflu
cfˆgf] l9nf] Dial–up connection x6fO{ cem l56f] OG6/g]6 ;]jf h8fg u¥of] . ;a}eGbf ;Defljt ¿kdf s'g
OG6/g]6 ;]jf h8fg ul/Psf] xf] <
An office
replaces its slow dial-up connection with a faster Internet service for better
communication and downloading. Which Internet service was most likely
installed?
a. Broadband b. Bluetooth
c.
GPS d.
RFID
4. OG6/g]6 s'g g]6js{sf] pTs[i6 pbfx/0f xf] <
The Internet is the best example of:
a. PAN b. LAN c. MAN d. WAN
5. sDKo'6/
Nofadf Ps ljBfyL{n] LAN
s]an k|of]u u/L sDKo'6/nfO{ l:jr;Fu h8fg ug{ rfxG5 . s'g sg]S6/ ;a}eGbf pko'St
x'G5 <
A
student wants to connect a computer to a switch using a LAN cable in a computer
lab. Which connector is most suitable?
a. RJ45 b. HDMI
c. USB d. VGA
6. lgDg
Python statement n] s'g
data structure hgfpF5 <
Which data structure is represented by the following Python
statement?
data = ["PABSON",
"Computer", "2083", True]
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(1, 5))
a. 0 b. s]jn ! / % .
Only 1 and 5
c. 6 d. ! b]lv % ;Ddsf]
s'g} klg integer. Any integer between 1 and 5
8. Pp6f
ljBfyL{n] lgDg Python Turtle program n]V5M
A student writes the following
Python Turtle program:
import turtle
t = turtle.Turtle()
for i in range(5):
t.forward(100)
t.right(72)
turtle.done()
Which shape will most likely be formed by the above program?
dflysf]
program n] ;a}eGbf ;Defljt
¿kdf s'g shape agfpF5<
a. Triangle b. Square c. Pentagon d. Octagon
9. Python function df value nfO{
function call df kmsf{pg s'g
keyword k|of]u ul/G5 <
Which keyword is used in Python
functions to send a value back to the function call?
a. return b. break c.
continue d. print
10. Pp6f ljBfyL{n] s'g}
;+Vofsf] square root u0fgf ug{ lgDg Python
program n]V5 M
A student writes the following
Python program to calculate the square root of a number:
import math
num = int(input("Enter a
number: "))
print(math.sqrt(num))
t/ k|of]ustf{n] -9 h:tf negative number k|lji6 ubf{ program df error b]lvG5 . Invalid input jf mathematical error x'Fbf program crash x'gaf6 hf]ufpg ;a}eGbf pko'St modification s'g xf]<
However, the program shows an
error when the user enters a negative number such as -9. What is the best
modification to prevent the program from crashing when invalid input or
mathematical errors occur?
a. sqrt() nfO{ pow() n] replace ug]{ . Replace sqrt() with pow().
b. math module x6fpg]
. Remove
the math module.
c. Invalid input jf mathematical error handle ug{ try–except block k|of]u ug]{ .
Use try-except
blocks to handle invalid input or mathematical errors.
d. Input nfO{
string df
convert ug]{
. Convert
the input into a string.
Group ‘B' -;d"x …v…_
lbOPsf k|Zgsf] 5f]6f] pQ/ lbg'xf];\
M
Answer the following short
questions: [10×2=20]
11.
4G / 5G k|ljlwaLr s'g} b'O{ km/s n]Vg'xf];\
.
Write any two differences between 4G and
5G technology.
.
12. Ps ljBfyL{n] Nofk6kdf Wi‑Fi k|of]u u/]/ 3/af6 cgnfOg sIff lnG5
. k|of]u ul/Psf] communication media sf]
k|sf/ klxrfg u/L
o;sf] Pp6f kmfObf n]Vg'xf];\ .
A student
attends online classes at home using Wi-Fi on a laptop. Identify the type of
communication media used and mention one advantage of it.
13.
IPv4 k|of]udf x'Fbfx'Fb} klg IPv6 lsg ljsf; ul/Psf] xf] <
Why was IPv6 introduced even though IPv4
was already in use?
14.
yf]/} sDKo'6/ ePsf ;fgf]
;fOa/ Sofkm]n] sd vr{df kmfOn / lk|G6/ ;fem]bf/L ug{ rfxG5. s'g network
model pko'Qm x'G5 < lsg <
A small cyber café wants to share files
and printers among a few computers at low cost. Which network model is most
suitable for this purpose? Give a reason.
15.
sDKo'6/ g]6js{df
router sf] dxTj :ki6 ug{'xf];\ .
Explain the importance of a router in a
computer network.
16. default parameter sf] ¿kdf Aofhb/ k|of]u u/L simple_interest(p,
t, r=10) gfds function
define ug]{ Python
program n]Vg'xf];\ h;n] lgDg ;"q
k|of]u u/]/ ;fwf/0f Aofh u0fgf u/L return u5{M
SI = (p × t ×
r) / 100
Write a Python
program to define a function named simple_interest(p, t, r=10) that calculates
and returns the simple interest using a default parameter for the rate of
interest and the following formula: SI = (p × t × r) / 100
17. max( ) function k|of]u gu/L selection
statement k|of]u u/]/ tLgj6f
;+VofdWo] ;a}eGbf 7"nf] ;+Vof b]vfpg] Python program n]Vg'xf];\ .
Write a Python program using
selection statements to display the greatest number among three numbers without
using the max( ) function.
18. math module nfO{ alias k|of]u u/]/ import u/L lgDg ;"q k|of]u u/]/
cylinder sf] cfotg u0fgf ug]{
Python program n]Vg'xf];\ .
V = πr²h
k|of]ustf{af6 radius / height input lnP/ u0fgf ul/Psf] volume k|bz{g ug{'xf];\ .
Write a Python program to import
the math module using an alias and calculate the volume of a cylinder using the
following formula: V = πr²h
Take the radius and height as
input from the user and display the calculated volume.
19. Ps ljBfyL{n] Python df Library / Package sf]
k|of]u ubf{ b'j}sf] sfd Pp6} xf] eGg] ;f]r]sf] 5 . jf:tjdf oL km/s
cjwf/0ff x'g\ . Python df Library / Package s] x'g < pko'St pbfx/0f;lxt
JofVof ug{'xf];\ .
A student
thinks that Library and Package in Python perform the same task. However, they
are different concepts in Python. What are libraries and packages in Python?
Explain them with suitable examples.
20. Pp6f ljBfyL{n] ljBfyL{x¿sf] k|fKtfÍ u0fgf ug{ Python
program n]V5 . Pp6f cj:yfdf program
rnfpFbf crfgs
aGb x'G5 eg] csf]{ cj:yfdf program
;kmntfk"j{s rN5 t/ unt output
lbG5 . oL cj:yfx¿df lhDd]jf/ error
sf k|sf/x¿ klxrfg ug{'xf];\ /
s'g} PsnfO{ 5f]6s/Ldf JofVof ug{'xf];\ .
A student
writes a Python program to calculate student marks. In one case, the program
terminates unexpectedly during execution. In another case, the program runs
successfully but produces incorrect output. Identify the types of errors
responsible for these situations and briefly explain any one of them.
Group ‘C' -;d"x …uÚ_
lbOPsf k|Zgsf] nfdf] pQ/ lbg'xf];\
M
Answer the following questions in long. [5 × 4 = 20]
21. Bus Topology sf] kl/efiff n]Vg'xf];\ .
Bus Topology sf] ;kmf / n]an
ul/Psf] lrq agfO o;sf] s'g} b'O{ ljz]iftf n]Vg'xf];\ .
Define
Bus Topology. Draw a neat and labeled diagram of Bus Topology and write any two
features of it. [1+1+2]
22. Pp6f sDkgLn] ;~rf/ tyf 8f6f ;f´]bf/Lsf nflu Internet, Intranet / Extranet k|of]u ub{5. kx'Fr -Access_, k|of]ustf{ -Users_, ;'/Iff
-Security_ / :jfldTj -Ownership_ sf cfwf/df ltgLx¿aLrsf leGgtfx¿ n]Vg'xf];\ .
A company uses Internet, Intranet, and
Extranet for communication and data sharing. Write the differences among them
on the basis of access, users, security, and ownership. [4]
23. Python k|f]u|fd
n]Vbf Ps ljBfyL{n] Pp6f function leq variable declare u5{ / kl5 To;nfO{ function aflx/
k|of]u ug{ vf]H5 . t/
program n] variable nfO{ lrGg ;Sb}g . User–defined
function ;Fu ;DalGwt s'g
concept n] o:tf] Jojxf/
u/fpF5 < pko'Qm sf/0f / pbfx/0f ;lxt JofVof ug{'xf];\ .
While writing a
Python program, a student declares a variable inside a function and later tries
to use it outside the function. However, the program cannot access the variable
outside the function. Which concept related to user-defined functions is
responsible for this behavior? Explain with suitable reasons and examples.
[4]]
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("blue",
"green")
for i in range(4):
t.forward(100)
t.right(90)
turtle.done()
a. dflysf] program n] agfPsf] cfs[lt klxrfg ug{'xf];\ / k|of]u ul/Psf]
pen color n]Vg'xf];\ .
Identify the
shape formed by the above program and write the pen color used.
b. Square sf] ;§f triangle agfpg dflysf] program kl/dfh{g ug{'xf];\ .
Modify the above
program to draw a triangle instead of a square.
25. k|of]ustf{af6 b'O{j6f ;+Vof input lnP/ division ug]{ Python program n]Vg'xf];\ . Program n] invalid
input tyf division by zero af6 x'g] errors nfO{ exception handling k|of]u u/L handle
ug{'k5{ . olb operation ;kmn
ePdf result display
ug{'xf];\ / error eP
klg geP klg cGTodf æProgram EndedÆ display ug{'xf];\ .
Write a Python
program to perform division between two numbers 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 result, if the operation is
successful and display "Program Ended" at the end of the program
regardless of whether an error occurs or not. [4]
?ÿ@
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. Actual amount of data
transferred successfully. |
1 |
|
2. |
c. Transfers data using light
signals. |
1 |
|
3. |
a. Broadband |
1 |
|
4. |
d. WAN |
1 |
|
5. |
a. RJ45 |
1 |
|
6. |
b. List |
1 |
|
7. |
d. Any integer between 1 and 5 |
1 |
|
8. |
c. Pentagon |
1 |
|
9. |
a. return |
1 |
|
10. |
c. Use try-except blocks to
handle invalid input or mathematical errors. |
1 |
Group ‘B' -;d"x …v…_
|
Q.No. |
Correct Answer |
Marks [10×2=20] |
|
11. |
• 4G has lower speed whereas 5G
has higher speed. |
Correct complete differences -
1+1 mark |
|
12. |
·
Type of communication media: Wireless
communication media (Wi-Fi) ·
One advantage: No physical cable is required /
Easy mobility Or (any satisfactory answer) |
2 |
|
13. |
• IPv6 was introduced because
IPv4 addresses were becoming insufficient. |
2 |
|
14. |
• Peer-to-Peer network model |
2 |
|
15. |
• Router connects different
networks. |
2 |
|
16. |
def simple_interest(p, t, r=10):
|
2 Correct formula and return
statement/output – 1 mark Correct function call and print
statement – 0.5 mark |
|
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("Greatest =", a) elif b >= a and b >= c: print("Greatest =", b) else: print("Greatest =", c) |
2 |
|
18. |
import math as m r = float(input("Enter
radius: ")) h = float(input("Enter
height: ")) v = m.pi * r * r * h print("Volume =", v) |
2 |
|
19. |
A library is a collection of
pre-written functions and modules used to perform specific tasks. Example:
math library A package is a collection of
related modules organized in folders/directories. Example: NumPy package Or (any satisfactory answer) |
2 |
|
20. |
·
Program terminates unexpectedly during
execution → Runtime Error ·
Program runs successfully but gives incorrect
output → Logical Error Runtime error occurs while the
program is running and may cause the program to terminate unexpectedly. Or (any satisfactory answer) |
2 |
Group ‘C' -;d"x …uÚ_
|
Q.No. |
Correct Answer |
Marks [5×4=20] |
||||||||||||||||||||
|
21. |
• Bus topology is a network topology where all computers
are connected to a single backbone cable. |
1+1+2 |
||||||||||||||||||||
|
22. |
Or (any satisfactory answer) |
4 Incomplete or vague differences - 0.5 to 1 mark |
||||||||||||||||||||
|
23. |
The concept responsible is called Variable Scope. Variables declared inside a function are called local
variables, and they can only be used within that function and cannot be
accessed outside it. Example: def test(): x = 10 print(x) The above program produces an error because x is declared
inside the function and cannot be accessed outside it. Or (any satisfactory answer) |
1+1+1+1 |
||||||||||||||||||||
|
24. |
a. Shape: Square import turtle t = turtle.Turtle() t.color("blue", "green") for i in range(3): t.forward(100) t.right(120) turtle.done() |
2+2 Correct loop range – 1 mark Correct turning angle (120°) – 1 mark |
||||||||||||||||||||
|
25. |
try: a =
int(input("Enter first number: ")) b =
int(input("Enter second number: ")) result = a / b except ZeroDivisionError:
print("Cannot divide by zero") except ValueError:
print("Invalid input") else:
print("Result =", result) finally:
print("Program Ended") |
4 1 mark for try-except block, 1 mark for division logic and 1 mark for finally block) |
?ÿ@

No comments:
Post a Comment