+ 5
By which system the code is read?
I really don't know about this.
12 Answers
+ 4
Basically what 'read the code' is the CPU, in compiled programming languages, like C, C++, haskell, visualbasic, etc a compiler is in charge of transforming that code into machine code, also called opcode, so the cpu can then make the operations dictated by it
With interpreted languages like javascript, php, perl, python etc, an executable called the interpreter translate the code to instructions the cpu can read now the syntax can be in any human language say English, Chinese, Spanish or French but at the end the code must be translated into opcode so the cpu can understand the instructions given to it
+ 4
Code is read by humans on an editor or IDE. It is either interpreted line by line by an interpreter or compiled into machine code or bytecode which is further executed by the processor or interpreted by a virtual machine.
+ 3
Naphiz K
Can you please provide additional context for your question? How did this question arise?
+ 3
Like binary?
https://en.wikipedia.org/wiki/Binary_code
+ 3
Thanks everyone to give their instruct. I will find.
+ 3
Yes, typically many layers of languages are used.
+ 2
2112 - decimal
+ 2
What is the sense of this question? Supposing than you want know a which numeric base belong the number , it can belong to any numeric system above that in base 2 (3,4,5, and so on).
+ 2
Coding theory
https://en.wikipedia.org/wiki/Coding_theory
+ 2
But a machine haven't sense to read a value such "red".
Therefore it have an another code to detect it.
+ 2
Janning that's a good idea. The codes can change a long binary code on play ground and then run. But you have to also think about difference of languages and transforming of code.
+ 1
Or do you want to know how your code is processed by SoloLearn?