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
|
The expression Int(x) implies that the variable x is converted to integer.
Solution |
2
Discuss
|
What will be the output of the following Python code snippet?
Solution |
3
Discuss
|
What is the value of the following expression?
Solution |
4
Discuss
|
Which is the correct operator for power(xy)?
Solution |
5
Discuss
|
What is the value of the following expression?
Solution |
6
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 |
7
Discuss
|
Which of the following operators has its associativity from right to left?
Solution |
8
Discuss
|
Operators with the same precedence are evaluated in which manner?
Solution |
9
Discuss
|
Given a function that does not return any value, What value is thrown by default when executed in shell.
Solution |
10
Discuss
|
Which of the following is the truncation division operator?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved