{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

c06_ps03_sol

# c06_ps03_sol - C6 1 How many bits do you need to represent...

This preview shows pages 1–2. Sign up to view the full content.

C6 1. How many bits do you need to represent a number in excess-16 format? What is the excess-16 representation of 12? 16 = 2 4 = 2 N-1 N =5. Five bits are needed to represent the number in excess-16 format. Step 1. Add 16 to the number 16+12=28 Step 2. Convert to binary 12 in excess-16 = 11100 2. Convert 29/8 into binary 8-bit floating-point representation. Step1. Set the sign bit to zero since number is positive Step2. Convert the number into binary representation 29/8 = 3 + 5/8 = 011.101 Step 3. Normalize the binary representation 0.11101 * 2 2 Step 4.Convert the exponent into excess-4 2 = 110 Step 5. Fill in the mantissa Therefore 29/8 = 01101110 3. Sketch the basic von Neumann architecture and describe each component in a few lines. The von Neumann architecture describes a computer with four main sections: the Arithmetic and Logic Unit (ALU) the control unit (CU) the memory the input and output devices (collectively termed I/O) These parts are interconnected by a bundle of wires, a Bus.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 2

c06_ps03_sol - C6 1 How many bits do you need to represent...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online