switch
foreach
Nested Loop
None
>=
<=
=
!=
(1,3)
(2,5)
(2,1)
(4,8)
range(0,5)
range(1,5)
range(1,4)
range(0,4)
Yes
No
Can't say
None of these
11
8
1
0
Type Casting
Data Transformation
Type Conversion
Variable Shifting
15
150
200
10
find the output of following code:
import math print(math.fabs(-3.4))
-3.4
3.4
4.3
3
No Operation
No Action
Null Statement
Placeholder
What will be the output of following code
import math print(math.pi)
5.354562653589793
3.141592653589793
7.867564234556778
9.048495456553358
+
-
*
( )
for
while
do while
None of the above
32
7
a=b,b=a
a,b=b,a
a=b;b=a
a=b and b=a
211
216
1024
512
20.0
20
40.0
40
What does the following code will print ?
x=5 if x>3: print("Hello")
Hello
Hello Hello
nothing
Hello Hello Hello Hello Hello
27.2
29.0
14.9
12.3
6