
A Level CS - Bitwise Manipulation and Masks Quiz - CnD video
Authored by Kevin Johnson
Computers
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when we left shift the binary number 22 by one bit?
44
11
40
22
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of a right shift of the binary number 22 by one bit?
22
44
11
40
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which type of binary, the most significant bit is reserved as the sign bit?
Logical binary
Unsigned binary
Two's complement signed binary
Arithmetic binary
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using a bitwise and operation with a mask in a binary sequence?
Toggle a subset of bits
All of the above
Set a subset of bits
Extract a subset of bits
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the effect of using a bitwise or operation with a mask in a binary sequence?
Toggle a subset of bits
Extract a subset of bits
Set a subset of bits
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can a bitwise xor operation with a mask be used in a binary sequence?
None of the above
Toggle a subset of bits
Set a subset of bits
Extract a subset of bits
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of isolating the network part of an IP address using a mask and a bitwise and operation?
To extract a subset of bits
To identify the host part of the address
To route traffic around a network
To work out whether the destination computer is on the same network as the host
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?