Archive for Exam 2001 FE (AM)

Question 6

When the following operations were performed on two real type variables x and y, the value displayed in  has ceased to change. What is that value?


a) 0
b) 1
c) 2
d) 4

Comments (1)

Question 5

In floating point operations, what is the term for the phenomenon in which the number of digits in a significant figure decreases in a subtraction operation involving numbers that are close in value?

a) Truncation error
b) Cancellation
c) Information loss
d) Rounding error

Comments (1)

Question 4

How many bytes are needed in order to represent a signed six-digit decimal number as a packed decimal?

a) 3
b) 4
c) 6
d) 7

Leave a Comment

Question 3

When a certain integer value is converted to the binary representation in which a negative value is expressed as its two’s complement, the lowest two bits are “11.” Which of the following statements is true for the remainder that is produced when that integer value, in the decimal representation, is divided by 4? Here, assume that the decimal portion of the absolute value of the quotient of the division operation has been truncated.

a) The remainder is 3 if the integer value is positive.
b) The remainder is 3 if the integer value is negative.
c) The remainder is -3 if the integer value is negative.
d) The remainder is 0, regardless of whether the integer value is positive or negative

Leave a Comment

Question 2

Which of the following decimal numbers expresses the binary number 101.11?

a) 5.11
b) 5.3
c) 5.55
d) 5.75

Leave a Comment

Question 1

Of the following decimal fractions, which becomes an infinite binary fraction when expressed as a binary number?

a) 0.05
b) 0.125
c) 0.375
d) 0.5

Comments (2)