Join StudyUp.com Today

It's always free and anyone can join!

Watch StudyUp Demo Video Now

You Recently Visited

Binary Arithmetic

Lewis Said:

Binary Arithmetic?

We Answered:

A. (Making assumption here that only dealing with positive numbers and that 'represented by x bits' means x is the maximum storable.)
10100 + 11001 = 101101 without consideration of storage.
A1. Since only 5 bits storable, the high order bit is lost, resulting in 01101 or 13 in decimal.
A2. No high-order overflow, so result is the entire number or 45 in decimal.
B. Not entirely sure on this one, as been quite a while since I dealt with 2's complement. However, pretty sure in 2's comp a high-order bit indicates a negative value, so looks like another overflow situation - I think the result is either 1010001 or 1000101.

Priscilla Said:

How can I perform the following calculations in binary arithmetic:?

We Answered:

On Windows Start > All Programs > Accessories > Calculator > View > Scientific.
Now select Bin

Ramon Said:

How is 2's complement useful when doing binary arithmetic?

We Answered:

It simplifies the circuitry inside a computer. Most computers are 2's complement machines nowadays, so it can be useful to know about it for certain types of computer programming. You will never need to do 2's complement arithmetic by hand in the real world, though.

Update: I lied. Floating point numbers are usually sign-magnitude on modern hardware, integers are 2's complement.

Gail Said:

Polynomial + binary arithmetic expert please help?

We Answered:

Hi,

Try these websites:

http://www.repairfaq.org/filipg/LINK/F_c…

http://en.wikipedia.org/wiki/Finite_fiel…

http://www.ee.unb.ca/cgi-bin/tervo/facto… <==Polynomial factoring tool using binary numbers

I hope they are of help to you!! :-)

Lance Said:

binary arithmetic?

We Answered:

Windows has a calculator, just boot it up and change view to scientific, then select BIN i believe it is, and punch it in!

10100010 is the answer, BTW...

Yvonne Said:

Which one of the following expresses the decimal number 74 in binary arithmetic? And why please?

We Answered:

(Not that I'm a big proponent of answering exam questions directly, but...)

1. Launch Windows Calculator (Programs > Accessories > Calculator, or Start > Run > calc.exe).
2. Change View to Scientific mode (View > Scientific).
3. Ensure the the "Dec" radio button is selected.
4. Enter 74.
5. Click the "Bin" radio button.
6. See that "1001010" or option "d" is your answer.
7. Rinse and repeat.

Theodore Said:

2's complement binary arithmetic?

We Answered:

here an idea (i use "..." to preserve formatting)

first convert the number to binary, ex (-57)

10100000 (-57)
..........10 (add 2 for 2's complement)
-------------------
10100010 (result)

hope this helps

Discuss It!