hw1 - Department of Systems Engineering and Engineering...

Info iconThis preview shows page 1. Sign up to view the full content.

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

Unformatted text preview: Department of Systems Engineering and Engineering Management ERG 2020 C/D Digital Logic and Systems Instruction: Question 1. THE CHINESE UNIVERSITY OF HONG KONG Show your work clearly. Assignment 1 Convert the following given numbers to other number systems: Decimal Binary Hexadecimal 147 ? ? ? 1 1010 1110 ? ? ? BC1 Question 2. Find the 8-bit representations/values of the followings: Decimal Sign-Magnitude Ones' Complement Two's Complement Excess-127 Value Representation Representation Representation Representation 35 ? ? ? ? ? 0110 1011 ? ? ? ? ? 1011 1100 ? ? ? ? ? 0110 1000 ? ? ? ? ? 1001 0111 Perform the following unsigned binary number arithmetic. (a) 0100 1110 + 0001 0011 (show all c ) (b) 0100 1110 0001 0011 (show all b ) (c) 1011 1110 (show all c and partial products; you can ignore the steps of adding 0 to a partial product) (d) 1101 1001 1011 ( nd quotient and remainder; show all b ) in in in in Question 3. Perform the following 8-bit signed binary number arithmetic and identify over ow, if any. (a) 0100 1110 + 1001 0011 (signed-magnitude representations) (b) 0100 1110 1001 0011 (signed-magnitude representations) (c) 0100 1110 + 1001 0011 (two's-complement representations) (d) 0100 1110 1001 0011 (two's-complement representations) Question 4. ...
View Full Document

Ask a homework question - tutors are online