Bitwise Operators Quiz

Bitwise Operators Quiz

12th Grade

13 Qs

quiz-placeholder

Similar activities

Bitwise Operators in C Language

Bitwise Operators in C Language

12th Grade

10 Qs

Binary fixed point and twos complement

Binary fixed point and twos complement

12th Grade

10 Qs

CS1 Practical Test - 3rd Qtr

CS1 Practical Test - 3rd Qtr

7th Grade - University

10 Qs

AP CSP Unit 1 Practice- Bits, Binary, ASCII, and Images

AP CSP Unit 1 Practice- Bits, Binary, ASCII, and Images

12th Grade

12 Qs

Binary Addition (1)

Binary Addition (1)

9th - 12th Grade

12 Qs

Mastering Bitwise Operations and Shifts

Mastering Bitwise Operations and Shifts

7th Grade - University

8 Qs

Binary Addition

Binary Addition

9th Grade - University

15 Qs

Decimal and Binary Practice

Decimal and Binary Practice

9th - 12th Grade

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