Professional Documents
Culture Documents
Ans:(a) CPython
Ans:(b) eval
Ans:(b) Indentation
a. * b. @ c. # d. !
Ans:(c) #
7.Python compiler translates the python program into an intermediate code called
__________ . (K2)
8. which compiler is used to speed up the execution of the python program? (K1)
Ans:(a) //
Ans:(b) Four
Ans:(a) For
14. Python allows the else keyword to be used with the for and while loops
is called ____________. (K2)
Ans:(a) Stop
Ans:(c) Skip
Ans:(c) Pass
Ans:(b) Continue
22. Which arguments will invoke the function after the parameters are recognized
by their parameter names? (K1)
a. {} b. [ ] c. < > d. ( )
Ans : (b) [ ]
24.The ____________ is the part of memory the system stores the parameter and
local variables of function call. (K2)
28. A ___________ function can take any number of arguments but have only one
expression. (K2)
a. built-in b. user-defined
c. Recursion d. Lambda
a. Required b. Keyword
c. Default d. Variable-length
a.[ ‘w’, ‘e’, ‘l’, ‘c’, ‘o’, ‘m’, ‘e’] b.[‘ welcome’]
c.(“welcome”) d.(‘welcome’)
35.Which function will get the size of the python tuple? (K1)
36. _________ are used to store the values in keys and pairs. (K2)
40.Which keyword is used to check the particular key in the dictionary? (K1)
Ans : (b) in
42.A _________ file is just a file that contains information in the same format in
which the information is held in memory. (K2)
43.Which command is used for opening a file in Python file handling ? (K1)
44.________ command is used for closing a file in Python file handling. (K2)
48.Which of the following removes the given character from trailing end or from
the right end? (K1)
49. The __________ are the files that store data pertaining to a specific
application. (K2)