# What is the decimal conversion of the binary number 1111 1111?

255. since number of 1's in "1111 1111" is 8 . we calculate decimal number as 2^8 = 256. starting from 0 to 255 .Hence the last(256th) number is 255.(sheetal)

## General Purpose Answer

In decimal numbers, the digits have values that are powers of ten. Starting at the implied decimal point and working to the left, the number 403 is equal to:3 x 100 + 0 x 101 + 4 x 102 = 3x1 + 0x10 + 4x100 = 3 + 0 + 400

In binary, the digits have values that are powers of two. Working to the left as before, the number 101 is equal to:

1 x 20 + 0 x 21 + 1 x 22 = 1x1 + 0x2+ 1x4 = (in decimal) 1 + 0 + 4 = 5

So, 1111 1111 = 1x1 + 1x2 + 1x4 + 1x8 + 1x16 + 1x32 + 1x64 + 1x128 = 255.

This also works to the right of the decimal point, but the powers of two are negative (i.e., fractions), so 101.011 in binary is:

1x1/8 + 1x1/4 + 0x1/2 + 1x1 + 0x2 + 1x4 = 5.375

Where the first digit to the right of the decimal point is 2-1 (one-half, or 1/2), the next is 2-2 (1/4), then 2-3 (1/8), etc.

Not sure I understand the logic behind the top answer. In this particular case, adding 1 to the original binary you get 1 0000 0000 which is 256, so take away the 1 again to get 255.

### What is the Largest real number that can be stored in binary using 16 bits Where 1 bit is used for the sign 5 bits for the characteristics and 10 for the Mantissa?

In binary the largest number (using IEEE binary16) representable would be: 0111 1111 1111 1111 (grouping the bits in nybbles* for easier reading). This is split as |0|111 11|11 1111 1111| which represents: 0 = sign 111 11 = exponent 11 1111 1111 = mantissa. Using IEEE style, the exponent is offset by 011 11, making the maximum exponent 100 00 This is scientific notation using binary instead of decimal. As such there must be…

### What is the 4 bit binary number equivalent to the hexadecimal symbol c?

0xc = 1100 Hexadecimal digits use exactly 4 binary digits (bits). The 0x0 to 0xf of hexadecimal map to 0000 to 1111 of binary. Thinking of the hexadecimal digits as decimal numbers, ie 0x0 to 0x9 are 0 to 9 and 0xa to 0xf are 10 to 15, helps with the conversion to binary: 0xc is 12 decimal which is 8 + 4 → 1100 in [4 bit] binary.

### What is the 1's complement of 10?

The 1's complement is formed by inverting every binary digit (bit) of the number - if it is a 0 it becomes a 1, otherwise it is a 1 and becomes a 0. If 10 is in base 2, then its 1's compliment is 01 or just 1. If 10 is in base 10, then in binary it is 1010 and its 1's complement is 0101 = 5 in decimal. However, if more bits are…

### What does hexadecimal base 16 convert binary equal?

16 is the 4th power of 2. So a hexadecimal number is converted to binary by replacing each hex digit by the 4-bit binary number having the same value. Conversely, in converting binary to hexadecimal, we group every 4 bits starting at the decimal (binary?) point and replace it with the equivalent hex digit. For example, the hexadecimal number 3F9 in binary is 1111111001, because 3 in binary is 11, F (decimal 15) is 1111…

### How do you convert decimal 6640625 to its hexadecimal?

The way I convert between decimal and hexadecimal is to first convert the decimal number to binary: 664062510 = 110010101010011111100012 Then split the binary number into 16-bit (4 digit) chunks: 0110 0101 0101 0011 1111 00012 Next, convert each chunk into a hexadecimal digit: 0110 0101 0101 0011 1111 00012 6 5 5 3 F 1 Finally, put all the digits together: 664062510 = 6553F116

### Explain binary coded decimal?

BCD uses binary digits as if they were decimal digits. There are two BCD numbers per one 8-bit byte. For example, 23 decimal would be coded as 0010 0011, while in binary (not BDC), it would be 0001 0111. Similarly, 255 in BCD is 0000 0010 0101 0101, while in binary, it would b simply 1111 1111. As you can see, BCD is not as compact as binary, but it does have mathematical and software…

### If you have an IP address 154.16.52.16 and a subnet mask of 255.255.240.0 What are the total number of subnets possible on this network?

The easiest way to do this is to convert your subnet mask, 255.255.240.0 to binary. This subnet is a modified class B network. To find the IP address range To find the IP address range, you need to compare your IP address and Subnet mask in binary. Your subnet mask in binary would be: 1111 1111 . 1111 1111 . 1111 0000 . 0000 0000 For reference, your IP in binary would be: 1001 1010…

### What is the binary code for 64111?

