Source Code translators Flashcards

1
Q

What is machine code

A

Machine code is the pure binary form of our source code

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

What are the three types of translators

A

Assembler
Compiler
Interpreter

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

How do we translate low level languages ?

A

Low level languages are written in assembly code and they are translated by using an assembler.
It takes the mnemonics and they translate them into machine code.

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

How can high level languages be translated through an interpreter

A

It takes one line of source code and translate it and then executes it

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

How does a compiler translate high level languages into machine code?

A

Takes the entire source code and translates it if it’s successful into machine code

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