paper 2 section 10 Flashcards

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

Translators

A

Convert high-level code into machine code to enable code to be run

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

draw an or gate

A

DRAW NOW

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

DRAW NOT GATE

A

DRAW

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

Interpreter - Disadvantages

A

Source code is needed for it to execute
For code to be transported to another machine, it needs to have an interpreter installed

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

Interpreter - Advantages

A

Translates one line at a time - easier to debug
Can be developed in stages, no long compilation time

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

Interpreter

A

Translates source code 1 line at a time

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

Integrated Development Environment - Translator

A

Can used compiler or interpreter to convert high-level code into machine code so it can be run

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

Integrated Development Environment - Run-time Environment

A

Emulates CPU within IDE
Enables program to be run without compiling every time
Checks for run-time errors and other testing can be carried out

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

Integrated Development Environment - Error Diagnostics

A

Highlights syntax errors in code as you type or after translation

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

Integrated Development Environment - Editor

A

Allows programmers to write/edit code
Syntax completion functions offer to complete code/suggest commands
Keywords can be colour coded

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

Integrated Development Environment
software

A

Software used to enter and edit source code
Several tools included that are useful to programmers

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

High-level Language

A

Has a syntax that resembles English language
Understandable by humans
Has to be translated into machine code before it can run

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

Compiler - Disadvantages

A

Reports bugs at the end, which may be less efficient for developers
Initial compilation can be slow

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

Compiler - Advantages

A

Doesn’t need to be translated every time code is run
Runs quicker once compiled

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

Compiler

A

Translates program all at once
Reports errors at the end
Produces .exe file of object code

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

Assembly Language

A

Low-level language
Used to control specific hardware components
Uses mnemonics to represent machine code

17
Q

DRAW AN AND GATE

A

DRAW