Bitwise Operators Quiz

Bitwise Operators Quiz

12th Grade

13 Qs

quiz-placeholder

Similar activities

[AP CSP] Number Conversions

[AP CSP] Number Conversions

9th - 12th Grade

17 Qs

Bitwise Masks

Bitwise Masks

12th Grade

15 Qs

[AP CSP] Binary Conversion

[AP CSP] Binary Conversion

9th - 12th Grade

14 Qs

Number Systems in Computer Science

Number Systems in Computer Science

10th - 12th Grade

12 Qs

L6 Data Rep

L6 Data Rep

12th Grade

15 Qs

Computer programming for 2nd chap.

Computer programming for 2nd chap.

10th Grade - Professional Development

12 Qs

Number System

Number System

11th - 12th Grade

10 Qs

Digital Information

Digital Information

10th - 12th Grade

17 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?