IS 310 Chapter 5

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

1/28

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:36 PM on 10/5/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

29 Terms

1
New cards

What is an unsigned integer?

A positive whole number represented without a sign.

2
New cards

What is BCD?

Binary-Coded Decimal, where each decimal digit is represented separately in binary.

3
New cards

How many bits does BCD use for each decimal digit?

4 bits.

4
New cards

How does BCD differ from conventional binary?

BCD represents each decimal digit separately, while binary represents the entire number in binary.

5
New cards

Which has a greater range for the same number of bits: BCD or binary?

Conventional binary.

6
New cards

Why is conventional binary generally preferred?

It provides a greater range of values and makes calculations easier.

7
New cards

Why can BCD be useful for business applications?

It maintains decimal rounding and decimal precision.

8
New cards

What are the three signed-integer representations in the slides?

Sign-and-magnitude, 1's complement, and 2's complement.

9
New cards

Which signed-integer representation is the most common?

2's complement.

10
New cards

How does sign-and-magnitude represent the sign?

The left-most bit represents the sign: 0 is positive and 1 is negative.

11
New cards

What is the range of an 8-bit sign-and-magnitude number?

-127 to +127.

12
New cards

How many representations of zero does sign-and-magnitude have?

Two: +0 and -0.

13
New cards

What is 1's complement?

A signed-number representation that uses inversion to represent negative numbers.

14
New cards

How do you find the 1's complement of a binary number?

Change every 1 to 0 and every 0 to 1.

15
New cards

In 1's complement, what does a number beginning with 0 mean?

The number is positive.

16
New cards

In 1's complement, what does a number beginning with 1 mean?

The number is negative.

17
New cards

What is the range of an 8-bit 1's complement number?

-127 to +127.

18
New cards

How many representations of zero exist in 1's complement?

Two.

19
New cards

What is 2's complement used for?

Representing signed positive and negative binary numbers.

20
New cards

What is the range of an 8-bit 2's complement number?

-128 to +127.

21
New cards

How many representations of zero exist in 2's complement?

One.

22
New cards

What is overflow?

A result that is outside the range that can be represented by the fixed number of bits.

23
New cards

How can overflow be detected when adding signed numbers?

If both inputs have the same sign but the result has a different sign.

24
New cards

What is a carry flag?

It is set when an addition or subtraction result exceeds the fixed number of allocated bits.

25
New cards

What is end-around carry in 1's complement?

A carry beyond the fixed word size is added back into the result.

26
New cards

How is subtraction performed using 1's complement?

Subtraction is treated as adding a negative number.

27
New cards

What is a modulus in the 2's complement slide?

A base-2 1 followed by the specified number of 0s

28
New cards

What modulus is shown for 8 bits?

1000 0000.

29
New cards

What two methods does the slide give for finding the 2's complement

Subtract the value from the modulus or invert.