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
|
The expression Int(x) implies that the variable x is converted to integer.
Solution |
2
Discuss
|
In order to store values in terms of key and value we use what core data type.
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
|
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
|
Which one of these is floor division?
Solution |
7
Discuss
|
Mathematical operations can be performed on a string.
Solution |
8
Discuss
|
Which of the following operators has its associativity from right to left?
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
|
The following is displayed by a print function call. Select all of the function calls that result in this output.
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved