32
33
31
30
Brackets
Indentation
Key
None of the above
High Level
Object Oriented
Low Level
Both A and B
a_=3
_a=3
a?=3
All of these
yes
no
machine dependent
none of the mentioned
Lists
Dictionary
Tuples
Class
.python
.py
.p
.pyt
val
raise
try
with
What is the output of the following code?
a=set('abc')b=set('cdef')print(a&b)
{'c'}
{'a','b','c','d','e','r'}
{c}
None of these
Interactive Mode
Script Mode
Combination of Interactive and Script modes
Interpreter
Compiler
Combination of Compiler and Interpreter
all of these
Error
Flexibility
Portability
Reliability
English
PHP
C
All of the above
email
ca$h
marks10
Python2Shar
int
bool
void
None
float
char
Variables must be declared before use
Data type is checked at compile time
Variable type is determined at runtime
Python has no data types
Graphical
Cross-Platform
Platform Dependent
.
#
/
?
Hello
949227
True
"2'
in
is
assert
All
str
set
string
complex
C++
JAVA
Free and Open Source
Freeware
Open source
Shareware
eval
nonlocal
finally
\a
\t
\n
\b
Python Interpreter.
Python compiler
Python Volatile machine
Portable virtual machine
Built in datatype
Derived datatype
Concrete datatype
Abstract datatype
\\
dict
64
35
29
Python is proprietary software.
Python is open-source software.
Python is hardware dependent.
Python cannot run on Linux.
45
Keywords
Identifires
Token
Statement
student
s12
123
_123
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
Compiled only
Interpreted
Assembly
Machine
//
!
Interface
Modularity
Client
Docstring
get()
seek()
tell()
cur()
Quotes
Braces
Parentheses
Number
String
List
Slice
_py_
var
_var
Python Package Index
both a & b
Tuple
100
128
256
No Limit
list
tuple
class
dictionary