Question

In: Computer Science

1.The binary bit pattern 10011. Please give the number for this pattern represent in each of...

1.The binary bit pattern 10011. Please give the number for this pattern represent in each of the following: ones complement integer, twos complement integer, unsigned integer, sign-magnitude integer, and fixed point factional number. (Please note that there will be two bits to the left of the binary points and three bits to the right)

Solutions

Expert Solution

Integer or Number representation in the computer system:

We can use three-way to represent a number in the computer system or binary system:

  1. Signed Magnitude Representation
  2. One's complement Representation
  3. Two's complement Representation

In the computer system for a positive number, all representation has the same format but negative number representation is different.

By default, a negative number is stored in 2's complement form in the computer system.

a) Signed magnitude Representation

In Signed Magnitude Representation, the first bit is used as a sign bit and all other bits are used to store the data.

b) One's complement Representation

In one's complement representation, a positive number is stored as it is but a negative number is stored in one's complement form.

c) Two's complement Representation

In two's complement representation, a positive number is stored as it is but a negative number is stored in two's complement form.

The given binary number is:  10011

The number in ones complement integer is = -12

The number in ones complement integer is = -13

The value of the unsigned integer is = 19

The value in sign-magnitude integer is = -3

The value in the fixed-point fractional number is = 2.3


Related Solutions

the speed of light in centimeters is 2.99 x 10^10. Give the bit pattern to represent...
the speed of light in centimeters is 2.99 x 10^10. Give the bit pattern to represent this number as a double-precision floating point value according to the IEEE standard. (Hint: You might want to convert it first to a binary number and then wangle it into floating point)
A four-bit binary number is represented as A3A2A1A0, where A3, A2, A1, and A0 represent the...
A four-bit binary number is represented as A3A2A1A0, where A3, A2, A1, and A0 represent the individual bits and A0 is equal to the LSB. Design a logic circuit that will produce a HIGH output whenever the binary number is greater than 0010 and less than 1000. how can I do this by using sum of product, not K map
The binary number system uses just two digits (0 and 1) to represent any counting number....
The binary number system uses just two digits (0 and 1) to represent any counting number. Match each of the familiar 'base-10' numbers below with their 8-digit binary equivalents. Group of answer choices 7       [ Choose ]            00001111            01000001            00001101            00001000       8       [ Choose ]            00001111            01000001            00001101            00001000   ...
represent the decimal number 101 and 6 as floating point binary numbers please show your work...
represent the decimal number 101 and 6 as floating point binary numbers please show your work and explained, I have a test.
1. Assuming three-bit exponent field and four-bit significand, what is the bit pattern for -8.75?
1. Assuming three-bit exponent field and four-bit significand, what is the bit pattern for -8.75?
Multiply the following 16 bit signed binary number together Provide a 32bit signed binary answer 0000...
Multiply the following 16 bit signed binary number together Provide a 32bit signed binary answer 0000 0001 0001 0001 1111 1111 1000 0000
The number –11.375 (decimal) represented as a 32-bit floating-point binary number according to the IEEE 754...
The number –11.375 (decimal) represented as a 32-bit floating-point binary number according to the IEEE 754 standard is
Design a Decoder Circuit that can convert a 4-bit Binary Number to a Hexadecimal Output.
Design a Decoder Circuit that can convert a 4-bit Binary Number to a Hexadecimal Output.
I am trying to create bit masks to create a new binary number with the original...
I am trying to create bit masks to create a new binary number with the original bits' orders turned around, and concataneted. For example, int test=0b01100010001010001001(20 bits) now, I need bit masking to make it: int result = 20th bit, 10-1 bits, 11th bit, 19-12 bits, in this order. So in this case, answer would be: 0(20th bit)10100010(10-1 bits)0(11th bit)1011000100(19-12 bits). Im trying to do something like int res |= test & 0x7F800; res |= test& 0x400; Can't seem to...
1. Give the binary equivalent of the decimal number of 11.77 (assume fixed point, no more...
1. Give the binary equivalent of the decimal number of 11.77 (assume fixed point, no more than 6 bits left and right of the decimal point)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT