2.5 Flashcards

1
Q

High level

A

Python
Closer to English so easier to code and debug and understand
One to many relationship with machine code
Not processor specific so the same code works for many machines
Needs to be translated to machine code to be executed so slower to execute and less efficient

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

Low level

A

Machine code (binary)
Understood and executed by processor
Specific to processor - only written for one machine and can’t work on others
Assembly code (ADD, SUB) - easier to code than machine code
One to one relationship with machine code
Difficult to code and understand
Used for device drivers and embedded systems
Efficient and fast to execute as in control of the CPU

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

What language does the computer only understand

A

Machine code

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

Compiler

A

High level code directly translated to machine code to create an executable file

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

Interpreter

A

Translates and runs 1 instruction at a time, need every time to run the program, returns first error then stops (good for debugging)
Program runs slow as translating at the same time

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

What is an IDE

A

Integrated development environment - software used to help developers create code

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

Compiler

A

Translates all at the same time into one executable file, returns a list of errors once compiling is complete
It takes a long time but after its very quick

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

Features of an IDE

A

Several helpful features
Code editor - where you write code
Error diagnostic and debugging tools
Colour coded code to identify types of code
Auto-complete/correction/indentation
Breakpoints to stop code at certain points
Translator - allows source code to be executed

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