Computer Science Xii Model Test Paper 1 (Solved)
Computer Science Xii Model Test Paper 1 (Solved)
CLASS XII
COMPUTER SCIENCE (083)
Maximum Marks: 70 Time Allowed: 3 hrs
SECTION – A
1. False
2. c. Account No
3. c. del D1[“Red”]
4. b. –88.0
5. a. 4
6. c. dump
7. c. distinct
8. c. Update
9. d. Statement 4
10. a. Primary Key
11. c. fobj.writelines(sequence)
12. a. GROUP BY
13. d. WAN
14. c. a and b not c
15. c. count(*)
16. b. rowcount
17. ii. Both A and R are true and R is not the correct explanation for A
18. i. Both A and R are true and R is the correct explanation for A
SECTION – B
19. def sum(numbers):
total = 0
for x in numbers:
total += x
return total
print(sum([4, 6, 3, 5, 6]))
20. Modem: A MODEM (Modulator DEModulator) is an electronic device that enables a computer to transmit
data over telephone lines. It is a device used to convert digital signals into analog signals and vice versa.
Router: A router is a networking device that forwards data packets from the source machine to the
destination machine over a network by using the shortest path.
OR
Star topology Bus topology
A central hub is required to connect all computers A long cable known as backbone is used to connect
with each other. all computers with each other.
The data is transmitted from the sender to the The data is transmitted through a long cable from
receiver by passing through the hub. the sender to the receiver.
(iii) Qty*UnitPrice
4400
(iv) MIN(StockDate)
2009-01-01
(iv)
M_Company
Samsung
Micromax
USE Stock;
(b)
29. def COUNTNOW(PLACES):
for i in PLACES.values():
if len(i)>5:
print(i)
PLACES={'1': "DELHI", '2': "LONDON", '3': "PARIS", '4': "NEW YORK", '5':
"DUBAI"}
30. (i) list1=[]
def Push_element():
stud=[]
while True:
H_No= int(input("Enter Hostel Number"))
Total_Stud= int(input("Enter Total Students"))
Total_Rooms=int(input("Enter Total Rooms"))
L1=[H_No,Total_Stud,Total_Rooms]
list1.append(L1)
print(list1)
ans=input("Do you want to add more Y/N")
if ans=='N' or ans=='n':
break
Push_element()
(ii) def Pop_element ():
num=len(list1)
while len(list1)!=0:
data=list1.pop()
print(data)
num=num-1
else:
print("Stack Empty")
Pop_element()
Zone Zone
X U
(b) The most suitable place (i.e., Zone) to house the Server is Zone Z as it has the maximum number of
computers.
(c) The repeater is used to strengthen the signal where the distance between two computers in a network
is greater than 100m. So, the repeater can be placed between Zone Y to Zone X and Zone X to
Zone U.
Hub/switch should be placed in each zone.
Zone Zone
X U