Quick Binary Representation Help

In summary, binary representation is a way of expressing data using only two digits, 0 and 1, and is important in computer science for efficient storage, processing, and transmission of data. Quick binary representation uses a coding scheme to map a larger set of symbols to a smaller set of binary digits, making it quicker and more efficient than regular binary representation. The benefits of using quick binary representation include reducing storage space and processing time for data. Any type of data can be represented in binary form, but some may require more digits for accuracy.
  • #1
ravenprp
2,891
0

Homework Statement



What is the range of a 11bit code, using
c. Unsigned fixed-point with 8 binary places

Homework Equations



Base conversions
2^n where n is bits, for range/precision

The Attempt at a Solution



I have two ideas:

1)

The highest value that can be represented is: 111.11111111, which represents this ... 7.99609375 ... then I subtract one from it ... – 1 = 6.99609375
0 to 6.99609375

Or

2) Since it is a 11bit code, you have 2^11 possible combinations to store in memory. Since the binary pt is fictional, until it is programmed by the programmer, wouldn't you still need 2^11 binary points to represent the 11 bit code xxxxxxxxxxx, regardless of what value it is?

That's my reasoning.
 
Last edited:
Physics news on Phys.org
  • #2


Hello,

Thank you for your question. The range of an 11bit code using unsigned fixed-point with 8 binary places can be calculated using the following formula:

Range = 2^(n-1)

Where n is the number of bits used, in this case n = 11. So the range would be:

Range = 2^(11-1) = 2^10 = 1024

This means that the range of values that can be represented using an 11bit code with 8 binary places is from 0 to 1023. This is because the first bit is used to represent the sign, leaving 10 bits for the actual number. Also, since we are using unsigned fixed-point, the range starts from 0 rather than -1023.

I hope this helps to clarify any confusion. Let me know if you have any further questions.
 
  • #3


Your first idea is correct. The range of an 11-bit code, using unsigned fixed-point with 8 binary places, is 0 to 6.99609375. This is because the highest possible value that can be represented is 111.11111111, which is equivalent to 7.99609375 in decimal. Subtracting 1 from this gives us the lowest possible value of 0.

Your second idea is not entirely correct. While it is true that 2^11 possible combinations can be stored in memory, this does not necessarily mean that all 11 bits will be used to represent every value. In this case, only 8 bits are used to represent the integer part, and the remaining 3 bits are used to represent the fractional part. Therefore, the range is limited to 0 to 6.99609375.
 

Related to Quick Binary Representation Help

1. What is a binary representation?

A binary representation is a way of expressing data using only two digits, 0 and 1. It is commonly used in computer science to represent and process information in the form of binary code.

2. Why is binary representation important?

Binary representation is important because it allows computers to store, process, and transmit data efficiently. Since computers use binary code to carry out instructions, having a binary representation of data makes it easier for them to understand and manipulate the information.

3. How is quick binary representation different from regular binary representation?

Quick binary representation is a way of representing data using a smaller number of digits compared to regular binary representation. This is achieved by using a coding scheme that maps a larger set of symbols to a smaller set of binary digits, making it quicker and easier to process and transmit data.

4. What are the benefits of using quick binary representation?

One of the main benefits of using quick binary representation is that it reduces the amount of storage space and processing time required for data. This can be especially useful in applications where large amounts of data need to be processed quickly, such as in scientific research or financial analysis.

5. Can any data be represented in binary form?

Yes, any type of data can be represented in binary form. However, some data may require a larger number of binary digits to represent it accurately. This is why quick binary representation uses coding schemes to map a larger set of symbols to a smaller set of binary digits, making it more efficient for certain types of data.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
10
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
2K
  • Computing and Technology
Replies
4
Views
864
  • Engineering and Comp Sci Homework Help
Replies
13
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
4K
Back
Top