ELEC2200 HW2 M11 - number and its twos complement. a....

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

View Full Document Right Arrow Icon
ELEC 2200 Homework #2 (Due 5-25-2011) 1. Convert each of the following hexadecimal numbers to binary and decimal forms. a. 7B14A b. ED.5F 2. What ranges of decimal numbers can be represented with each of the following formats if the number is (1) unsigned, and (2) signed/2’s complement. a. 14-bit binary number b. 5-digit hexadecimal number 3. Encode the following character string in ASCII code. Represent the encoded string using hexadecimal numbers. (Do not encode the quotation marks.) “This is ELEC2200.” 4. Find the two’s complement of each of the following binary numbers, assuming a number system in which n (number of bits) = 8, and determine the decimal numbers represented by the original
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: number and its twos complement. a. 111010 b. 01011011 c. 00000000 5. Determine the decimal number represented by each of the following binary numbers, assuming they represent values in a twos complement number system with number of bits n = 8. a. 11000000 b. 01000000 6. Find the twos complement number system representation of each of the following decimal numbers, using n (number of bits) = 8. a. 63 b.-63 c.-105 d.-2 e. 0 7. Calculate (A + B), (A B), (-A + B), and (A B) for the following pair of binary numbers, assuming a twos complement number system with n=8. Note any unusual results, if any should occur. 111010, 0110...
View Full Document

This note was uploaded on 09/23/2011 for the course ELEC 2200 taught by Professor Singh during the Summer '08 term at Auburn University.

Ask a homework question - tutors are online