What is the output of this expression, 3*1**3?
23
13
1
3
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
Which of the following operators has its associativity from right to left?
Solution |
2
Discuss
|
Operators with the same precedence are evaluated in which manner?
Solution |
3
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 |
4
Discuss
|
What is the return value of trunc()?
Solution |
5
Discuss
|
The one’s complement of 110010101 is:
Solution |
6
Discuss
|
Which of the following will run without errors?
Solution |
7
Discuss
|
The value of the expressions 4/(3*(2-1)) and 4/3*(2-1) is the same.
Solution |
8
Discuss
|
Which one of these is floor division?
Solution |
9
Discuss
|
What is the order of precedence in python? i) Parentheses |
10
Discuss
|
What error occurs when you execute the following Python code snippet?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved