Bitwise Operators Quiz

Bitwise Operators Quiz

12th Grade

13 Qs

quiz-placeholder

Similar activities

Parity

Parity

10th - 12th Grade

10 Qs

1.4_1 Binary

1.4_1 Binary

12th Grade

15 Qs

CodeHS 5.9 Binary

CodeHS 5.9 Binary

9th - 12th Grade

10 Qs

AP CSP Binary Numbers

AP CSP Binary Numbers

9th - 12th Grade

14 Qs

A-Level Binary Numbers

A-Level Binary Numbers

12th Grade

10 Qs

Binary and Hexadecimal number systems

Binary and Hexadecimal number systems

9th - 12th Grade

15 Qs

1.4.1 Data Types

1.4.1 Data Types

12th Grade

15 Qs

Computer Science Principles Unit 1

Computer Science Principles Unit 1

12th Grade

16 Qs

Bitwise Operators Quiz

Bitwise Operators Quiz

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Margaret Sifuna

Used 13+ 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?