VELAMMAL NEXUS SCHOOLS (CBSE)
CHENNAI
PERIODIC TEST - I (2025-26)
Class : XII Total Marks: 70
Subject : Computer Science Code : 083
Duration : 3 Hrs Date : ______________
Exam No. : _____________ Invigilator’s Signature: _____________
SECTION A
1. False
2. (A) #THONPROGRAM
3. (A) not(True) and False
4. (B) ['I', 'ter', 'atio', 'al']
5. ce lo
6. (B) print(my_dict['apple', 'banana'])
7. (C) -244.0
8. (a) dict_exam.update(dict_result)
9. (b) Statement 4
10.
11. b. ue am
12. d. Statement 4
13. (a) True
14. (c) 14.75
15. (a) list
16. (a) True
17. c) myWORK
18. d) IndexError
19. c. 15
20. B. in
21. (d) A is False (or partly true) but R is True
22. (b) Both A and R are True and R is not the correct explanation for A
SECTION- B
23.
23. sum = 25
24. s t r
The end
Class: XII 1 Subject: Computer Science
25. A) L1.count(4)
B) L1.sort()
26. Dynamic typing: variable pointing to a value of a certain type, can be made to
point to a value or object of different type. Datatype of a variable can be changed.
(example)
Static typing: Datatype attached with a variable when it is defined first and is fixed.
Datatype of a variable cannot be changed. (example)
27. a) og b) Python Pr c) Python Prog d) yt
28. explain indexing (1mark)
Two directions: Forward and backward direction explain(1mark)
SECTION-C
29. sELCcME&Cc
30.
15@
7@
9@
31. listA = [8, 9, 10]
i). listA[1] = 17
ii). listA.extend([4, 5, 6])
iii). listA.pop(0)
iv). listA.sort()
v). listA = listA * 2
vi). listA.insert(3, 25)
Class: XII 2 Subject: Computer Science
SECTION- D
32. relevant program
33. Expressions, statement, comments, functions, block or suite. (Explain any 4
with a program) any 4- 1mark each
34.Length, Indexing and slicing,Membership operators, Concatenation and
replication, accessing elements
35. a)
Numbers = [9, 18, 27, 36]
for Num in Numbers :
for N in range(1, Num % 8) :
print(N, "#", end=" ")
print( )
b) num=int(input(“enter the number of rows:”))
for I in range(num,0,-1):
for j in range(0,i):
print(“*”,end=””)
print()
SECTION E
36. Tokens :Smallest individual unit in a program is known as tokens or lexical unit.
(1 mark)
Tokens are as follows:
a)Keywords: predefined words having special meaning. Eg: False (0.5mark)
b) Identifiers: names given to different parts of a program.eg: name(rules to explain)
(1mark)
c) Literals: data items having fixed value.(explain types of literals) (1 mark)
d) operators: tokens applied to variables and objects (1 mark)
e) Punctuators: symbols used(0.5mark)
(explain each token with example).
37. For each method Syntax 0.5mark,
explanation with example each 0.5mark
Class: XII 3 Subject: Computer Science