Translators and Facilities of Languages Flashcards

1
Q

What does a Translator do?

A

Translators converts programming language into machine code.

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

What were all the first Computer written in?

A

Machine Code.

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

How were instructions written?

A

In Binary.

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

What does Assembly language do?

A

Allows a programmer to create programs more easily than writing in machine code.

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

What is assembly language (specific)

A

Processor Specific.

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

Do you translate assembly language before executing.

A

Yes it must be translated.

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

What is Assembly language known as?

A

Low-level language.

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

How are high level languages different to low-level.

A

Generally have statements that represent English.

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

What are some data structures high level languages use?

A

Arrays and Records.

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

What are two program translators?

A

Compilers

Interpreters.

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

What are some advantages of high level languages?

A

Easier to learn
Programs can be written faster
Easier to understand and debug

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

What are some advantages of high level languages?

A

Easier to learn
Programs can be written faster
Easier to understand and debug

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

What are some low level advantages?

A

A program written in a low level language can run very quickly
Code will usually require less RAM
Statements in a low level language can be used to control and manipulate specific hardware components.

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

What do compilers do?

A

Translate high level languages into machine code.

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

What do compilers do?

A

Translate high level languages into machine code.

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

What is the code written by the programmer called?

A

Source code.

17
Q

What is the code produced by the compiler called?

A

Object code.

18
Q

What does an interpreter do?

A

translates a high level language into machine code.

19
Q

What does an interpreter do?

A

translates a high level language into machine code.

20
Q

Is object code produced in interpreters?

A

None is produced.

21
Q

How does a interpreter work?

A

translates each line of code and executes immediately.