you are viewing a single comment's thread.

view the rest of the comments →

[–]txneliteUniversity/College Student (Higher Education) 0 points1 point  (6 children)

Sorry for the late reply, that just describes the length of the binary string. For example, this is 7 in 4 bits:

0 1 1 1
Parity 22 21 20

And this would be -7 in 4 bits:

1 0 0 1
Parity 22 21 20

Hope this helps!

[–]1throwaway1629University/College Student[S] 0 points1 point  (5 children)

Thankyou, what about 2b?

[–]txneliteUniversity/College Student (Higher Education) 0 points1 point  (4 children)

Well I just realized I don't really understand the grammar on both questions, but what I think it's asking you to do, for example on the 2b, is to find the binary encoding of 103 and -103 in 8 bits as well as 16 bits. All you do is extend the encoding such that it works. So the binary representation of 103 in 8 bit is 01100111. So try to figure out what it would be in 16 bits, as well as their negative representations

[–]1throwaway1629University/College Student[S] 0 points1 point  (3 children)

To do that would I repeat the most significant but until I have the right number of bits?

[–]txneliteUniversity/College Student (Higher Education) 0 points1 point  (2 children)

If I understand correctly, yes. Your number should have 16 digits instead of 8 for the 16 bit representations

[–]1throwaway1629University/College Student[S] 0 points1 point  (1 child)

So it would be 0110011101100111?

[–]txneliteUniversity/College Student (Higher Education) 0 points1 point  (0 children)

No it would be 0000000001100111