083. OCR A Level (H446) SLR13 – 1.4 Bitwise manipulation and masks
About this video
OCR Specification Reference
A Level 1.4.1i
In this video we look at a technique called bitwise manipulation and masks. In particular we focus on shifts and combining these with AND, OR and XOR.
Key question:
- What other operations can an arithmetic logic unit (ALU) carry out?
00:00 Bitwise manipulation and masks
00:08 Intro
00:13 Logical binary left shift
01:59 Logical binary right shift
03:17 Logical shifts vs arithmetic shifts
04:32 A note from the exam clarification document
04:46 Bitwise masks
05:18 How bitwise ANDing can extract a subset of bits
06:52 How bitwise ORing sets a subset of bits
08:23 How bitwise XORing sets a subset of bits
10:15 Where are masks and bitwise operations used in computing?
11:59 Key question
12:10 Outro
Last updated: 13.07.26
Other videos on this course
-
072. OCR A Level (H046-H446) SLR13 – 1.4 Primitive data types
-
073. OCR A Level (H046-H446) SLR13 – 1.4 Binary positive integers
-
074. OCR A Level (H046-H446) SLR13 – 1.4 Sign and magnitude
-
075. OCR A Level (H046-H446) SLR13 – 1.4 Two’s complement
-
076. OCR A Level (H046-H446) SLR13 – 1.4 Binary addition and subtraction