Created by Jason Dookarun
over 7 years ago
|
||
Question | Answer |
What is a translator? | It is a program that translates source code into machine code. |
What types of translators can you get? | Compilers, Interpreters and Assemblers |
What is an assembler? | An assembler is responsive for converting low-level assembly language to machine code. This translation is typically a one-to-one relationship. It is converted line by line. |
Cons of Assemblers | Assemblers are designed to function for a specific processor. As a result, this may not function for other processors. |
Compiler & Interpreters | A compiler translates high-level source code into machine code. |
Interpreters | Translates the program line by line from high-level source code into machine code. This is effective when debugging for programmers as the interpreter stops when an error is found. However, it will need access to the enter code. |
Compilers | Compilers take the entire program and first converts it into object code. This would run much faster. If a change is to take place, the source code would need to be updated. |
Want to create your own Flashcards for free with GoConqr? Learn more.