A Level CS - Bitwise Manipulation and Masks Quiz - CnD video

A Level CS - Bitwise Manipulation and Masks Quiz - CnD video

12th Grade

10 Qs

quiz-placeholder

Similar activities

L6 Data Rep

L6 Data Rep

12th Grade

15 Qs

Sending and Receiving Information/Binary

Sending and Receiving Information/Binary

9th - 12th Grade

13 Qs

Number Systems in Computer Science

Number Systems in Computer Science

10th - 12th Grade

12 Qs

Data Representation

Data Representation

12th Grade

10 Qs

Bitwise Masks

Bitwise Masks

12th Grade

15 Qs

Computer programming for 2nd chap.

Computer programming for 2nd chap.

10th Grade - Professional Development

12 Qs

CSP Unit 1 Review

CSP Unit 1 Review

9th - 12th Grade

15 Qs

[AP CSP] Binary Conversion

[AP CSP] Binary Conversion

9th - 12th Grade

14 Qs

A Level CS - Bitwise Manipulation and Masks Quiz - CnD video

A Level CS - Bitwise Manipulation and Masks Quiz - CnD video

Assessment

Passage

Computers

12th Grade

Hard

Created by

Kevin Johnson

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when we left shift the binary number 22 by one bit?

44

11

40

22

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of a right shift of the binary number 22 by one bit?

22

44

11

40

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which type of binary, the most significant bit is reserved as the sign bit?

Logical binary

Unsigned binary

Two's complement signed binary

Arithmetic binary

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of using a bitwise and operation with a mask in a binary sequence?

Toggle a subset of bits

All of the above

Set a subset of bits

Extract a subset of bits

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the effect of using a bitwise or operation with a mask in a binary sequence?

Toggle a subset of bits

Extract a subset of bits

Set a subset of bits

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can a bitwise xor operation with a mask be used in a binary sequence?

None of the above

Toggle a subset of bits

Set a subset of bits

Extract a subset of bits

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of isolating the network part of an IP address using a mask and a bitwise and operation?

To extract a subset of bits

To identify the host part of the address

To route traffic around a network

To work out whether the destination computer is on the same network as the host

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?