answersLogoWhite

0


Best Answer

No and Yes...

No because as such the two numbers are different and convention will define what the bit pattern should represent.

However, with 16 bits, the UNSIGNED bit pattern for 32768 is the same as the SIGNED pattern for -32768 BUT the two numbers are being represented in different ways (ie in different number systems).

If the binary representation is a SIGNED number then the top bit will be set if it is negative and with 16 bits the possible range of numbers is -32768 to +32767 and so it is IMPOSSIBLE to represent +32768.

With an UNSIGNED number of 16 bits the top bit has no such special meaning and the range possible is 0 to +65535, so it is IMPOSSIBLE to represent -32768.

ie it is IMPOSSIBLE with 16 bits to represent -32768 and +32768 in the same number system as they have the same bit pattern, BUT in different number systems the bit pattern can be used to represent the two numbers as the different number systems cannot represent BOTH -32678 and +32768.

User Avatar

Wiki User

6y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

6y ago

No. The whole IDEA of such a code is that there is no ambiguity.

This answer is:
User Avatar

User Avatar

Wiki User

6y ago

No, it cannot.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can a positive number have the same binary code as a negative number?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Difference in 1's and 2's Complement?

1's Complement, has two different codes for the number 0 (+0 & -0), negative numbers are the simple binary complement of positive numbers, is symmetrical (same number of negative and positive numbers can be represented), adder/subtractor must implement wraparound carry from MSB to LSB to get correct answer2's Complement, has only one code for the number 0 (+0), negative numbers are 1 greater than the simple binary complement of positive numbers, is asymmetrical (one extra negative number than positive numbers), adder/subtractor is identical to a simple unsigned binary adder/subtractor without any special carry circuits needed


What is the number 47 as a binary number?

47 in binary code is 00010111.


What is 10001110101 in binary code mean?

Actually, that answer is incorrect. Binary is used to hold information. However, without a context, the information can only be translated as a number. There are two types of binary integers (ironic, right?). The first type is called unsigned. The second type is called signed. If you have an unsigned binary integer, the number can only be positive. If you have a signed binary integer, the first number indicates the sign of the number (and ONLY the sign. A position cannot mean both a value AND positive or negative). A '0' in front means positive, and a '1' in front means negative. So, if the number in question was an unsigned integer, it would have a value of 1024 + 64 + 32 + 16 + 4 + 1 = 1141. If the number in question was a signed integer, it would have a value of (-1)*(64 + 32 + 16 + 4 + 1) = -117.


Why is BCD code called a weighted code?

A: A Binary code represent a binary number 0.1.2.4.8. etc. that is why it is called a weighted number


Which binary code strings represents the number 5?

The number 5 in binary is 101


How would you write the number two in binary code?

'2' Decimal code => '10' Binary code.


How can you change the number 47 in Binary Code Decimal?

The number 47 in binary would be 101111


What is the application of excess 3 code?

It is a way to represent values with a balanced number of positive and negative numbers. The primary advantage of XS-3 coding over BCD coding is that a decimal number can be nines' complemented (for subtraction) as easily as a binary number can be ones' complemented; just invert all bits.


Which number would you find in a binary code?

The numbers used in the binary number system are 1 and 0


What is the Fibonacci code used for?

In mathematics, Fibonacci coding is a universal code which encodes positive integers into binary code words


What does the date of October 10th 2010 equal in binary code and what is the significance of that number?

Ten in binary code is 1010 so 10/10/10 in binary is 101010101010


What is the binary code for the decimal number 67?

1000011