Computer Science : S1 : L5 : Binary Shifts

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/6

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:49 AM on 2/6/24
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

7 Terms

1
New cards

Logical binary shift

The process of shifting all binary numbers in a stored register one or more places to the left or right.

2
New cards

Left shift

Shifting binary numbers to the left, resulting in multiplication by powers of 2 (e.g., *2 for one place, *4 for two places).

3
New cards

Right shift

Shifting binary numbers to the right, resulting in division by powers of 2 (e.g., /2 for one place, /4 for two places).

4
New cards

Empty spaces

When shifting, any vacant positions are filled with zeros (0).

5
New cards

Loss of highest number

During a logical binary shift, the highest number in an 8-bit register is lost.

6
New cards

Binary shifts for multiplication and division

Binary shifts are used to multiply or divide positive integers.

7
New cards

Integrity and correctness

Binary shifts have limitations as they can only be used up to a certain number, as losing vital information can lead to incorrect results.