How are computers programmed so that they understand different programming languages?

796 views

How are computers programmed so that they understand different programming languages?

In: 9

11 Answers

Anonymous 0 Comments

Two ways:

* Either you write a program in a language it already understands, and your program runs programs in the new language
* Or you write a program in a language it already understands, to convert programs that are written in your new language, into a language the computer already understands
* If you do the second one you have the option of writing your converter program so it runs on a different type of computer
* Computers are already wired to understand one language, which is called machine code. Each type of computer understands a different language but we call all of them machine code.

You are viewing 1 out of 11 answers, click here to view all answers.