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 of the following is the truncation division operator?
Solution |
2
Discuss
|
Operators with the same precedence are evaluated in which manner?
Solution |
3
Discuss
|
What will be the output of the following Python code?
Solution |
4
Discuss
|
Which of the following operators has its associativity from right to left?
Solution |
5
Discuss
|
What will be the output of the following Python code snippet?
Solution |
6
Discuss
|
Mathematical operations can be performed on a string.
Solution |
7
Discuss
|
What will be the value of the following Python expression?
Solution |
8
Discuss
|
Which of the following will run without errors?
Solution |
9
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 |
10
Discuss
|
What data type is the object below?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved