answersLogoWhite

0


Best Answer

There are many different ways this can be done using binary form:

  • signed magnitude, one bit is the sign (i.e. 0=+, 1=-) and the other bits are the magnitude of the number (this is analogous to how we write negative integers on paper)
  • ones complement, invert every bit of the magnitude of a number to get its negative form
  • twos complement, invert every bit of the magnitude of a number then add one to get its negative form (most computers now use this form as the arithmetic circuits to do calculations in this form are simpler and thus less expensive than for the other two.

There are also corresponding ways this can be done using decimal forms (e.g. BCD, 2 of 5, excess-3)

  • signed magnitude, one bit or digit is the sign (i.e. 0=+, 9=-) and the other digits are the magnitude of the number (this is analogous to how we write negative integers on paper)
  • nines complement, subtract every digit of the magnitude of the number from 9 to get its negative form
  • tens complement, subtract every digit of the magnitude of the number from 9 then add one to get its negative form
User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can you represent a negative integer in a computer system?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the definition of an integer in computer science?

An integer is a datatype which represents every positive and negative natural number. Additionally it can represent zero, but no decimal numbers. However, the actual size of the integer my be limited by the operating system.


How do you represent a negative Miller index?

The Miller index is a notation system for lattice structure in crystallography. By convention, a negative number isn't represented the same way as a negative integer in math (like "-3" for instance.) Instead, the negative sign simply goes above the integer, as a small bar.


What is -15 in the real number system?

A negative integer


Why binary numbers are used in engineering activities?

The binary number system (base 2) is the basis for computer math and operations. Computer circuitry can represent two states (On/Off, Positive Voltage/Negative Voltage, Magnetized North/Magnetized South, etc). Any engineering which deals with the internal workings of a computer, or transmitting data to/from a computer would need to represent the data in binary (base 2) number system.


Which number system is used to represent the smallest unit of information in a computer system?

Bit


What does a 1 and a 0 represent in a computer?

The 1 and 0 are the binary system that computers were built on. They represent the turning on and off of electrical signals that pass information through a computer.


What is the basic numbering system that a computer uses to represent How is it used?

The binary digits. 10 = 2


Computer number system?

A computer system is a system of one or more computers and associated software with common storage


How do you write negative one in Roman numerals?

In Roman numerals, negative numbers are not represented. The Roman numeral system was not designed to include negative numbers; it primarily represents positive integers. If you need to represent a value less than zero, you would need to use another numeral system, such as the Arabic numeral system used today.


How do you reset a car computer or anti-theft system?

To reset the computer in a car disconnect the negative battery terminal until you her a click ( it will be about 5 mins), then it is done.


How can I find the biggest integer my computer can handle using PHP?

You may use the following code to see how far you can push your computer via storing integers; the biggest integer allowed in PHP actually depends on the system PHP is running on, and how big of an integer it allows in its memory. It's advised that, if you really want to do this, that you turn off PHP output limiting, so then you don't get an exhaustion error. <?php for ($i = 0; TRUE; $i++) { echo $i; } ?>


You are trying to find out what outdoor space the almshouse you live in had years ago any suggestion where you can find?

Negative of computer system on society.