Worksheetspython script
Total questions: 16
Worksheet time: 9mins
python was founded by ________
Torvald
Guido Van
All
identify python membership operators.
in, not in
is , is not
in, in not
is not, is
how many keywords did python 3.7 consist of
32
30
31
33
a= 63
a<<2
what is output for bit-wise left-shift
230
243
250
252
identify valid identifiers (variable or variables)
a123
_n
1a
n%4
n 9
identify the applications where python can be used
Web Applications
Software Development
3D CAD Applications
Enterprise Applications
all the above
identify bulit-in module( or s)
os
math
random
statistics
sys
identify python Data structures
list
tuple
dict
set
All the mentioned
Python provides _______ function to returns type of the variable passed.
type()
typeof()
both a and b
non
what is the buit-in module one should import to work on regex
regular expression
re
regex
all the above
identify python multi-line comments
"""
"""
'''
'''
both a and b
=begin
=cut
is python supports do-while loop?
no
yes
#output of the following code
i =1
while(i<5):
print(i,end="")
i=i+1
1234
1
2
3
4
12345
1245
what is the keyword used to declare a function name in python?
sub
function
fun
def
num = int(input("enter any number:"))
#what int denotes from above statment
interger
float
character
double
what is the built-in function used to sort the given list of elements in python
sort
sorted
merge
srt
