Bitwise Operators in C Language

Bitwise Operators in C Language

12th Grade

10 Qs

quiz-placeholder

Similar activities

Quiz - 7 on Bitwise Operators in C

Quiz - 7 on Bitwise Operators in C

12th Grade

15 Qs

AP Computer Science Principles Unit 3 Review

AP Computer Science Principles Unit 3 Review

9th - 12th Grade

10 Qs

Quiz -2 Arithmetic Expressions Evaluation in C

Quiz -2 Arithmetic Expressions Evaluation in C

12th Grade

15 Qs

KS3 Computer Systems

KS3 Computer Systems

6th Grade - University

15 Qs

Wrong Answers Only CSP

Wrong Answers Only CSP

9th - 12th Grade

10 Qs

Binary Numbers and Data

Binary Numbers and Data

12th Grade

15 Qs

PIT - Mod 2 Lesson 3: Digital Data Vocab Quiz

PIT - Mod 2 Lesson 3: Digital Data Vocab Quiz

9th - 12th Grade

13 Qs

Computer Science Principles

Computer Science Principles

10th - 12th Grade

13 Qs

Bitwise Operators in C Language

Bitwise Operators in C Language

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Michael Kona

Used 6+ times

FREE Resource

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

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?