Search Header Logo

Bitwise Operators in C Language

Authored by Michael Kona

Computers

12th Grade

Used 9+ 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

1

4

0

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 7 | 2 in binary?

7

9

3

5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 10 ^ 6 in binary?

1010

1100

1001

1110

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

100000

111000

110000

101010

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

2

32

4

8

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

both

none

neither

either

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

all

neither

both

either

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?