Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task Binary Addition and Subtraction Please answer the following questions, showing all your working out and intermediate steps. For this question, use A=4 and B=7)

Task Binary Addition and Subtraction

Please answer the following questions, showing all your working out and intermediate steps. For this question, use A=4 and B=7)

a) Convert the decimal numbers A and B to 4-bit binary numbers. Show how to add together these two 4-bit binary numbers and state whether the answer is valid to 4-bit arithmetic.

b) Convert the decimal numbers A and B to 5-bit binary numbers. Using twos complement representation, show how to:

i. Subtract the two 5-bit binary numbers (AB)

ii. How to translate the binary result back to decimal. (Note if your solution is negative, you must use 2s complement to show the positive equivalent)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Database Programming With Visual C# .NET

Authors: Ying Bai

1st Edition

0470467274, 978-0470467275

More Books

Students also viewed these Databases questions