Bitwise Operators Quiz

Bitwise Operators Quiz

12th Grade

13 Qs

quiz-placeholder

Similar activities

Units and Binary Conversions

Units and Binary Conversions

11th - 12th Grade

16 Qs

CSP Unit 1 Review

CSP Unit 1 Review

9th - 12th Grade

15 Qs

Binary to Hex

Binary to Hex

9th - 12th Grade

10 Qs

AP-CSP Binary Conversions

AP-CSP Binary Conversions

7th - 12th Grade

10 Qs

Binary Code

Binary Code

9th - 12th Grade

15 Qs

Bitwise Operators in C Language

Bitwise Operators in C Language

12th Grade

10 Qs

Bitwise

Bitwise

12th Grade

15 Qs

Quiz - 7 on Bitwise Operators in C

Quiz - 7 on Bitwise Operators in C

12th Grade

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