Search Header Logo

Quiz - 7 on Bitwise Operators in C

Authored by Michael Kona

Computers

12th Grade

Used 10+ times

Quiz - 7 on Bitwise Operators in C
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 5 & 3 in binary?

0

1

2

4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 7 | 2 in binary?

7

5

3

9

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 10 ^ 6 in binary?

1100

1001

1010

1110

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 8 << 2 in binary?

110000

100000

101010

111111

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 16 >> 3 in binary?

6

8

2

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of ~12 in binary?

6

3

4

8

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fill in the blank: Bitwise AND operator returns 1 if ________ bits are 1.

either

both

neither

none

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers