{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw4sol - BCD =(378.75 10 =(101111010.11 2 5 Mano/Kime 3 rd...

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

1 ECE 2030F Fall 2007 Homework 4 Solution (Total 100 Points) 1. Mano/Kime 3 rd Ed. 4-11 (10 points) Truth table of a decimal-to-binary priority decoder (assume that 9 is the highest priority and V indicates a valid output): Decimal Inputs 9 8 7 6 5 4 3 2 1 0 Binary Outputs A 3 A 2 A 1 A 0 V 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 x 0 0 0 0 0 0 0 1 x x 0 0 0 0 0 0 1 x x x 0 0 0 0 0 1 x x x x 0 0 0 0 1 x x x x x 0 0 0 1 x x x x x x 0 0 1 x x x x x x x 0 1 x x x x x x x x 1 x x x x x x x x x x x x x 0 0 0 0 0 1 0 0 0 1 1 0 0 1 0 1 0 0 1 1 1 0 1 0 0 1 0 1 0 1 1 0 1 1 0 1 0 1 1 1 1 1 0 0 0 1 1 0 0 1 1 2. Mano/Kime 3 rd Ed. 4-18 (4 th Ed. 3-41) (20 points) 3. Mano/Kime 3 rd Ed. 1-7 (4 th Ed. 1-9) (20 points) Decimal Binary Octal Hexadecimal 369.3125 101110001.0101 561.24 171.5 189.625 10111101.101 275.5 BD.A 214.625 11010110.101 326.5 D6.A 62407.625 1111001111000111.101 171707.5 F3C7.A

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

View Full Document
2 4. Mano/Kime 3 rd Ed. 1-16 (4 th Ed. 1-18) (10 points) a) (0100 1000 0110 0111) BCD = (4867) 10 = (1001100000011) 2 b) (0011 0111 1000.0111 0101)
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: BCD = (378.75) 10 = (101111010.11) 2 5. Mano/Kime 3 rd Ed. 1-17 (similar to 4 th Ed. 1-26) (10 points) Decimal 16 17 18 19 20 21 22 23 Odd 10000 0 10001 1 10010 1 10011 0 10100 1 10101 0 10110 0 10111 1 Even 10000 1 10001 0 10010 0 10011 1 10100 0 10101 1 10110 1 10111 0 Decimal 24 25 26 27 28 29 30 31 Odd 11000 1 11001 0 11010 0 11011 1 11100 0 11101 1 11110 1 11111 0 Even 11000 0 11001 1 11010 1 11011 0 11100 1 11101 0 11110 0 11111 1 6. Mano/Kime 3 rd Ed. 1-20 (4 th Ed. 1-22) (10 points) From Table 1-5, complementing the 6 th bit will switch an uppercase letter to a lower case letter and vice versa. 7. Mano/Kime 3 rd Ed. 5-2 (4 th Ed. 4-2) (20 points) 2 1 4 2 1 2 3 1 C B A ) B A B (A C )) B )(A B A ( ( C )) B (A B A ( C ) T T ( C T C S C B C A B A ) B )(A C B (A B A C ) B A ( B A C B A T C T T T C ⊕ ⊕ = + ⊕ = + + ⊕ = + ⊕ = ⊕ = ⊕ = + + = + + = + + = + + = + = + =...
View Full Document

{[ snackBarMessage ]}

Page1 / 2

hw4sol - BCD =(378.75 10 =(101111010.11 2 5 Mano/Kime 3 rd...

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

View Full Document
Ask a homework question - tutors are online