Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

[ 1 2 marks ] For this question, assume you working with 1 0 - bit sequences using two's complement representation for integers. Show your

[12 marks] For this question, assume you working with 10-bit sequences using two's
complement representation for integers.
Show your work for all calculations. You may directly convert to and from positive
decimal integer values and bit sequences representing binary numbers. For
example, you may go directly from 1510 to 0000001111 without showing any
additional steps.
For questions that require calculations where the arguments are bit sequences
the answers must be bit sequences. The work of your solutions may not convert
the values to decimal numbers. You may do those conversions yourself to check
your answers.
Clearly indicate any calculation with a result that causes an overflow.
(a) What is the bit sequence that represents the decimal integer -375?
(b) What is the decimal value of 1101010011?
(c) What is the sum of the bit sequences: 1000101001+1000011011?
(d) What is the sum of the bit sequences: 0101101001+0110101011?
(e) What is the sum of the bit sequences: 1101100101+1111101011?
(f) What is the difference of the bit sequences: 0001010010-0101100100?
(g) What is the difference of the bit sequences: 0101101001-1000011010?
image text in transcribed

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2014 Nancy France September 15 19 2014 Proceedings Part 2 Lnai 8725

Authors: Toon Calders ,Floriana Esposito ,Eyke Hullermeier ,Rosa Meo

2014th Edition

3662448505, 978-3662448502

More Books

Students also viewed these Databases questions