answersLogoWhite

0


Best Answer

10011101:

Decimal = 157

Hexadecimal = 9D

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the decimal and hexadecimal equivalents of the binary number 10011101?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Other Math

Convert hexadecimal 4F7B in to binary and decimal?

4F7B: Binary = 100111101111011 Decimal = 20347


What is the decimal and hexadecimal equivalent of the binary number 10101010?

Decimal: 170Hex: AA


What is the common property of decimal octal binary and hexadecimal?

1


Convert the hexadecimal number 221122 into binary octal and decimal?

221122: Binary = 1000100001000100100010 Octal = 10410442 Decimal = 2232610


Write a program that prints a table of the binary, octal and hexadecimal equivalents of the decimal numbers in the range 1 through 256?

import java.util.Scanner; public class NumberSystem { public void displayConversion() { Scanner input = new Scanner(System.in); System.out.printf("%-20s%-20s%-20s%-20s\n", "Decimal", "Binary", "Octal", "Hexadecimal"); for ( int i = 1; i <= 256; i++ ) { String binary = Integer.toBinaryString(i); String octal = Integer.toOctalString(i); String hexadecimal = Integer.toHexString(i); System.out.format("%-20d%-20s%-20s%-20s\n", i, binary, octal, hexadecimal); } } // returns a string representation of the decimal number in binary public String toBinaryString( int dec ) { String binary = " "; while (dec >= 1 ) { int value = dec % 2; binary = value + binary; dec /= 2; } return binary; } //returns a string representation of the number in octal public String toOctalString( int dec ) { String octal = " "; while ( dec >= 1 ) { int value = dec % 8; octal = value + octal; dec /= 8; } return octal; } public String toHexString( int dec ) { String hexadecimal = " "; while ( dec >= 1 ) { int value = dec % 16; switch (value) { case 10: hexadecimal = "A" + hexadecimal; break; case 11: hexadecimal = "B" + hexadecimal; break; case 12: hexadecimal = "C" + hexadecimal; break; case 13: hexadecimal = "D" + hexadecimal; break; case 14: hexadecimal = "E" + hexadecimal; break; case 15: hexadecimal = "F" + hexadecimal; break; default: hexadecimal = value + hexadecimal; break; } dec /= 16; } return hexadecimal; } public static void main( String args[]) { NumberSystem apps = new NumberSystem(); apps.displayConversion(); } }

Related questions

What is the decimal equivalent of the 8-bit binary number 10011101?

-10011093


Convert hexadecimal 4F7B in to binary and decimal?

4F7B: Binary = 100111101111011 Decimal = 20347


What is decimal binary ocfal and hexadecimal systems?

Decimal is base 10. Binary is base 2. Octal is base 8. Hexadecimal is base 16.


Why is Hexadecimal used?

It is used because it is easier to convert to and from binary to hexadecimal than decimal, and it uses less characters than binary. For instance: decimal: 65535 hex: FFFF binary: 1111111111111111


What is the hexadecimal for 11111011010?

If the above is decimal then in hexadecimal it is 2964492C2. If it is binary then in hexadecimal it is 7DA. If it is octal then in hexadecimal it is 49241208.


What is the decimal and hexadecimal equivalent of the binary number 10101010?

Decimal: 170Hex: AA


What is the ascii code in binary and decimal for a period?

In hexadecimal, that would be 0x2E, which is equivalent to 46 in decimal, which in binary is 101110.


What is the common property of decimal octal binary and hexadecimal?

1


Convert the hexadecimal number 221122 into binary octal and decimal?

221122: Binary = 1000100001000100100010 Octal = 10410442 Decimal = 2232610


What is the decimal for the binary number 10101010101011?

10,923 decimal 2AAB Hexadecimal 25,253 Octadecimal


What is the hexadecimal equivalent of the binary number 1111 1111?

111111 in binary is 255 in decimal which is FF in hexadecimal (i.e. 15 units and 15 16s)


What is the binary valu of 157?

157 as a binary number is 10011011