2.5 Languages and IDEs Flashcards

1
Q

Why does the computer needs to translate the high-level code before it is executed?

A

Converts it into machine code (binary) because the processor can only understand machine code.

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

Does a compiler or an interpreter translate the code in one go?

A

Compiler

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

Which translator creates an executable?

A

Compiler

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

Which translator stops when it finds an error?

A

Interpreter

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

Which translator reports an error at the end?

A

Compiler

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

True or false? An interpreter translates the code in one go.

A

False

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

True or false? A compiler translate the code line-by-line.

A

False

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

True or false? A compiler translates the code in one go.

A

True

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

True or false? An interpreter executes line-by-line.

A

True

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

True or false? A compiler reports an error at the end.

A

True

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

What are the four tools of IDEs?

A

Editor
Error diagnostics
Run-time environment
Translator

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