answersLogoWhite

0


Best Answer

Binary number 1110101 equates to octal number 165.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What octal value is equal to binary number 001 110 101?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why are these octal codes used instead of decimal system?

Octal codes are often used to write the numerical value of a binary number because it is easier to convert from binary to octal, instead of binary to decimal. You can convert to octal on sight, and it simply requires grouping the binary bits into groups of three, whereas converting to decimal requires repeated division by 10102 or 1010. Actually, grouping into three bits is the same as dividing by 1002 or 810 so the process is really the same. Divide by 8 to get octal. Divide by 10 to get decimal.


How do you write a C program to convert a binary value to its octal equivalent?

To convert from binary to octal, bitwise AND the binary value with 0x8 (00000111 in binary) and push the value onto a stack. Right-shift (>>) the binary value by 3 bits and repeat until the binary value is zero. Pop the stack to build the left-to-right digits of the octal value. Using 10110100 as an example: 10110100 & 00000111 = 00000100 10110100 >> 3 = 00010110 00010110 & 00000111 = 00000110 00010110 >> 3 = 00000010 00000010 & 00000111 = 00000010 00000010 >> 3 = 00000000 Popping the values in order reveals 00000010, 00000110 and 00000100 (decimal 2, 6 and 4 respectively). Thus 10110100 binary is 0264 octal.


What is the decimal value of the binary number 1001?

1001 in binary is equal to 9 in decimal.


What is the value for hex value 20?

20 hex = 32 decimal or 100000 binary or 40 octal.


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(); } }


What numerical value in hexadecimal is equivalent to the binary number 1101111010101101?

1101111010101101 in binary is equal to DEAD in hexadecimal.


How convert octal to binary?

If necessary, pad the value with zeroes so the number of bits is an exact multiple of 3. Then divide the binary value into groups of 3 bits. Convert each group to its corresponding octal digit as follows: Bin = Oct 000 = 0 001 = 1 010 = 2 011 = 3 100 = 4 101 = 5 110 = 6 111 = 7 Example 1: 16-bit value: 1011101101100011 3-bit groupings: (00)1 011 101 101 100 011 Octal digits: 1 3 5 4 3 Octal value: 13543 Example 2: 24-bit value: 010111011010010101011010 3-bit groupings: 010 111 011 010 010 101 011 010 Octal digits: 2 7 3 2 2 5 3 2 Octal value: 27322532


Example on how to convert binary to octal?

Break the Binary number into 3 bit sections from the LSB to the MSB(Right hand site). Then convert the 3 bit binary number to its octal equivalent(Multiply each 3 bit to 2^0 to 2^2). E.g. If the binary value is 1010111110110010 then 001 would be 1, 010 would be 2, 111 would be 7, 110 would be 6, 010 would be 2, etc.


What are the values of each bit contributing to the value of the number in octal number system?

Each octal digit is represented exactly by 3 bits: 0 = 000 1 = 001 2 = 010 3 = 011 4 = 100 5 = 101 6 = 110 7 = 111 Using the normal binary representation of the number. With a string of octal digits, each digit is the next 3 bits, for example the octal number 04751 is: 04751 = 000 100 111 101 001 in binary The spaces are for ease of reading, showing each octal digit in binary; without any spacing it becomes: 000100111101001 By changing the spacing to: 000 1001 1110 1001 means it can be easily read in hexadecimal as 0x09e9.


Conversion of binary to octal?

Binary is a base 2 number system, while octal is base 8. This happens to make conversion between binary and octal fairly trivial, although more complex than conversion to hexadecimal. To convert to octal from binary, take each three bits, starting from the least significant bit, and convert them to their octal equivalent. Examples: 25510 = 111111112 = 11 111 111 = 3778 17410 = 101011102 = 10 101 110 = 2568 You can repeat this process for as many bits as you need. A 24-bit number should translate into 8 octal numbers, for reference.


What is the base 5 value of the number 46?

The value doesn't change. In base-5, you'd have to write it as '141', but you, the decimal guy, the binary guy, and the octal guy would each still have the same number of beans in your respective pockets.


Write a program that prints a table of the binary octal and hexadecimal equivalents of the decimal numbers in the range 1 through to 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(); } }