Bitwise Operators in C Language

Bitwise Operators in C Language

12th Grade

10 Qs

quiz-placeholder

Similar activities

AP-CSP Binary Conversions

AP-CSP Binary Conversions

7th - 12th Grade

10 Qs

Bitwise Operators Quiz

Bitwise Operators Quiz

12th Grade

13 Qs

Binary to Hex

Binary to Hex

9th - 12th Grade

10 Qs

fundamentals of computing vocab quiz

fundamentals of computing vocab quiz

8th - 12th Grade

10 Qs

AP CSP Unit 1 - Lessons 1-7  Unit Test

AP CSP Unit 1 - Lessons 1-7 Unit Test

11th - 12th Grade

12 Qs

AP Computer Science Principles Unit 1

AP Computer Science Principles Unit 1

10th - 12th Grade

11 Qs

Binary Code

Binary Code

9th - 12th Grade

15 Qs

AP Computer Science Principles Big Idea 1

AP Computer Science Principles Big Idea 1

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 11+ 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

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

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?