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 modification
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
4
4.0
8.0
What will be the output of the following ?
import math print(math.fact(5))
120
25
1,2,3,4,5
Error
The truncated decimal part of a number
The rounded integer value of a number.
The truncated integer value of a number.
The floor (largest integer less than or equal to the number).