Which of the following will run without errors?
round(45.8)
round(7463.123,2,1)
round()
round(6352.898,2,5)
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
What is the order of precedence in python? i) Parentheses |
2
Discuss
|
Which of these in not a core data type?
Solution |
3
Discuss
|
Which of the following operators has its associativity from right to left?
Solution |
4
Discuss
|
What is the value of the following expression?
Solution |
5
Discuss
|
The one’s complement of 110010101 is:
Solution |
6
Discuss
|
The expression Int(x) implies that the variable x is converted to integer.
Solution |
7
Discuss
|
It is not possible for the two’s complement value to be equal to the original value in any case.
Solution |
8
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 |
9
Discuss
|
Which one of the following has the highest precedence in the expression?
Solution |
10
Discuss
|
Which of the following results in a SyntaxError?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved