Built in datatype
Derived datatype
Concrete datatype
Abstract datatype
High Level
Object Oriented
Low Level
Both A and B
.py
.python
.p
None of these
get()
seek()
tell()
cur()
round(45.8)
round(6352.898,2,5)
round()
round(7463.123,2,1)
Interface
Modularity
Client
Docstring
list
tuple
class
dictionary
Error
Flexibility
Portability
Reliability
Free and Open Source
Freeware
Open source
Shareware
None
True
False
equal
Python Package Index
both a & b
none of the mentioned
Variable
Literals
Identifiers
Comment
31 characters
63 characters
No limit but 79 characters for better redability
All of the above.
Brackets
Indentation
Key
None of the above
.
#
/
?
re\new
new
re new
re ew
What will be the datatype of the var in the below code snippet?
var = 10print(type(var))var = "Hello"print(type(var))
Str and int
int and int
str and str
int and str
email
ca$h
marks10
Python2Shar
int
bool
void
Platform-independent
Low Level Language
Python is open-source and free to use
Object Oriented Programming
//
!
Hello
949227
"2'
yes
no
machine dependent
float
dict
raise
try
val
with
_py_
var
_var
C
C++
JAVA
PHP
1995
1972
1981
1991
Lists
Dictionary
Tuples
Class
English
All of the above
\a
\t
\n
\b
Keywords
Identifires
Token
Statement
Graphical
Cross-Platform
Platform Dependent
All of these
33
45
35
30
100
128
256
No Limit
Comments
Expressions
Tokens
Flow of control
List
Tuple
Number
String
Slice
.pyt
in
is
assert
All
a_=3
_a=3
a?=3
32
31
What will be the output of the following Python code
def func(a, b=5, c=10): print('a is', a, 'and b is', b, 'and c is', c) func(13, 17) func(a=2, c=4) func(5,7,9)
(A) a is 13 and b is 15 and c is 10
a is 2 and b is 5 and c is 4
a is 5 and b is 7 and c is 9
(B) a is 13 and b is 17 and cis 10
a is 2 and b is 4 and c is 4
a is 5 and b is 9 and c is 7
(C) a is 13 and b is 17 and c is 10
a is 2 and b is 5 and cis 4
(D) None of the above
option A
option B
option C
option D
Python Interpreter.
Python compiler
Python Volatile machine
Portable virtual machine
eval
nonlocal
finally
Quotes
Braces
Parentheses
Passing –O when running python
Assertions are disabled by default
Both A and B are wrong
Assertions cannot be disabled in python
Expression
execute python
go python
python
run python
student
s12
123
_123