HW#1 - a 111111 001011 b 001001 100100 c 001001 010011 d...

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

View Full Document Right Arrow Icon
King Fahd University of Petroleum and Minerals Department of Electrical Engineering EE 200 Digital Logic Circuit Design Dr. H. Ragheb HW No. 1 (Due Sat. Sept. 25) 1- Convert the following to i- octal ii- hexadecimal a. (111010110111) 2 b. (611) 10 2- Convert the following to decimal a. (2170) 8 b. (1C3) 16 3- Compute the sum of the following pairs of 6-bit unsigned numbers. If the answer is to be stored in a 6-bit location, indicate which of the sums produces overflow. Also show the decimal equivalent of the problem a. 001011 + 011010 b. 101111 + 000001 c. 101010 + 010101 d. 101010 + 100011 4- Each of the following pairs of signed (two’s complement) numbers are stored in computer words ( 6 bits). Compute the sum as it is stored in a 6-bit computer word. Show the decimal equivalents of each operand and the sum. Indicate if there is overflow.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: a. 111111 + 001011 b. 001001 + 100100 c. 001001 + 010011 d. 001010 + 011000 e. 111010 + 110001 f. 101001 + 110001 g. 110101 + 001011 5-subtract each of the following pairs of unsigned numbers a. 001101 - 000110 b. 110101 – 000011 c. 000111 - 010011 6- Subtract each of the following pairs of signed numbers a. 110101 – 000011 b. 110101 – 011000 c. 010000 - 100100 7- we have a computer that can store 3 decimal digits. How are the following two numbers stored in , BCD, 2421, Excess 3, and 8 4 -2 -1 codes: a. 491 b. 27 8- we have the following numbers stored in a computer. What is the decimal value representing if the number is stored as i. BCD ii. 2 4 2 1 iii. Excess 3 iv. 8 4 -2 -1 v. Binary unsigned vi. Binary signed. a. 1000 0111 b. 0011 0100 c. 1100 1001...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online