Logical Binary Shifts

0.0(0)
studied byStudied by 0 people
0.0(0)
linked notesView linked note
full-widthCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/10

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

11 Terms

1
New cards

Binary Shift

A process that moves all bits in a binary number to the left or right by a specified number of places, filling empty spaces with zeros.

2
New cards

Left Shift Operator

The operator '<<' is used to shift bits to the left.

3
New cards

Right Shift Operator

The operator '>>' is used to shift bits to the right.

4
New cards

Effect of Left Shift

Shifting a binary number left is equivalent to multiplying that number by 2 for each shift.

5
New cards

Effect of Right Shift

Shifting a binary number right is equivalent to dividing that number by 2 for each shift.

6
New cards

Overflow in Shifts

When bits are shifted out during a shift operation, they are ignored.

7
New cards

Infill with Zeros

Gaps created by shifting bits are filled with zeros.

8
New cards

Precision Issue in Division

Dividing odd numbers using right shifts can lead to loss of precision, as fractional parts cannot be represented in binary.

9
New cards

Convert Binary to Decimal

The process of changing a binary number into its decimal (denary) equivalent.

10
New cards

Example of Left Shift

Shifting the binary number 11010110 to the left by 1 gives 10101100.

11
New cards

Example of Right Shift

Shifting the binary number 11010110 to the right by 2 gives 00110101.

Explore top flashcards

Period 3 WHAP Vocab
Updated 745d ago
flashcards Flashcards (244)
BIS 2B Midterm 1
Updated 722d ago
flashcards Flashcards (157)
Baron - Cohen
Updated 1017d ago
flashcards Flashcards (60)
1920s
Updated 1080d ago
flashcards Flashcards (101)
Linear Algebra Vocab
Updated 985d ago
flashcards Flashcards (40)
Clustering Analysis
Updated 1168d ago
flashcards Flashcards (38)
Topic 3 Computers
Updated 975d ago
flashcards Flashcards (35)
Period 3 WHAP Vocab
Updated 745d ago
flashcards Flashcards (244)
BIS 2B Midterm 1
Updated 722d ago
flashcards Flashcards (157)
Baron - Cohen
Updated 1017d ago
flashcards Flashcards (60)
1920s
Updated 1080d ago
flashcards Flashcards (101)
Linear Algebra Vocab
Updated 985d ago
flashcards Flashcards (40)
Clustering Analysis
Updated 1168d ago
flashcards Flashcards (38)
Topic 3 Computers
Updated 975d ago
flashcards Flashcards (35)