Mastering Bitwise Operations and Shifts

Mastering Bitwise Operations and Shifts

7th Grade

8 Qs

quiz-placeholder

Similar activities

MENAMBAH DAN MENOLAK DUA NOMBOR PERDUAAN

MENAMBAH DAN MENOLAK DUA NOMBOR PERDUAAN

1st - 12th Grade

10 Qs

TAHS Y9 33 2024

TAHS Y9 33 2024

9th Grade

12 Qs

Binary

Binary

7th - 8th Grade

12 Qs

Bitwise Operators Quiz

Bitwise Operators Quiz

12th Grade

13 Qs

Number System Conversions 1

Number System Conversions 1

9th - 12th Grade

10 Qs

Binary Conversions

Binary Conversions

7th Grade - University

10 Qs

Binary addition

Binary addition

7th Grade

10 Qs

Data Representation

Data Representation

10th 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