Basic C Programming - Bitwise Operators

Basic C Programming - Bitwise Operators

12th Grade

10 Qs

quiz-placeholder

Similar activities

Basic C Programming - Assignment Operators

Basic C Programming - Assignment Operators

12th Grade

10 Qs

Quiz Dasar-Dasar Pemrograman Python

Quiz Dasar-Dasar Pemrograman Python

12th Grade - University

15 Qs

Sosialisasi Pengenalan AEO

Sosialisasi Pengenalan AEO

1st - 12th Grade

10 Qs

Arduino Variables and Operators

Arduino Variables and Operators

12th Grade

10 Qs

Front Office

Front Office

12th Grade

10 Qs

Week 3 Assignment - Arithmetic Operator

Week 3 Assignment - Arithmetic Operator

8th - 12th Grade

10 Qs

Unit 15

Unit 15

12th Grade

13 Qs

Python IF Statements

Python IF Statements

9th - 12th Grade

10 Qs

Basic C Programming - Bitwise Operators

Basic C Programming - Bitwise Operators

Assessment

Quiz

Education

12th Grade

Hard

Created by

Hafizul Hasmie

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the bitwise AND operator (&) when applied to 5 (0101 in binary) and 3 (0011 in binary)?

2

6

1

4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the bitwise OR operator (|) when applied to 5 (0101 in binary) and 3 (0011 in binary)?

2

6

4

7

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the bitwise XOR operator (^) when applied to 5 (0101 in binary) and 3 (0011 in binary)?

7

6

4

2

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the bitwise NOT operator (~) when applied to 5 (0101 in binary)?

01

11

00

10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the left shift operator (<<) when applied to 5 (0101 in binary) by 2 positions?

10

25

20

15

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the right shift operator (>>) when applied to 5 (0101 in binary) by 1 position?

4

2

6

3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the bitwise AND operator (&) when applied to 12 (1100 in binary) and 9 (1001 in binary)?

4

6

10

8

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?