Mastering Bitwise Operations and Shifts

Mastering Bitwise Operations and Shifts

7th Grade

8 Qs

quiz-placeholder

Similar activities

Binary Quiz

Binary Quiz

7th Grade

10 Qs

Quiz 2 Chapter 3 PLC

Quiz 2 Chapter 3 PLC

University

10 Qs

Python for Class 7

Python for Class 7

7th - 8th Grade

11 Qs

Data Representation Assessment Year 10

Data Representation Assessment Year 10

9th Grade

13 Qs

AP CSP Binary Numbers

AP CSP Binary Numbers

10th - 12th Grade

13 Qs

Binary

Binary

5th - 12th Grade

12 Qs

SC015 : Number system and how data represent

SC015 : Number system and how data represent

University

12 Qs

Y9 Carousel Homework 1

Y9 Carousel Homework 1

8th Grade

12 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