Bitwise Operations and Their Applications

Bitwise Operations and Their Applications

Assessment

Interactive Video

Computers

9th - 12th Grade

Hard

Created by

Jennifer Brown

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens to a binary number when it is left shifted by one position?

It is converted to decimal.

It remains unchanged.

It is multiplied by two.

It is divided by two.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of shift is suitable for unsigned binary numbers?

Bitwise shift

Logical shift

Arithmetic shift

Circular shift

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an arithmetic right shift, what happens to the most significant bit (MSB)?

It is set to one.

It is inverted.

It is set to zero.

It retains its original value.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of using a bitwise AND operation with a mask?

To invert bits

To toggle bits

To set all bits to one

To extract specific bits

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does a bitwise OR operation affect the bits in a binary sequence?

It toggles bits where the mask is zero.

It sets bits to one where the mask is one.

It inverts all bits.

It clears all bits.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the XOR operation do when applied to two identical bits?

Inverts the bits

Sets the result to one

Leaves the bits unchanged

Sets the result to zero

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a practical application of bitwise operations in networking?

Encrypting data

Routing network traffic

Rendering graphics

Compressing files

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?