What are the values of the following Python expressions?
2**(3**2)
(2**3)**2
2**3**2
64, 512, 64
512, 512, 512
512, 64, 512
64, 64, 64
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
Which one of the following has the same precedence level?
Solution |
2
Discuss
|
What is the average value of the following Python code snippet?
Solution |
3
Discuss
|
The expression Int(x) implies that the variable x is converted to integer.
Solution |
4
Discuss
|
In order to store values in terms of key and value we use what core data type.
Solution |
5
Discuss
|
Mathematical operations can be performed on a string.
Solution |
6
Discuss
|
It is not possible for the two’s complement value to be equal to the original value in any case.
Solution |
7
Discuss
|
What is the order of precedence in python? i) Parentheses |
8
Discuss
|
Which is the correct operator for power(xy)?
Solution |
9
Discuss
|
What is the return value of trunc()?
Solution |
10
Discuss
|
What is the return type of function id?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved