Bitwise Operators Quiz

Bitwise Operators Quiz

12th Grade

13 Qs

quiz-placeholder

Similar activities

H466 - Negative Binary and Two's Complement

H466 - Negative Binary and Two's Complement

11th Grade - University

10 Qs

Hex To Binary Quiz

Hex To Binary Quiz

9th - 12th Grade

15 Qs

Code.org CSP Unit 1 Review

Code.org CSP Unit 1 Review

9th - 12th Grade

15 Qs

Quiz - 7 on Bitwise Operators in C

Quiz - 7 on Bitwise Operators in C

12th Grade

15 Qs

Binary/Decimal Conversions

Binary/Decimal Conversions

9th - 12th Grade

18 Qs

Bitwise Manipulation and Hex  Quiz

Bitwise Manipulation and Hex Quiz

12th Grade

17 Qs

Binary Numbers Quiz

Binary Numbers Quiz

8th - 12th Grade

12 Qs

[AP CSP] Binary Number System

[AP CSP] Binary Number System

9th - 12th Grade

18 Qs

Bitwise Operators Quiz

Bitwise Operators Quiz

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Margaret Sifuna

Used 10+ times

FREE Resource

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What do bitwise operators operate on?

a) Words

b) Bytes

c) Individual bits

d) Decimals

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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?

a) Bitwise OR

b) Bitwise XOR

c) Bitwise AND

d) Bitwise NOT

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

a) 1000

b) 1111

c) 0100

d) 0000

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which bitwise operator is used to flip or invert bits?

a) Bitwise OR

b) Bitwise AND

c) Bitwise XOR

d) Bitwise NOT

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

a) All bits are set to 1

b) All bits are set to 0

c) Bits are shifted to the right

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

6.

MULTIPLE SELECT QUESTION

30 sec • 5 pts

Bitwise operators are commonly used in:

a) Graphic design

b) Data compression

c) Text processing

d) Audio editing

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

a) 1111

b) 0000

c) 0101

d) 1011

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?