Can code run hardware or hardware can run code ( viceversa) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can code run hardware or hardware can run code ( viceversa)

does code is convert to information of 0 and 1 digit

13th Dec 2017, 11:48 AM
Amol
Amol - avatar
2 Answers
+ 1
Computers only know 0s and 1s. I'm not 100% sure I understand your question. Hardware is the physical machine that is processing electrical signals sent at different intervals (signal connection = 1, no connection = 0). Computers do this INSANELY, mind-bogglingly fast. So yes, all code is broken down into several lower level languages (assembly, machine, etc.) and eventually into binary (plain old 0s and 1s) which your hardware can actually use. This obviously means that hardware runs code but technically if you have multiple machines you can use the code on one to run the hardware on another (turn it on / off, etc.). Hopefully that's roughly along the lines of what you were looking for.
15th Dec 2017, 2:55 PM
Vendelisk
+ 1
Thanks for your answer. I appreciate your answer somewhat atmost.
15th Dec 2017, 4:13 PM
Amol
Amol - avatar