In python we do not specify types, it is directly interpreted by the compiler, so consider the following operation to be performed.
>>>x = 13 ? 2
the objective is to make sure x has an integer value, select all that apply
x = 13 // 2
x = int(13 / 2)
x = 13 % 2
All of the mentioned
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
| # | Quiz |
|---|---|
|
1
Discuss
|
Evaluate the expression given below if A = 16 and B = 15.
Solution |
|
2
Discuss
|
Which is the correct operator for power(xy)?
Solution |
|
3
Discuss
|
What data type is the object below?
Solution |
|
4
Discuss
|
What is the value of the following expression?
Solution |
|
5
Discuss
|
Which of the following results in a SyntaxError?
Solution |
|
6
Discuss
|
What error occurs when you execute the following Python code snippet?
Solution |
|
7
Discuss
|
The following is displayed by a print function call. Select all of the function calls that result in this output.
Solution |
|
8
Discuss
|
Which of the following is the truncation division operator?
Solution |
|
9
Discuss
|
It is not possible for the two’s complement value to be equal to the original value in any case.
Solution |
|
10
Discuss
|
Which of these in not a core data type?
Solution |
| # | Quiz |
Copyright © 2020 Inovatik - All rights reserved