0% found this document useful (0 votes)
8 views2 pages

DE Assignment 1

The document outlines an assignment for a Digital System & Engineering course, consisting of various questions related to computer number representation, base conversions, weighted codes, and binary arithmetic. It includes tasks such as determining the range of integers for 8-bit signed numbers, converting numbers between different bases, and performing binary subtraction using 1's and 2's complement methods. The assignment emphasizes understanding of numerical systems and their applications in digital computing.

Uploaded by

packingvmware
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views2 pages

DE Assignment 1

The document outlines an assignment for a Digital System & Engineering course, consisting of various questions related to computer number representation, base conversions, weighted codes, and binary arithmetic. It includes tasks such as determining the range of integers for 8-bit signed numbers, converting numbers between different bases, and performing binary subtraction using 1's and 2's complement methods. The assignment emphasizes understanding of numerical systems and their applications in digital computing.

Uploaded by

packingvmware
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Digital System & Engineering

Assignment #1
 Both the copier and the provider will get 0 point.

1. A computer has a word length of 8-bits (including sign). If 2’s


complement is used to represent negative numbers, what range of
integers can be stored in the computer? If 1’s complement is used?
(Explain your answers in decimal)

2. Answer the questions.

(a) Convert to base 3 : 375.548

(b) Convert to base 4 : 384.7410

(c) Convert to base 9 : A52.A411

3. Convert 0.36363636…..10 to its exact equivalent base 8 number.


4. Answer the questions.

(a) It is possible to have negative weights in a weighted code for the decimal
digits, e.g., 8, 4, -2, and -1 can be used. Construct a table for this weighted
codes.

(b) If d is a decimal digit in this code,, how can the code for 9 – d be
obtained?

5. Because A –B = A + (-B), the subtraction of signed numbers can be


accomplished by adding the complement. Subtract each of the following
pairs of 5-bit binary numbers by adding the complement of the
subtrahend to the minuend. Indicate when an overflow occurs. Assume
that negative numbers are represented in 1’s complement. Then repeat
using 2’s complement.

(a) 01001 (b) 11010 (c) 10110 (d) 11011 (e) 11100

-11010 -11001 -01101 -00111 -10101

-------- --------- --------- -------- ---------

<The End of the Assignment>

You might also like