A Level CS - Bitwise Manipulation and Masks Quiz - CnD video

Passage
•
Computers
•
12th Grade
•
Hard
Kevin Johnson
Used 3+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
CSP Unit 1 Review

Quiz
•
9th - 12th Grade
14 questions
[AP CSP] Binary Conversion

Quiz
•
9th - 12th Grade
10 questions
AP Computer Science Principles Unit 3 Review

Quiz
•
9th - 12th Grade
15 questions
KS3 Computer Systems

Quiz
•
6th Grade - University
10 questions
Binary Quiz (Lesson 1)

Quiz
•
12th Grade
13 questions
binary

Quiz
•
7th - 12th Grade
15 questions
Quiz - 7 on Bitwise Operators in C

Quiz
•
12th Grade
15 questions
Bitwise Masks

Quiz
•
12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade