Deck 10: Computer Arithmetic

Full screen (f)
exit full mode
Question
Booth's algorithm performs more additions and subtractions than a straightforward algorithm.
Use Space or
up arrow
down arrow
to flip the card.
Question
For each 1 on the multiplier,an add and a shift operation are required; but for each 0 only a shift is required.
Question
Addition and subtraction can be performed on numbers in twos complement notation by treating them as unsigned integers.
Question
Both sign-magnitude representation and twos complement representation use the most significant bit as a sign bit.
Question
The numbers represented in floating-point notation are not spaced evenly along the number line,as are fixed-point numbers.
Question
__________ representation is almost universally used as the processor representation for integers.

A)Biased
B)Twos compliment
C)Sign-magnitude
D)Decimal
Question
Moving the sign bit to the new leftmost position and filling in with copies of the sign bit is called _________.

A)sign extension
B)range extension
C)bit extension
D)partial extension
Question
One of the trade-offs of floating-point math is that many calculations produce results that are not exact and have to be rounded to the nearest value that the notation can represent.
Question
Overflow is a less serious problem because the result can generally be satisfactorily approximated by 0.
Question
With a fixed-point notation it is possible to represent a range of positive and negative integers centered on or near 0.
Question
The most common scheme in implementing the integer portion of the ALU is:

A)sign-magnitude representation
B)biased representation
C)twos complement representation
D)ones complement representation
Question
One drawback of sign-magnitude representation is that there are two representations of 0.
Question
For base 2 representation,a normal number is one in which the most significant bit of the significand is zero.
Question
It is not necessary for the ALU to signal when overflow occurs.
Question
Overflow can only occur if there is a carry.
Question
Compared with addition and subtraction,multiplication is a complex operation,whether performed in hardware of software.
Question
An advantage of biased representation is that nonnegative floating-point numbers can be treated as integers for comparison purposes.
Question
Actual floating-point representations include a special bit pattern to designate zero.
Question
In ________ representation the rule for forming the negation of an integer is to invert the sign bit.

A)ones complement
B)twos complement
C)biased
D)sign-magnitude
Question
________ is when the result may be larger than can be held in the word size being used.

A)Overflow
B)Arithmetic shift
C)Underflow
D)Partial product
Question
Negative numbers greater than 2-127 are called _________.

A)negative overflow
B)negative underflow
C)positive overflow
D)positive underflow
Question
_________ representation is when the radix point is fixed and assumed to be to the right of the rightmost digit.
Question
The _________ is that part of the computer that actually performs arithmetic and logical operations on data.
Question
Negative numbers less than -(2 - 2-23)x 2 128 are called _________.

A)positive underflow
B)positive overflow
C)negative underflow
D)negative overflow
Question
__________ format is a fully specified,fixed-length binary encoding that allows data interchange between different platforms and that can be used for storage.
Question
Although considered obsolete,the term _________ is sometimes used instead of significand.

A)minuend
B)mantissa
C)base
D)subtrahend
Question
_________ are included in IEEE 754 to handle cases of exponent underflow.

A)Subnormal numbers
B)Guard bits
C)Normal numbers
D)Radix points
Question
A __________ is one in which the most significant digit of the significand is nonzero.
Question
The most important floating-point representation is defined in IEEE Standard _________,adopted in 1985 and revised in 2008.
Question
Positive numbers greater than (2 - 2-23)x 2-128 are called _________.

A)negative underflow
B)positive overflow
C)positive underflow
D)negative overflow
Question
_________ occurs when an arithmetic operation results in an absolute value greater than can be expressed with an exponent of 128.
Question
If two numbers are added,and they are both positive or both negative,then _________ occurs if and only if the result has the opposite sign.
Question
When the divisor is able to divide the number,a 1 is placed in the quotient and the divisor is subtracted from the partial dividend; the result is referred to as a ________.
Question
"To subtract one number from another,take the twos complement of the subtrahend and add it to the minuend" is the _________ rule.
Question
__________ is when a positive exponent exceeds the maximum possible exponent value.

A)Significand underflow
B)Significand overflow
C)Exponent overflow
D)Exponent underflow
Question
__________ involves the generation of partial products,one for each digit in the multiplier,which are then summed to produce the final product.

A)Addition
B)Subtraction
C)Multiplication
D)Division
Question
_________ formats extend a supported basic format by providing additional bits in the exponent and in the significand.

A)Arithmetic
B)Basic
C)Extended precision
D)Interchange
Question
__________ means that the number is too small to be represented and it may be reported as 0.

A)Negative underflow
B)Exponent underflow
C)Positive underflow
D)Significand underflow
Question
Positive numbers less than 2-127 are called ________.

A)positive underflow
B)positive overflow
C)negative underflow
D)negative overflow
Question
Extending the range of numbers that can be expressed by increasing the bit length is referred to as __________.
Question
The register contains additional bits,called __________,which are used to pad out the right end of the significand with 0s.
Question
__________ is when the result is put back into the floating-point format and the extra bits must be eliminated in such a way as to produce a result that is close to the exact result.
Question
_________ format covers five floating-point representations,three binary and two decimal,whose encodings are specified by the standard,and which can be used for arithmetic.
Question
The use of subnormal numbers is referred to as _________ underflow.
Question
IEEE 754-2008 defines an __________ format as a format with a precision and range that are defined under user control.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/45
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 10: Computer Arithmetic
1
Booth's algorithm performs more additions and subtractions than a straightforward algorithm.
False
2
For each 1 on the multiplier,an add and a shift operation are required; but for each 0 only a shift is required.
True
3
Addition and subtraction can be performed on numbers in twos complement notation by treating them as unsigned integers.
True
4
Both sign-magnitude representation and twos complement representation use the most significant bit as a sign bit.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
5
The numbers represented in floating-point notation are not spaced evenly along the number line,as are fixed-point numbers.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
6
__________ representation is almost universally used as the processor representation for integers.

A)Biased
B)Twos compliment
C)Sign-magnitude
D)Decimal
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
7
Moving the sign bit to the new leftmost position and filling in with copies of the sign bit is called _________.

A)sign extension
B)range extension
C)bit extension
D)partial extension
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
8
One of the trade-offs of floating-point math is that many calculations produce results that are not exact and have to be rounded to the nearest value that the notation can represent.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
9
Overflow is a less serious problem because the result can generally be satisfactorily approximated by 0.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
10
With a fixed-point notation it is possible to represent a range of positive and negative integers centered on or near 0.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
11
The most common scheme in implementing the integer portion of the ALU is:

A)sign-magnitude representation
B)biased representation
C)twos complement representation
D)ones complement representation
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
12
One drawback of sign-magnitude representation is that there are two representations of 0.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
13
For base 2 representation,a normal number is one in which the most significant bit of the significand is zero.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
14
It is not necessary for the ALU to signal when overflow occurs.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
15
Overflow can only occur if there is a carry.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
16
Compared with addition and subtraction,multiplication is a complex operation,whether performed in hardware of software.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
17
An advantage of biased representation is that nonnegative floating-point numbers can be treated as integers for comparison purposes.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
18
Actual floating-point representations include a special bit pattern to designate zero.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
19
In ________ representation the rule for forming the negation of an integer is to invert the sign bit.

A)ones complement
B)twos complement
C)biased
D)sign-magnitude
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
20
________ is when the result may be larger than can be held in the word size being used.

A)Overflow
B)Arithmetic shift
C)Underflow
D)Partial product
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
21
Negative numbers greater than 2-127 are called _________.

A)negative overflow
B)negative underflow
C)positive overflow
D)positive underflow
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
22
_________ representation is when the radix point is fixed and assumed to be to the right of the rightmost digit.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
23
The _________ is that part of the computer that actually performs arithmetic and logical operations on data.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
24
Negative numbers less than -(2 - 2-23)x 2 128 are called _________.

A)positive underflow
B)positive overflow
C)negative underflow
D)negative overflow
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
25
__________ format is a fully specified,fixed-length binary encoding that allows data interchange between different platforms and that can be used for storage.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
26
Although considered obsolete,the term _________ is sometimes used instead of significand.

A)minuend
B)mantissa
C)base
D)subtrahend
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
27
_________ are included in IEEE 754 to handle cases of exponent underflow.

A)Subnormal numbers
B)Guard bits
C)Normal numbers
D)Radix points
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
28
A __________ is one in which the most significant digit of the significand is nonzero.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
29
The most important floating-point representation is defined in IEEE Standard _________,adopted in 1985 and revised in 2008.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
30
Positive numbers greater than (2 - 2-23)x 2-128 are called _________.

A)negative underflow
B)positive overflow
C)positive underflow
D)negative overflow
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
31
_________ occurs when an arithmetic operation results in an absolute value greater than can be expressed with an exponent of 128.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
32
If two numbers are added,and they are both positive or both negative,then _________ occurs if and only if the result has the opposite sign.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
33
When the divisor is able to divide the number,a 1 is placed in the quotient and the divisor is subtracted from the partial dividend; the result is referred to as a ________.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
34
"To subtract one number from another,take the twos complement of the subtrahend and add it to the minuend" is the _________ rule.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
35
__________ is when a positive exponent exceeds the maximum possible exponent value.

A)Significand underflow
B)Significand overflow
C)Exponent overflow
D)Exponent underflow
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
36
__________ involves the generation of partial products,one for each digit in the multiplier,which are then summed to produce the final product.

A)Addition
B)Subtraction
C)Multiplication
D)Division
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
37
_________ formats extend a supported basic format by providing additional bits in the exponent and in the significand.

A)Arithmetic
B)Basic
C)Extended precision
D)Interchange
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
38
__________ means that the number is too small to be represented and it may be reported as 0.

A)Negative underflow
B)Exponent underflow
C)Positive underflow
D)Significand underflow
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
39
Positive numbers less than 2-127 are called ________.

A)positive underflow
B)positive overflow
C)negative underflow
D)negative overflow
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
40
Extending the range of numbers that can be expressed by increasing the bit length is referred to as __________.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
41
The register contains additional bits,called __________,which are used to pad out the right end of the significand with 0s.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
42
__________ is when the result is put back into the floating-point format and the extra bits must be eliminated in such a way as to produce a result that is close to the exact result.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
43
_________ format covers five floating-point representations,three binary and two decimal,whose encodings are specified by the standard,and which can be used for arithmetic.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
44
The use of subnormal numbers is referred to as _________ underflow.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
45
IEEE 754-2008 defines an __________ format as a format with a precision and range that are defined under user control.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 45 flashcards in this deck.