PS Xii CSC
PS Xii CSC
SCHOOL
NANMANGALAM, CHENNAI-129
REVISION TEST – I – JAN’25 MARKS:70
STD: XII COMPUTER SCIENCE TIME: 3.00 HRS
PART – I
CHOOSE THE CORRECT ANSWER: 15×1=15
1. The variable in a function definition are called as
A) Subroutines B) Function C) Definition D) Parameters
2. Which of the following functions that retrieve information from the data type?
A) Constructor B) Selectors C) Recursive D) Nested
3. Which scope refers in variables defined in current function?
A) Local Scope B) Global Scope C) Module Scope D) Function Scope
4. For i in range (2, 10, 2)
Print(i, end=’ ‘)
Find the output
A) 2 4 6 8 B) 8 6 4 2 C) 2 10 2 D) 2 2 2 5.
5. Find the output:
MyList = [25, 85, 15, 98]
print min(MyList)
A) 25 B) 85 C) 15 D) 98
6. The positive subscript is assigned to the first character is
A) 0 B) 1 C) n D) n–1
7. What is the use of type() function in Python?
A) To create a Tuple B) To known the type of an element in tuple C) To know the
data type of python object D) To create a list
8. The keys in Python, dictionary is specified by
A) = B) ; C) + D) :
9. Expansion of DBMS:
A) Database Management System B) Database Memory System
C) Database Model System D) Database Management Services
10. Which is a database management system?
A) SQL B) MYSQL C) DDL D) DML
11. Which of the following module is provided by Python to do several operations on
the CSV files?
A) py B) xls C) csv D) os
12. Which is an organized collection of data?
A) Database B) Sheadsheet C) SQL D) DBMS
13. A framework for interfacing Python and C++ is
A) Ctypes B) SWIG C) Cython D) Boost
14. Which of the following is called the master table?
A) sqlite_master B) sql_master C) main_master D) master_main
15. Which is a python package used for 2D graphics?
A) matplotlib.pyplot B) matplotlib.pip C) matplotlib.numpy D) matplotlib.plt
PART – II
Answer any six questions.
Question No. 21 is compulsory. 6×2=12
16. What do you mean by Namespaces?
17. What is Searching? Write its types.
18. Define Operator and Operand.
19. What are the types of looping supported by Python?
20. What is the use of the operator += in Python string operation?
21. What will be the output of the following Snippet?
alpha = list(range(65, 70))
for x in alpha:
print(chr(x), end=’\t’)
22. What is the use of WHERE clause in SQL?
23. What are the steps involved in file operation of Python?
24. Distinguish compiler and interpreter.
PART – III
Answer any six questions.
Question No. 21 is compulsory. 6×3=18
25. Why strlen is called pure function?
26. Which strategy is used for program designing? Define the strategy.
27. Which jump statement is used as placeholder? Why?
28. What are the points to be noted while defining a function?
29. Write a Python code to display the following chart.