EECS270-W08-HW1-Solutions

EECS270-W08-HW1-Solutions - EECS 270 Winter 2008 Homework 1...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
EECS 270 Winter 2008 Homework 1 Solutions 1) (10 points) – Vahid 1.7 Convert the following binary numbers to decimal numbers: a) 1010 b) 1000000 c) 11001100 d) 11111 e) 10111011001 a) 1*2 1 + 1*2 3 = 12 b) 1*2 6 = 64 c) 1*2 2 + 1*2 3 + 1*2 6 + 1*2 7 = 204 d) 1*2 0 + 1*2 1 + 1*2 2 + 1*2 3 + 1*2 4 = 31 e) 1*2 0 + 1*2 3 + 1*2 4 + 1*2 6 + 1*2 7 + 1*2 8 + 1*2 10 = 1497
Background image of page 1

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

View Full DocumentRight Arrow Icon
3) (8 points) – Vahid 1.13 Convert the following decimal numbers to binary using the divide-by-2 method (show your work): a) 19 b) 30 c) 64 d) 128 a) 9 19 2 R1 1 4 9 2 R1 11 2 4 2 R0 011 1 2 2 R0 0011 0 1 2 R1 10011 b) 15 30 2 R0 0 7 15 2 R1 10 3 7 2 R1 110 1 3 2 R1 1110 0 1 2 R1 11110
Background image of page 2
c) 32 64 2 R0 0 16 32 2 R0 00 8 16 2 R0 000 4 8 2 R0 0000 2 4 2 R0 00000 1 2 2 R0 000000 0 1 2 R1 1000000 d) 64 128 2 R0 0 32 64 2 R0 00 16 32 2 R0 000 8 16 2 R0 0000 4 8 2 R0 00000 2 4 2 R0 000000 1 2 2 R0 0000000 0 1 2 R1 10000000
Background image of page 3

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

View Full DocumentRight Arrow Icon
3) (8 points) Convert the following decimal numbers to binary using the divide-by-2 and multiply-by- 2 methods (show your work):
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This homework help was uploaded on 04/04/2008 for the course EECS 270 taught by Professor Hayes during the Winter '08 term at University of Michigan.

Page1 / 9

EECS270-W08-HW1-Solutions - EECS 270 Winter 2008 Homework 1...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online