c) Sign and Magnitude vs Two's Complement

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 5

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

6 Terms

1

What methods can you use to represent negative binary numbers?

Sign and magnitude, or two’s complement.

New cards
2

How does sign and magnitude work?

It is when you add a 0 or 1 at the start of the number to represent its sign.

New cards
3

What is the first character in sign and magnitude equivalent to?

The sign of the number.

New cards
4

Does the first character in sign and magnitude have a numerical value?

No.

New cards
5

Define Two’s Complement

Most significant bit is made negative (eg -128 or -8), and all bits to the left are flipped until the last positive bit is reached.

New cards
6

How do you subtract with two’s complement?

Convert a number to being negative, then add the numbers together.

New cards
robot