Q: Read the following topic then explain what do you understand from it.
If a program is not directly written in binary code, it must be converted to binary (machine code).
Two methods to convert to machine code:
1. Compiler: converts entire program to an executable file.
2. Interpreters: translate one line of the program into machine code, execute that line of code, and proceed to the next line in the program. Interpreter is slower than the compiler but it help programmers to easily correct errors in their program as it get translated line by line.