Quiz - 7 on Bitwise Operators in C

Quiz - 7 on Bitwise Operators in C

12th Grade

15 Qs

quiz-placeholder

Similar activities

Computer programming for 2nd chap.

Computer programming for 2nd chap.

10th Grade - Professional Development

12 Qs

Code.org CSP Unit 1 Review

Code.org CSP Unit 1 Review

9th - 12th Grade

15 Qs

U1 Digital Information Vocab

U1 Digital Information Vocab

9th - 12th Grade

12 Qs

Quiz - 6 on Relational & Logical Operators

Quiz - 6 on Relational & Logical Operators

12th Grade

10 Qs

APCSP - Unit 1 Review

APCSP - Unit 1 Review

10th - 12th Grade

15 Qs

Digital Information

Digital Information

10th - 12th Grade

17 Qs

AP CSP Review

AP CSP Review

11th - 12th Grade

19 Qs

Bitwise Masks

Bitwise Masks

12th Grade

15 Qs

Quiz - 7 on Bitwise Operators in C

Quiz - 7 on Bitwise Operators in C

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Michael Kona

Used 8+ times

FREE Resource

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

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?