GARDEN HIGH SCHOOL
IISER KOLKATA CAMPUS
CLASS VIII
PERIODIC TEST II 2025-26
COMPUTER SCIENCE
Time: 40 minutes Maximum Marks: 20
SECTION A
Q1 . Multiple choice questions : [5 x 1 = 5]
a) What does networking refer to in the context of computers?
i) Solving math problems
ii) Interconnecting computers and devices
iii) Playing video games
iv) Entertaining friends on social media
b) The range() function cam take maximum _________ arguments.
i) 0 ii) 1 iii) 2 iv) 3
c) Your computer is a ____________ on the network.
i) switch iii) workstation
ii) hub iv) file server
d) Find the output of the following Python program :
a=5
for i in range(1,5):
print(i*2,end=”<”)
i) 2<4<6<8< iii) 0<2<4<6<
ii) 0<2<4<6<8< iv) 2<4<6<8<10<
e) Assertion (A) : IP addresses are numerical labels assigned to devices connected to a network to identify
and communicate with them. .
Reason (R) : IP addresses serve as unique identifiers for devices within a network, allowing data
packets to be directed to the correct destination.
i. Both A and R are true and R is the correct explanation for A.
ii. Both A and R are true and R is not the correct explanation for A.
iii. A is True but R is False.
iv. A is False but R is True.
SECTION B
Q2 . Write any one point of difference between the devices gateway and bridge. [2]
Q3 . Discuss about any two disadvantages of ring topology. [2]
Q4 . Sunil wants to write a Python program that prints his name 50 times. Which type of loop would be most
suitable for this task, and why? [2]
Q5 . Your school is setting up a new computer lab on the first floor and wants to connect it to the existing
lab to share resources and files. To set up a network in both the new and existing computer labs, which
devices would you recommend for:
i) Connecting all computers within each lab? [1]
ii) Linking both labs together for sharing resource? [1]
SECTION C
Q6 . Write a program in Python to print the sum of a range where starting and ending value is given by the
user. [3]
Sample Input
Enter the starting value : 2
Enter the ending value : 7
Sample Output
The sum of the series is 27
Q7 . Write a program in Python to accept a number from the user and display the reverse of
the number. [4]
Sample Input
Enter a number : 242
Sample Output
The reverse number is 242