Evaluate the expression given below if A = 16 and B = 15.
A % B // A
0.0
0
1.0
1
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
Which is the correct operator for power(xy)?
Solution |
2
Discuss
|
Given a function that does not return any value, What value is thrown by default when executed in shell.
Solution |
3
Discuss
|
The following is displayed by a print function call. Select all of the function calls that result in this output.
Solution |
4
Discuss
|
What is the output of this expression, 3*1**3?
Solution |
5
Discuss
|
Operators with the same precedence are evaluated in which manner?
Solution |
6
Discuss
|
What will be the value of x in the following Python expression?
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
|
In order to store values in terms of key and value we use what core data type.
Solution |
10
Discuss
|
It is not possible for the two’s complement value to be equal to the original value in any case.
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved