things i do not understand in coding? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

things i do not understand in coding?

when you write codes, an interpreter or compiler turns it into machine codes for the processor to work with, since the processor understands only machine codes. now, how does the cpu give us output for this codes we have written, aren't we supposed to be seeing just 0s and 1s since the cpu only understand and speaks 0s and 1s? why are we seeing readable text? and lastly, why is the code or text editor responsible for displaying this outputs

17th Apr 2019, 7:59 AM
Ifeanyi Hillz
Ifeanyi Hillz - avatar
1 Answer
0
When machine code is run, it goes to processor, and basically comes back to the machine code for the 0s and 1s to be interpreted as text. There's some function deep in there that says 'convert these 0s and 1s into readable text. I don't understand your last question.
17th Apr 2019, 8:03 AM
Sam Stoltenberg
Sam Stoltenberg - avatar