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

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

12th Grade

10 Qs

quiz-placeholder

Similar activities

Binary Numbers Quiz

Binary Numbers Quiz

8th - 12th Grade

12 Qs

Data Representation - Character Sets

Data Representation - Character Sets

2nd - 12th Grade

10 Qs

APCSP - Unit 1 Review

APCSP - Unit 1 Review

10th - 12th Grade

15 Qs

Bitwise Operators in C Language

Bitwise Operators in C Language

12th Grade

10 Qs

Bitwise

Bitwise

12th Grade

15 Qs

CSP Unit 1 Review

CSP Unit 1 Review

9th - 12th Grade

15 Qs

Network Fundamentals-Physical layer

Network Fundamentals-Physical layer

9th Grade - Professional Development

14 Qs

Computers

Computers

KG - University

12 Qs

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

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

Assessment

Passage

Computers

12th Grade

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?