Bitwise Operators Flashcard

Bitwise Operators Flashcard

Assessment

Flashcard

Computers

12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

12 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What do bitwise operators operate on?

Back

Individual bits

2.

FLASHCARD QUESTION

Front

Which bitwise operator copies a bit to the result if it exists in both operands and results in 1 only if both bits are 1?

Back

Bitwise AND

3.

FLASHCARD QUESTION

Front

What is the result of the bitwise AND operation for the binary digits 1011 and 1100?

Back

1000

4.

FLASHCARD QUESTION

Front

Which bitwise operator is used to flip or invert bits?

Back

Bitwise NOT

5.

FLASHCARD QUESTION

Front

What happens when you use left shift on a binary number, shifting it by one bit to the left?

Back

Bits are shifted to the left, and 0s are filled in on the right.

6.

FLASHCARD QUESTION

Front

What is the result of the bitwise XOR operation for the binary digits 1101 and 1010?

Back

1111

7.

FLASHCARD QUESTION

Front

The bitwise NOT operator reverses the bits. What is the result of ~28?

Back

11100011

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?