Describe the function of a compiler and an interpreter.

What will be an ideal response?

Each programming language uses a piece of software, called a compiler or an interpreter, to translate your program code into machine language. Machine language is also called binary language, and is represented as a series of 0s and 1s. The compiler or interpreter that translates your code tells you if any programming language component has been used incorrectly. Syntax errors are relatively easy to locate and correct because the compiler or interpreter you use highlights every syntax error. If you write a computer program using a language such as C++ but spell one of its words incorrectly or reverse the proper order of two words, the software lets you know that it found a mistake by displaying an error message as soon as you try to translate the program.

Computer Science & Information Technology

You might also like to view...

The Spell Check often flags proper names, even though they are spelled correctly

Indicate whether the statement is true or false

Computer Science & Information Technology

List some human physiological or psychological factors that can influence human operator performance.

What will be an ideal response?

Computer Science & Information Technology