quiz1ans - ERG2020A: Digital Logic & Systems...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ERG2020A: Digital Logic & Systems (Fall 2007) Quiz #1 Suggested Solution 1. Convert the following (positive numbers) numbers from the given bases to the other three bases listed in the table: (18%) Ans: 220 . 625 10 = DC . A 16 = 11011100 . 101 2 = 334 . 5 8 220 ÷ 16 = 13 . . . 12 . 625 × 16 = 10 10110011 . 01 2 = B3 . 4 16 = 263 . 2 8 = 11 × 16 + 3 + 1 16 × 4 = 179 . 25 10 A 7 . 6 16 = 10100111 . 011 2 = 247 . 30 8 = 10 × 16 + 7 + 1 16 × 6 = 167 . 375 10 Decimal Binary Octal Hexadecimal 220.625 11011100.101 334.5 DC.A 179.25 10110011.02 263.2 B3.4 167.375 10100111.011 247.30 A7.6 2. A7 16 is an eight bit unsigned numbers. Convert this number into a 12-bit signed binary number using the following formats (6%) Ans: (a) A7 16 = 1010 0111 2 Sign & magnitude: 0000 1010 0111 (b) One’s complement: 0000 1010 0111 (c) Two’s complement: 0000 1010 0111 3. Represent -A7 . 6 16 as a 12 + 4 (fraction) bits binary number using the three formats in Q2. (6%) Ans:-A7.6 = -(A7.6) = -(0000 1010 0111 0110)-A7....
View Full Document

Page1 / 3

quiz1ans - ERG2020A: Digital Logic & Systems...

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

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