Search Header Logo

Bitwise Operators in C Language

Authored by Michael Kona

Computers

12th Grade

Used 11+ times

Bitwise Operators in C Language
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 5 & 3 in binary?

2

0

1

4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 7 | 2 in binary?

5

7

9

3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 10 ^ 6 in binary?

1000000

1111000

1010101

1100110

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

100000

101010

111111

110000

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

00100

00001

00011

00010

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

none

either

both

neither

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

either

none

both

neither

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?