Signed up recently but had issues with the confirmation email?
Click Forgot password and follow the reset steps. You can choose the same password you used when you signed up. This should then provide access.
Remember to check Spam and Junk. The email will be from auth@progressbytes.co.uk.
Numbers: Binary shifts
1.2.4a Data Storage: Numbers
Practise exam questionsData Storage: Numbers — Note 5 of 5
A binary shift moves all bits in a binary number left or right by a specified number of places. Left shifts multiply the value; right shifts divide it. Bits shifted out are lost, and zeros fill the vacated positions.
00101100 (44) left shift by 1 = 01011000 (88). The value has been multiplied by 2.Moves all bits to the left, adding 0s on the right. Equivalent to MULTIPLYING by 2 for each place shifted.
Moves all bits to the right, adding 0s on the left. Equivalent to DIVIDING by 2 for each place shifted.
10010111 (151) gives 00100101 (37), not 37.75. Right shifts round DOWN: precision is lost whenever any 1s are shifted off the right, not just for odd numbers.Ready to test yourself?
Practise 1.2.4a questions