Question

In: Computer Science

Any integer can be represented in binary, octal, decimal, and hexadecimal. What are the limits on...

Any integer can be represented in binary, octal, decimal, and hexadecimal. What are the limits on representing integers using unary or only having the 1 digit?

Solutions

Expert Solution

It is true that any integer can be represented in binary, octal, decimal, and hexadecimal.

For Eg- In binary 110 can represent 6, In Hecadecimal 32 can be represented by 20,etc

The limits on representing integers using unary or only having the 1 digit:-

  1. We will need significantly more number of digits to represent a number.Eg. 6 can be represented by 110 in binary, but in unary we will have two use six 1s "111111".
  2. It will be slower to compute using unary system, as more digits are needed to be calculated.
  3. Unary system will be more expensive than other systems, due to large number of digits.
  4. Ambiguity in representing zero. 0 is currently represented by an empty string. But in registers extra mechanisms might be needed to represent empty string.
  5. Empty string is itself a character. By using both empty string and 1 for representation. The unary system is not truly unary i.e. it uses 2 characters. So this is an ongoing debate in the scientific community whether "unary systems exist or not?".

Related Solutions

What is (567.12) octal in binary. What is(5CF.AD) hexadecimal in binary. Please show work so I...
What is (567.12) octal in binary. What is(5CF.AD) hexadecimal in binary. Please show work so I can understand how to solve thanks.
1) What are the hexadecimal, and octal equivalents for the unsigned binary value 0111 0000 1101?...
1) What are the hexadecimal, and octal equivalents for the unsigned binary value 0111 0000 1101? (note the spaces in the binary are for readability (like a comma in a decimal value; there is only a single 12 bit binary value) PLEASE EXPLAIN IT IN DETAIL
Write an application that prints a table of the binary and octal equivalent of the decimal...
Write an application that prints a table of the binary and octal equivalent of the decimal numbers in the range 1 through 256. **Write in JAVA**
Convert the following to Octal, hexadecimal and binary (long method (multiply and Divide by methods)) 2647.95...
Convert the following to Octal, hexadecimal and binary (long method (multiply and Divide by methods)) 2647.95 (10)
Program that does conversions (i.e. decimal to hexadecimal, binary to decimal) but needs to have a...
Program that does conversions (i.e. decimal to hexadecimal, binary to decimal) but needs to have a drop down menu to give you the option to choose with conversion you want to go from and convert into (JOptionPane). Cannot use the conversion tool that is built-in Java. Need to use equations or some sort. Please include comments on what is happening to understand.
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
write a python code to Determine the binary and decimal representations of the following hexadecimal numbers....
write a python code to Determine the binary and decimal representations of the following hexadecimal numbers. Store answers in the appropriate variables in the .py file. (a) 0xfca1 (b) 0xc4d8
Write a program in C++ that converts decimal numbers to binary, hexadecimal, and BCD. You are...
Write a program in C++ that converts decimal numbers to binary, hexadecimal, and BCD. You are not allowed to use library functions for conversion. The output should look exactly as follows: DECIMAL      BINARY                     HEXDECIMAL                      BCD 0                      0000 0000                   00                                            0000 0000 0000 1                      0000 0001                   01                                            0000 0000 0001 2                      0000 0010                   02                                            0000 0000 0010 .                       .                                   .                                               . .                       .                                   .                                               . 255                  1111 1111                   FF                                            0010 0101 0101
Convert the following to Octal, hexadecimal and binary (long method(multiply and Divide by methods)) a.1364.367(10) b.1568.246(10)...
Convert the following to Octal, hexadecimal and binary (long method(multiply and Divide by methods)) a.1364.367(10) b.1568.246(10) c.846.578(10) d.245.86(10) e.2647.95(10)
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)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT