+ 4

Not really a programming question but a technical question. Why do computers read binary and how? Part 1

for a better understanding of the question why do computers only read binary and how do they process the 1s and 0s into words? I think I know how compilers work, I think they read the programming language and turns it into binary and then the computer reads the 1s and 0s and sends out the gives out the answer that the code told the computer to do. why does it only use binary and not 2s and 3s? if I changed the symbols of 1 and 0 would it mess up and if yes why? https://www.sololearn.com/discuss/303809/?ref=

8th Apr 2017, 11:02 PM
Daniel
Daniel - avatar
15 Antworten
+ 19
Because at the hardware level, what is read is a voltage HIGH (1) or a voltage LOW (0). It's just a matter of translating electric current into binary.
8th Apr 2017, 11:06 PM
Karl T.
Karl T. - avatar
+ 12
That would be a ternary number system - you could but it's not as efficient as a binary system.
8th Apr 2017, 11:29 PM
Karl T.
Karl T. - avatar
+ 10
Sure but what would be the point?
8th Apr 2017, 11:10 PM
Karl T.
Karl T. - avatar
+ 8
Think of it as a switch, it's either on (1) or off (0). In other words, it's either true (1) or false (0) The magic of it all consists of ELECTRICITY VOLTAGE, and the magicians are the TRANSISTORS. Check out this Ted-Ed short video: https://youtu.be/WhNyURBiJcU It is beautifully explained 😊 This one's good too: https://youtu.be/AkFi90lZmXA
9th Apr 2017, 2:08 AM
Pao
Pao - avatar
+ 5
well google would probably be a better source
8th Apr 2017, 11:06 PM
Edward
+ 1
can it only read high and low voltage? can it read medium voltage?
8th Apr 2017, 11:08 PM
Daniel
Daniel - avatar
+ 1
the point is could it read binary with a two eg 1 was none 2 was medium and 0 was high
8th Apr 2017, 11:19 PM
Daniel
Daniel - avatar
+ 1
I can't believe I made this a three parter
8th Apr 2017, 11:20 PM
Daniel
Daniel - avatar
+ 1
I wish questions didn't have a cap for words.
8th Apr 2017, 11:27 PM
Daniel
Daniel - avatar
+ 1
why would it not be as good as a binary system?
8th Apr 2017, 11:30 PM
Daniel
Daniel - avatar
+ 1
I think that answers all questions.
8th Apr 2017, 11:35 PM
Daniel
Daniel - avatar
+ 1
@Paola Thanks for Ted-Ed tipp. wonderfull.
9th Apr 2017, 12:17 PM
Benedek Máté Tóth
Benedek Máté Tóth - avatar