What will be the output of the following Python code snippet if x=1?
x<<2
4
2
1
8
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
What will be the output of the following Python expression?
Solution |
2
Discuss
|
What will be the output of the following Python code snippet?
Solution |
3
Discuss
|
Bitwise _________ gives 1 if either of the bits is 1 and 0 when both of the bits are 1.
Solution |
4
Discuss
|
What is the two’s complement of -44?
Solution |
5
Discuss
|
What will be the value of the following Python expression?
Solution |
6
Discuss
|
What will be the output of the following Python code snippet?
Solution |
7
Discuss
|
What will be the output of the following Python code snippet?
Solution |
8
Discuss
|
What will be the output of the following Python code?
Solution |
9
Discuss
|
What will be the value of x in the following Python expression, if the result of that expression is 2?
Solution |
10
Discuss
|
What will be the output of the following Python code?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved