What will be the output of the following Python expression if x=15 and y=12?
x & y
1101
12
0b1101
b1101
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
What will be the value of the following Python expression?
Solution |
2
Discuss
|
What will be the output of the following Python expression?
Solution |
3
Discuss
|
Which of the following represents the bitwise XOR operator?
Solution |
4
Discuss
|
The expression 2**2**3 is evaluates as: (2**2)**3.
Solution |
5
Discuss
|
What will be the output of the following Python expression?
Solution |
6
Discuss
|
What is the two’s complement of -44?
Solution |
7
Discuss
|
What will be the output of the following Python code snippet?
Solution |
8
Discuss
|
Which among the following list of operators has the highest precedence?
Solution |
9
Discuss
|
What will be the output of the following Python code snippet if x=1?
Solution |
10
Discuss
|
To find the decimal value of 1111, that is 15, we can use the function:
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved