Mastering Bitwise Operations and Shifts

Mastering Bitwise Operations and Shifts

7th Grade

8 Qs

quiz-placeholder

Similar activities

Decimal and Binary Practice

Decimal and Binary Practice

9th - 12th Grade

10 Qs

Converting from Decimal to Binary system

Converting from Decimal to Binary system

8th Grade

10 Qs

Denary to Binary

Denary to Binary

6th - 8th Grade

13 Qs

Conversion of Decimal to Binary

Conversion of Decimal to Binary

8th Grade

10 Qs

DAS Year 7 Revision - Binary & Denary

DAS Year 7 Revision - Binary & Denary

6th - 7th Grade

13 Qs

Binary Addition

Binary Addition

10th - 11th Grade

10 Qs

Parity

Parity

10th - 12th Grade

10 Qs

Edexcel Computet Science Paper 1 Revision

Edexcel Computet Science Paper 1 Revision

7th - 11th Grade

10 Qs

Mastering Bitwise Operations and Shifts

Mastering Bitwise Operations and Shifts

Assessment

Quiz

Computers

7th Grade

Medium

Created by

R Eveleigh

Used 1+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of a logical left shift operation on the binary number 0010 by 1 position?

0001

0100

1000

0011

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which bitwise operation would you use to turn off a specific bit in a binary number?

Bitwise AND

Bitwise OR

Bitwise NOT

Bitwise XOR

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the bitwise NOT operation on the binary number 1010?

0101

1101

1111

0000

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you have two binary numbers, 1100 and 1010, what is the result of the bitwise OR operation?

1000

1110

0110

0010

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which bitwise operation would you use to toggle a specific bit in a binary number?

Bitwise AND

Bitwise OR

Bitwise NOT

Bitwise XOR

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary application of bitwise masks in computer programming?

To perform arithmetic operations

To manipulate specific bits in a binary number

To sort data in ascending order

To convert binary numbers to decimal

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of a logical right shift operation on the binary number 1001 by 2 positions?

0010

0100

0001

1100

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you have two binary numbers, 0110 and 0011, what is the result of the bitwise AND operation?

0000

0010

0011

0110