Question

In: Computer Science

Convert the following binary number to dotted decimal format. 11000000100110010000100101011001

Convert the following binary number to dotted decimal format.

11000000100110010000100101011001

Solutions

Expert Solution

192.153.9.89

Explanation:
-------------
11000000.10011001.00001001.01011001
Let's convert all octets to decimal separately
Converting 11000000 to decimal
Converting 11000000 to decimal
11000000
=> 1x2^7+1x2^6+0x2^5+0x2^4+0x2^3+0x2^2+0x2^1+0x2^0
=> 1x128+1x64+0x32+0x16+0x8+0x4+0x2+0x1
=> 128+64+0+0+0+0+0+0
=> 192
11000000 in decimal is 192

Converting 10011001 to decimal
Converting 10011001 to decimal
10011001
=> 1x2^7+0x2^6+0x2^5+1x2^4+1x2^3+0x2^2+0x2^1+1x2^0
=> 1x128+0x64+0x32+1x16+1x8+0x4+0x2+1x1
=> 128+0+0+16+8+0+0+1
=> 153
10011001 in decimal is 153

Converting 00001001 to decimal
Converting 00001001 to decimal
00001001
=> 0x2^7+0x2^6+0x2^5+0x2^4+1x2^3+0x2^2+0x2^1+1x2^0
=> 0x128+0x64+0x32+0x16+1x8+0x4+0x2+1x1
=> 0+0+0+0+8+0+0+1
=> 9
00001001 in decimal is 9

Converting 01011001 to decimal
Converting 01011001 to decimal
01011001
=> 0x2^7+1x2^6+0x2^5+1x2^4+1x2^3+0x2^2+0x2^1+1x2^0
=> 0x128+1x64+0x32+1x16+1x8+0x4+0x2+1x1
=> 0+64+0+16+8+0+0+1
=> 89
01011001 in decimal is 89

====================================================================================
||    11000000.10011001.00001001.01011001 in decimal notation is 192.153.9.89    ||
====================================================================================



Related Solutions

Convert the decimal number, 315.56 into binary form?
Convert the decimal number, 315.56 into binary form?
Convert the following decimal number into (a) binary and (b) Octal (SHOW ALL STEPS) 205.75
Convert the following decimal number into (a) binary and (b) Octal (SHOW ALL STEPS) 205.75
Code in C-language programming description about convert binary number to decimal number.
Code in C-language programming description about convert binary number to decimal number.
With a detailed step-by-step process, convert the following decimal number into binary, Hexadecimal and IEEE 754...
With a detailed step-by-step process, convert the following decimal number into binary, Hexadecimal and IEEE 754 formats : 72.nn ( where nn is 80)
Convert the binary numbers to decimal. Show a single sample calculation for the first number (10010010)....
Convert the binary numbers to decimal. Show a single sample calculation for the first number (10010010). 0111 1111 1001 0110 0101 1100 1100 0111
Write a program to convert the input numbers to another number system. 1. Decimal to Binary...
Write a program to convert the input numbers to another number system. 1. Decimal to Binary 2. Binary to Decimal 3. Hexadecimal to Decimal 4. Decimal to Hexadecimal 5. Binary to Hexadecimal 6. Hexadecimal to Binary The user will type in the input number as following: Binary number : up to 8 bits Hexadecimal number: up to 2 bytes Decimal number: Less than 256 As a result, print out the output after the conversion with their input numbers. The program...
Write a c++ program to convert any decimal number to either binary base  or Hex base...
Write a c++ program to convert any decimal number to either binary base  or Hex base number system. Test your program with the followings: Convert 15 from decimal to binary.  Convert 255 from decimal to binary. Convert BAC4 from hexadecimal to binary Convert DEED from hexadecimal to binary.  Convert 311 from decimal to hexadecimal. Convert your age to hexadecimal.
i need to convert decimal to twos complement binary and then add the binary digits but...
i need to convert decimal to twos complement binary and then add the binary digits but I am unable to do it. I am only allowed to use string, can anyone help me out please. i need the code urgently. #include #include #include #include using namespace std; string reverse(string s) { string x = ""; for (long i = s.length() - 1; i >= 0; i--) { x += s[i]; } return x; } string twosComplementStringsAddition(string A, string B) {...
Convert the following unsigned numbers to the requested form: 01100001 binary to: hex, and also decimal...
Convert the following unsigned numbers to the requested form: 01100001 binary to: hex, and also decimal Hex: Decimal: b) 136 decimal to: hex, and also binary Hex: Binary:
(6 pts) Convert the data representation given below • Convert 10110111 unsigned binary representation, to decimal...
(6 pts) Convert the data representation given below • Convert 10110111 unsigned binary representation, to decimal representation. • Convert 01100000101110000001010111111000 the binary representation to a hexadecimal representation. • Convert 0xBAAADA55 hexadecimal representation, to a binary representation. 2. (8 pts) Complete the following arithmetic operations in two’s complement representation. What are the values of the carry flag and the overflow flag? (Assume a six-bit system) • 31 + 11 • 13 – 15 • (-2) x (-16) • (-15) ÷ 5
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT