Assembly ch 29 studyguide

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

(29.5) In the binary fraction 0.1 what power of 2 is the 1 associated with?

-1

(29.1) In the decimal fraction 12.345 what power of 10 is the digit 5 associated with?

-3

(29.12) Write 0.11(2) as a base 10 expression.

.75

(29.2) In the decimal fraction 12.345 what power of 10 is the digit 2 associated with?

0

(29.22) The number 0.625 is here represented as a decimal fraction. Multiply it by two. Discard the digit in the one's place of the result. Multiply by two again. The digit now in the one's place is the bit that should go in the (1/4)'s place of the binary fraction. What is that digit?

0

(29.27) Write a binary fraction that is an approximation to the decimal fraction 0.6. (use a zero before the binary point and four places after it)

0.1001

(29.28) Write a binary fraction that is an approximation to the decimal fraction 0.9. (use a zero before the binary point and four places after it)

0.1110

(29.31) Write 10.011(2) as a base 10 expression

2.375

(29.14) Say that the following is a four bit binary fixed-point expression and that the point is fixed between the middle two bits. 1011 What value does it represent? (Write the answer in decimal.)

2.75

(29.18) Perform the following addition of fixed-point binary operands using the Binary Addition Algorithm. Assume that the binary point is fixed in the middle of each group of four bits. 0010 0011 ------- What value does the first operand represent? (write the answer in decimal) What value does the second operand represent? (write the answer in decimal) What is the 4-bit pattern of the sum? (write the answer as four bits) What value does the sum represent? (write the answer in decimal)

0.5 0.75 0101 1.25

(29.20) The number 0.625 is here represented as a decimal fraction. Multiply it by two. The digit in the one's place of the result is the bit that should go in the (1/2)'s place of the binary fraction. What is that digit?

1

(29.16) Say that the following is an eight-bit binary fixed-point expression and that the binary point is fixed in the middle of the bits. 0001 0100 What value does it represent? (Write the answer in decimal.)

1.25

(29.6) Express 1 + 4/10 + 3/100 using base 10 positional notation.

1.43

(29.11) Write 1.01 (base2) as a base 10 expression.

1.25

(29.9) Express 2 + 1/4 + 1/8 using base 2 positional notation.

10.011

(29.30) Most programs that do floating point calculations should use variables of what type?

it isn't float

(29.29) If you know how many times a loop should execute, the loop control variable should be of what type?

it isn't for


Ensembles d'études connexes

CH. 21 : The Newborn at Risk: Congenital Disorders

View Set

Chapter 5: Flow control -sample exam questions

View Set

Personal Finance 1904 Book Quizzes

View Set

Econ 2 Macroeconomics - Winter Baden

View Set

Prime Numbers, Factors and Multiples - Revision Set

View Set