JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
PTA QUESTION PAPER 1
prepard by
S. SAMINATHAN,GHSS-MUKHASAPARUR, CUDDALORE DT.
https://sites.google.com/view/tn-computer-science/home
Sign in to Google
to save your progress.
Learn more
* Indicates required question
NAME
*
Your answer
REGISTER NUMBER
*
Your answer
School Name
*
Choose
GHSS MUKHASAPARUR
OTHERS
1. A function definition which call itself:
*
1 point
Impure function
Pure function
Recursive function
Normal funtion
2.Expansion of ADT
1 point
All Data Type
Abstract Data Type
All Data Template
Abstract Data Tuple
Clear selection
3.A variable which is declared inside a function which contains another function definition
1 point
Built-in
Local
Enclosed
Global
Clear selection
4.Time complexity of bubble sort in best case is
1 point
θ (n(log n)2)
θ (n log n)
θ (n2)
θ (n)
Clear selection
5.Which operator is also called as comparative operator?
1 point
Relational
Assignment
Arithmetic
Logical
Clear selection
6.What will be the output of the following python code?
for i in range(1,10,2):
print(i,end=' ')
1 point
1 2 4 6 8
1 3 5 7 9
2 4 6 8 10
1 3 5 7 10
Clear selection
7.Which function is called anonymous function?
1 point
Recursion
Lambda
Define
Function
Clear selection
8.Which of the following is the slicing operator?
*
1 point
< >
{ }
[ ]
()
9. If List=[17,23,41,10] then list.append(32) will result
*
1 point
[17,23,41,10,32]
[32,17,23,41,10]
[41,32,23,17,10]
[10,17,23,32,41]
10.Which of the following method is used as destructor?
*
1 point
__init__()
__del__()
__rem__()
__dest__()
11.A column in database table is known as an:
*
1 point
Tuple
Relation
Dta
Attribute
12.Pick odd one:
*
1 point
Revoke
Roll back
Save point
Commit
13.Which of the following creates an object which maps data to a dictionary?
*
1 point
DictReader()
reader()
listreader()
tuplereader()
14.Which of the following is the special variable which by default stores the name of the file?
*
1 point
__del__
__def__
__init__
__name__
15.The most popular data visualization library which allows creating charts in few lines of code in python?
*
1 point
Infographics
Data visualization
pip
Matplotlib
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google.
Report Abuse
-
Terms of Service
-
Privacy Policy
Forms