
The Complete Python Course - Bitwise Operators
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a type of bitwise operator?
OR
AND
ADD
XOR
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the bitwise AND operation between binary numbers 0001 and 0010?
0010
0001
0011
0000
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used for the bitwise OR operation in Python?
&
~
|
^
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a bitwise XOR operation, when is a bit set to 1?
When only one of the bits is 1
When both bits are 0
When both bits are 1
When neither bit is 1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of applying the bitwise NOT operator to the binary number 0001?
1111
1110
0000
1000
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many positions does the binary number 0001 shift to the left when a left shift of 3 is applied?
1
4
3
2
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of a right shift by 2 on the binary number 10010?
00100
00010
00001
01000
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?