What is the value of the following expression?
float(22//3+3/3)
8
8.0
8.3
8.33
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
What is the return value of trunc()?
Solution |
2
Discuss
|
Which of these in not a 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 is the truncation division operator?
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
|
Mathematical operations can be performed on a string.
Solution |
7
Discuss
|
The expression Int(x) implies that the variable x is converted to integer.
Solution |
8
Discuss
|
What will be the output of the following Python code?
Solution |
9
Discuss
|
What is the value of the following expression?
Solution |
10
Discuss
|
The one’s complement of 110010101 is:
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved