0% found this document useful (0 votes)
2 views

Assignment1

The document outlines Assignment 1 for COEN 212 - Digital Systems Design I, due on September 20th, 2024. It includes various tasks related to number systems, conversions, and arithmetic operations in different bases, along with specific submission instructions. Students are required to show all solution steps and submit their work in PDF format through Moodle, adhering to naming conventions and including an originality form.

Uploaded by

lord4ethan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Assignment1

The document outlines Assignment 1 for COEN 212 - Digital Systems Design I, due on September 20th, 2024. It includes various tasks related to number systems, conversions, and arithmetic operations in different bases, along with specific submission instructions. Students are required to show all solution steps and submit their work in PDF format through Moodle, adhering to naming conventions and including an originality form.

Uploaded by

lord4ethan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

COEN 212 - Digital Systems Design I - FALL 2024

Assignment 1 – Number systems, radix complements, and computer codes


Deadline: Friday September 20th, 2024 at 11:59 pm

Submission instructions:
- Please show all solution steps for each question. Note that only stating the final answers would not
result in any mark.
- Please convert your assignment to pdf format and submit it through Moodle.
- It is recommended that you state each question followed by its solution, so that you can ensure that
the marker won’t skip any of your solutions.
- Please anticipate any technical difficulties and submit your assignment way before the deadline.
- Don’t forget to write your name, student ID, course name, and course code on your submitted file.
- Don’t forget to name your submitted file as follows: yourLastName_studentID_assignment#
- Please append your signed “Expectations of Originality” form with your submission.

1- Convert the following numbers with the indicated bases to decimal: (8 points)
a) (2765)8
b) (1ED.48)16
c) (111001.01101)2
d) (CEAB.84)16
2- Convert the following unsigned binary numbers to hexadecimal, octal, and decimal. (8 points)
a) 11101.10110
b) 11001.01001
c) 1.100110
d) 110.0101

3- Perform the following arithmetic operations in the given radix (8 points)


a) (5760.7)8 + (4072.6)8
b) (B025.A)16 + (49CF.9)16
c) (5760.2)8 - (4072.5)8
d) (B025.4)16 - (49CF.E)16

4- What is the maximum value that can be expressed with 16 bits. What are its equivalent decimal,
octal, and hexadecimal numbers? (2 points)

5- Do the following conversion problems:


(a) Convert decimal 117.125 to binary. (2 points)
(b) Convert the octal number 36.72 to decimal, then convert the decimal result to
hexadecimal? (2 points)
(c) Convert the octal number 36.72 to binary, then convert the binary result to hexadecimal.
Is the answer the same as in b)? (2 points)

6- What is the decimal number equivalent to the following signed binary numbers? (8 points)
a) 10100101 b) 10100010 c) 11111111 d) 10000011
e) 01110111 f) 00000001 g) 01000000 h) 01001000

7- Find 1’s and 2’s complement of the signed binary numbers in question 6 above. Then, find the
decimal number equivalent to these complemented signed binary numbers. (10 points)
COEN 212 - Digital Systems Design I - FALL 2024
8- Find 9’s complement and 10’s complement of the following numbers? (4 points)
a) 25478036 b) 63325600 c) 72813640 d) 34567890

9- Perform subtraction on the given unsigned numbers using 2’s complement of the subtrahend.
Where the result is negative, find its 2’s complement and affix a minus sign. (6 points)
a) 10011 – 10010 b) 101000 – 10101

10- Perform the following conversions:


a) The decimal 8549 to BCD code and excess-3 code (2 points).
b) The hexadecimal FABEEBAF.CDE to binary and octal (4 points).
c) The octal 67543210.04 to binary and hexadecimal (4 points).

11- Perform the following operations in 2’s complement using the minimum possible number of
bits. Show your solution steps in detail. (24 points)
a) -12 – 8 b) +102 – 113 c) +5 + -7 d) -11 – 3
e) -5 – 15 f) -1 – 21 g) -128 – 256 h) +126 – 127

12- Evaluate the following 8-bit signed binary number 10101101 in its equivalent decimal, if it is
written in: (6 points)
a) Signed-magnitude b) 1’s complement c) 2’s complement

You might also like