Translators and Interpretors Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is a compiler?

A
  • Translate HLL/source code into machine code
  • Will attempt to translate source code into machine code all at once
  • If it succeeds, it will create object code or if it fails, generate an error report without running lines of code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a Interpreter?

A
  • Translates HLL/source code into machine code
  • It will translate and execute one line at a time
  • If error is found, the program will stop and only continue once all errors have been resolved
  • No object code is produced
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an Assembler?

A
  • Converts assembly code into machine code
  • Similar to compiler, it will attempt to translate the whole program all at once
  • If it succeeds, it will create object code, if it fails, it will generate an error report without running any lines of codes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Assembly language uses a set of _________ to represent each opcode

A

mnemonics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly