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
|
Evaluate the expression given below if A = 16 and B = 15.
Solution |
2
Discuss
|
In python we do not specify types, it is directly interpreted by the compiler, so consider the following operation to be performed.
the objective is to make sure x has an integer value, select all that apply
Solution |
3
Discuss
|
Given a function that does not return any value, What value is thrown by default when executed in shell.
Solution |
4
Discuss
|
Which one of these is floor division?
Solution |
5
Discuss
|
What will be the output of the following Python code snippet?
Solution |
6
Discuss
|
What is the return value of trunc()?
Solution |
7
Discuss
|
What data type is the object below?
Solution |
8
Discuss
|
The following is displayed by a print function call. Select all of the function calls that result in this output.
Solution |
9
Discuss
|
Which is the correct operator for power(xy)?
Solution |
10
Discuss
|
Which of these in not a core data type?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved