C10 Flashcards

1
Q

Define machine code

A

A unique instruction set of binary instructions which the cpu can only understand

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

Assembly

A

A easier version of machine code for humans to understand which uses mnemonics.

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

What is an assembler

A

A program that converts assembly language into machine code

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

Examples of a low-level language

A

Assembly, C,

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

Define compiler

A

Reads the whole code and converts it into a single executable file.

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

Advantages of a compiler

A

Good for finished products.
Fast to run.
No one can see the source code

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

Define interpreter

A

Converts code into machine code line by line.

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

Advantages and disadvantages of interpreter

A

Good for program development
Good for catching errors

Not suitable to convert into a final executable file
Takes as long time to run as each line has to be converted each time it is run

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

Define high level programming language

A

Code in an English like structure
E.g. Python, Visual Basic,

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

Advantages of high level language

A

Less time consuming to write code
Not necessary to know registers and cpu mnemonics.
Not unique to one computer so can be ported to other machines

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

Advantages of low level programming language

A

Requires less processing power + execution time
Allows us to directly control hardware

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

What is an IDE

A

Integrated development environment.
A suite of tools to help the developer

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

Features of IDE’S (7)

A

Autocompletion
Bracket matching
Auto identation
Auto documentation
Debugging tools
Variable tracing
Run time environments

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

What is a run time environment

A

Tools to support the execution of the program such as:
Graphics interface
Crashes log

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

Define autodocumetation

A

Keeping a tally of all variables in use and their values. Helpful for dry runs

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

What is variable tracing

A

Keeping a tally of all variables in use and their values. Helpful for dry runs