HSC Stuff > HSC Information Processes and Technology

IPT Question Thread + Useful Info

<< < (5/13) > >>

BPunjabi:

--- Quote from: Hua Fei on October 09, 2016, 06:34:06 pm ---How to convert decimal to binary (I think that's your question?):
For example, how is 72 represented as a binary?
Answer: 1001000 (working out in the picture attached)

Hope this answered your question!

--- End quote ---

LoL bro, I know how to do binary ahahah and you screwed up your method.. its 0-1-2-4-8-16-32-64-128
I mean a question that says like pick the wrong message. Shows different codes. Its either odd even and you have to pick which code it is

aimbotted:
hes talking about parity bits, which are 001011 0 with the parity set to odd or even.

BPunjabi:

--- Quote from: aimbotted on October 09, 2016, 07:04:47 pm ---hes talking about parity bits, which are 001011 0 with the parity set to odd or even.

--- End quote ---

Yep :P

Hua Fei:

--- Quote from: aimbotted on October 09, 2016, 07:04:47 pm ---hes talking about parity bits, which are 001011 0 with the parity set to odd or even.

--- End quote ---


--- Quote from: BPunjabi on October 09, 2016, 07:26:06 pm ---Yep :P

--- End quote ---

Ah, right.
Well then,
For parity checks, you choose to transmit the data with an odd parity bit or an even one.

E.g. the binary to be transmitted is 0110101 and you choose odd parity. Choosing odd parity means that the number of 1's must be odd - if it's not, then you make it odd by making the parity bit 1. However, if it is, then the parity bit would be 0 in order to leave the number of 1's odd.
In this case, the number of 1's in the binary are 4. We have chosen odd parity hence the parity bit has to be 1 to make the number of 1's odd. As a result, the transmitting data would read as: 0110101 1

On the other hand, if even parity was chosen, the parity bit would be zero and the data to be transmitted would read as: 0110101 0

Hope this helped!

Hua Fei:

--- Quote from: BPunjabi on October 09, 2016, 06:49:30 pm ---LoL bro, I know how to do binary ahahah and you screwed up your method.. its 0-1-2-4-8-16-32-64-128
I mean a question that says like pick the wrong message. Shows different codes. Its either odd even and you have to pick which code it is

--- End quote ---
Note: the "0-1-2-4-8-16-32-64-128" method is only used for converting binary to decimal not decimal to binary. I did the method where you convert decimal to binary (i.e. 72 is converted to 1001000)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version