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

Problem: Convert the following binary number to decimal. 1. 110101.101 Problem: Convert the following decimal number...
Problem: Convert the following binary number to decimal. 1. 110101.101 Problem: Convert the following decimal number to fractional binary representation. 1. 103.5625
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 fraction decimal number 14/13 to acorrectly rounded binary number with 8 digits.
convert fraction decimal number 14/13 to acorrectly rounded binary number with 8 digits.
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) {...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT