Which of the following operators has its associativity from right to left?
+
//
%
**
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
What is the value of the following expression?
Solution |
2
Discuss
|
Mathematical operations can be performed on a string.
Solution |
3
Discuss
|
What will be the value of x in the following Python expression?
Solution |
4
Discuss
|
Which of the following results in a SyntaxError?
Solution |
5
Discuss
|
It is not possible for the two’s complement value to be equal to the original value in any case.
Solution |
6
Discuss
|
The value of the expressions 4/(3*(2-1)) and 4/3*(2-1) is the same.
Solution |
7
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 |
8
Discuss
|
The expression Int(x) implies that the variable x is converted to integer.
Solution |
9
Discuss
|
What is the order of precedence in python? i) Parentheses |
10
Discuss
|
What is the return value of trunc()?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved