Application Generation Flashcards

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

What is a Translator?

A

A Translator is a program that converts one computer language into another.

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

What does an Assembler do?

A

It converts assembly language into machine code

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

Why are Assemblers used? (Benefits)

A
  1. They are often used when programs need to interact very closely with hardware.
  2. It is highly efficient
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When you want to run assembly language on a different type of CPU what do you use?

A

A cross-assembler

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

What is a compiler?

A

A compiler translates high level code into machine code storing the result in an object file.

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

What are the three stages that a compiler must go through?

A
  1. Lexical analysis
  2. Syntax analysis
  3. Code generation
    (LSC)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Lexical Analysis? (COMPILER)

A

Identifies command keywords

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

What is Syntax Analysis? (COMPILER)

A

Checks that the program is written within the rules of the language

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

What is Code Generation?

COMPILER

A

Produces the machine code

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

What is an Interpreter?

A

Translates source code line by line into machine code and is executed immediately

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

What can Interpreters also convert source code into?

A

‘Byte Codes’

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

What is more prone to computer crashing? Compiler or Interpreter

A

Compiler

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

What is faster to run? Compiler or Interpreter

A

Compiler

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

What is easier to reverse engineer? Compiler or Interpreter

A

Interpreter

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

What are easier to debug? Compiler or Interpreter

A

Interpreter

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