I assume you mean decimal 64,111 You could assemble a table of powers of 2, then use successive subtraction to convert to the binary expansion. I cheated and used the built-in programming calculator on my PC. It says that 64111 (decimal) = FA6F (hexadecimal) This can easily be expanded to binary digit by digit: F=1111 A=1010 6=0110 F=1111 So the final answer is: 1111101001101111 Note that the number 2^16 = 65,536 (which is slightly bigger)…

### What is computer math?

computer maths are the operations of adding or subtracting binary, octal or hexadecimal numbers. These operations are normally carried out while programming in assembly language. A very simple subtraction example: Take a binary number of say 1111 (equivalent to 15 in decimal) minus 0010 (equivalent to 2 in decimal) results in 1101 (equivalent to 13 in decimal).

### How do you convert hexadecimal form to binary form?

Each hexadecimal digit (or nybble) is the equivalent of 4 binary digits (or bits) with a decimal value of 0-15. Convert each nybble into (4) binary (digits) and string them together, remembering the conversion of decimal 0-15 to binary: Hex -> Dec -> Binary 0 -> 00 -> 0000 1 -> 01 -> 0001 2 -> 02 -> 0010 3 -> 03 -> 0011 4 -> 04 -> 0100 5 -> 05 -> 0101 6…

### Why is it so difficult to convert a number from decimal to binary?

I can't say for certain what your specific difficulty is with the process, so I will guess unfamiliarity. There are many fine websites that will perform those calculations automatically. ------------------------------ There is a general method to convert from base 10 to any other base: divide the number by the base to get a whole number quotient and remainder note the remainder replace the number by the quotient if the number is not zero repeat from…

### How do you convert hexa to binary and binary to decimal?

First you decide if you want decimal or binary-coded decimal (BCD). To convert hex to binary you map each hex digit (0-9,a-f) to one of the possible 16 binary representation (0000 to 1111). To convert binary to decimal, you begin with a zero decimal result. Take the ones column of the binary input and add one to the decimal result if the digit is one and skip if it is zero. Then move to the…

### Convert the following number to binary B2Fh?

That looks like hexadecimal. Convert each hex digit to 4 binary digits: B = 1011, 2 = 0010, F = 1111, so the final result is 1011 0010 1111. That looks like hexadecimal. Convert each hex digit to 4 binary digits: B = 1011, 2 = 0010, F = 1111, so the final result is 1011 0010 1111. That looks like hexadecimal. Convert each hex digit to 4 binary digits: B = 1011, 2 =…

### Decimal of 1111 base 2?

Decimal of 1111 base 2 is 10001010111 the algorithms for finding decimal number equivalent of binary is as follow: #include<stdio.h> #include<conio.h> void main() { int i,n,j,b[100]; clrscr(); printf("Enter a Number:"); scanf("%d",&n); i=0; while(n>0) { b[i]=n%2; n=n/2; i++; } printf("\n\nBinary Equivalent:"); j=i-1; for(i=j;j>=0;j--) printf("%d",b[j]); getch(); } using this algorithms... the binary equivalent of any number is taken out...!!! enjoy... have any query... email at :- "devilllcreature@yahoo.com" thank you....!!!

### Explain the bitwise operators available in Java with an example?

Java's bitwise operators operate on individual bits of integer (int and long) values. If an operand is shorter than an int, it is promoted to int before doing the operations. It helps to know how integers are represented in binary. For example the decimal number 3 is represented as 11 in binary and the decimal number 5 is represented as 101 in binary. Negative integers are store in two's complement form. For example, -4 is…

### Decimal number -5 represented as a halfword in Hexadecimal notation is?

Alright, let's forget the - for a while convert 5 to binary. do this: 5/2=2.5 2/2=1 1/2=0,5 than this: 2.5 absolute value=2 1 absolute value=1 0,5 absolute value=0 finally this 2*2=4 and 5-4=1 2*1=2 and 2-2=0 2*0=0 and 1-0=1 <--(last digit) = 101 complete the binary number by placing a 0= 0101. Now as you might know HW = 2 bytes and 1 byte is 8 bits so to to complete you should place 0000…

### What is 1 plus 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111?

1 + 1,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111 = 1,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,112 Unless it is binary, in which case: 1 + 111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 11111 1111 1111 1111 1111 = 1000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000

### How does BCD differ from the straight binary number system?

To consider the difference between straight binary and BCD, the binary numbers need to be split up into 4 binary digits (bits) starting from the units. In 4 bits there are 16 possible values from 0000 to 1111 (0 to 15). In straight binary all of these possible combinations are used, thus: 4 bits can represent the decimal numbers 0-15 8 bits can represent the decimal numbers 0-255 12 bits can represent the decimal numbers…

### How was the octal number system invented?

It was invented just like any other base system that uses place value columns: Each place value column is eight times bigger than the place value column to its right. There is no reason to use the base 10 system other than we normally have 2 thumbs and 8 fingers giving 10 digits on our hands. In fact the Babylonians used sexagesimal (base 60) numbers; their legacy can be seen in the degrees in a…