Xii - CS RS Interior One Mark Question 2021-2022
Xii - CS RS Interior One Mark Question 2021-2022
NAME
STD & GROUP
PREPARED BY
1 MARK QUESTIONS
1. ____are the basic building blocks of computer program.
2. ______are the variables in a function definition and arguments are the values which are passed to a
function to a function.
3. A ______ is a unit of code that is often defined within a greater code structure.
4. A function definition which call itself is called _____ function.
5. A functions are _____ definition.
6. Data abstraction is a powerful concept in computer science that allows programmers to treat code as
_____.
7. The process of providing only the essentials and hiding the details is known as _____.
8. To facilitate data abstraction you will need to create ____ types of function.
9. _____are functions that build the abstract data type.
10. _____are function that retrieve information from the data type.
11. _____refers to the visibility of variables, parameters and functions in one part of a program to
another part of the same program.
12. There are _____ types of variable scop.
13. _____scope refers to variable defined in current function.
14. The process of binding a variable name with an object is called _____.
15. _____can be separately compiled and stored in a library.
16. _____are containers for mapping names of variables to objects.
17. An ______is a finite set of instruction to accomplish a particular task.
18. An algorithm that yields expected output for a valid input is called an _____.
19. ____is also called sequential search.
20. ____search find the position of a search element with in a sorted array.
21. _____is a simple sorting algorithm.
22. _____algorithm repeatedly selects the next smallest element and swaps in into the right place for
every pass.
23. The _____ rule is used to decided the order in which the scopes are to be searched for scope
resolution.
24. Python language was released in _____.
25. In python programs can be written in _____ ways.
26. ______mode is used to create and edit python source file.
27. The _____ mode can also be used as a simple calculator.
28. The prompt ______ indicates that interpreter is ready to accept instructions.
29. _____output function is used to display the result of the program on the screen after execution.
30. In python comments begin with _____.
31. C, C++, Java use _____ to indicate blocks of codes for class, function or body of the loops and block
of selection command.
32. ______is a name used to identify a variable, function, class, module or object.
33. Python breaks each logical line into a sequence of elementary lexical components known as ____.
34. _____are special words used by python interpreter to recognize the structure of program.
73. Python assigns an automatic index value for each element of a list begins with ______.
74. A ______ index can be used to access an element in reverse order.
75. The _____ function in python is used to find the length of a list.
76. In python the ______ loop is used to access all the elements in a list one by one.
77. A list element or range of elements can be changed or altered by using simple _____ operator.
78. ______function is used to add more than one element to an existing list.
79. There are _____ ways to delete an element from a list.
80. ______function is used to delete elements of a list if its index is unknown.
81. The ______ is a function used to generate a series of values in python.
82. The function ______ is used to delete all the elements in list.
83. ______is a simplest way of creating sequence of elements that satisfy a certain condition.
84. ______returns the number of similar elements present in the last.
85. The ______ function is used to insert an element at any position of a list.
86. The range ( ) function has _____ arguments.
87. Tuples consists of a number of values separated by comma and enclosed within ______.
88. The elements of a ______ are unchangeable.
89. All the functions used in ______ can be applicable even for tuples.
90. ____function is used to know the datatype of a python object.
91. A ______ is a mutable and unordered collection of elements without duplicate.
92. A set is created by placing all the elements separated by comma within a pair of ____ brackets.
93. The operator _____ is used to intersect two sets in python.
94. In python _____ is used to union of two sets.
95. The ______ operator is used to symmetric difference set operation in python.
96. ______is the key features of object oriented programming.
97. _____is the main building block in python.
98. _____is a collection of data and function that act on those data.
99. In python every class has a unique name followed by a _____.
100. Any class member can be accessed by using object with a _____ operator.
101. ____is the special function that is automatically executed when an object of a class is created.
102. The process of creating object is called as _____.
103. ______is also a special method gets executed automatically when an object exit from the scope.
104. The variable which are defined inside the class is ____ by default in python.
105. A variable prefixed with double underscore becomes _____ in nature.
106. Which of the following method is automatically when an object is created?
107. Which of the following method is used as destructor?
108. Functions are defined inside a class is called as _____.
109. Which of the following class declaration is correct?
110. Which of the following is the output of the following program?
class student :
def _init_ (self, name) :
S = student (“Tamil”)
111. The class method must have the first argument named as ____.
112. _____are together known as members of the class.
113. A ____ can be defined anywhere in a python program.
114. A _____ is an organized collection of data, generally stored and accessed electronically from a
computer system.
115. ______are raw facts stored in a computer.
116. The database management system can be divided into ______ components.
117. DBMS stands for ______.
118. The _____ includes commands to insert, delete and modify tuples in the database.
119. ANSI stands for _____.
120. The ______constraints ensures that no two rows have the same value in the specified columns.
121. ______constraint helps to set a limit value placed for a field.
122. When the constraint is applied to a group of fields of the table it is known as ______ constraint.
123. The check constraints may use _____ operators for condition.
124. The _____ command permanently removes one or more records from the table.
125. The _____ command is used to remove table from the database.
126. The ______ command is used to delete all the rows the structure remains in the table and free the
space containing the table.
127. The ______ command is used to query or retrieve data from a table in the database.
128. The _____ clause is used to filter the records.
129. The _____ command is used to permanently save any transaction to the database.
130. The _____ command restores the database to the last committed state.
a) having clause b) commit
131. CSV stands for _____.
132. Importing ______ files can be much faster and it also consumes less memory.
133. Files saved in _____ cannot be opened or edited by text editor.
134. CSV file cannot store _____.
135. A CSV file is also known as a ____ file.
136. If the fields of data in your CSV file contains commas, you can protect them by enclosing those data
fields in ____.
137. If both MS excel and open office calc is installed in the computer by default the CSV file will be
opened in ___.
138. How many was to read CSV file?
139. Write row ( ) takes _____ dimensional data to write in a file.
140. ____file mode is used to an open a file for updating in python.
150. _____command arranges a list value in ascending order.
151. A _____ is a class of CSV module which helps to define parameters for reading and writing CSV.
152. ____are the general – purpose programming language.
153. ______is typically an interpreted language.
154. ____is typically a compiled language.
155. Python is mostly used as a _____ language.
192. If you ever what to return back to the original view you can click on ____ button.
193. ____is cross – looking button always you to click it and then click and drag your graph around.
194. ____button allows you to configure various spacing options with your figure and plot.
195. A _____ is a type of chart which displays information as a series of data points called markers
connected by straight line segments.
196. _____shows the relationship between a numerical variable and a categorical variable.
197. The point of a ____ chart is to show the relationship of parts out of a whole.
198. A ____ represents the frequency distribution of continuous variable.
199. Histrogram presents numerical data whereas ____ graph shows categorical data.
200. Identify the package manager for python packages or modules.
PREPARED BY