2.5 programming languages and IDES Flashcards

(11 cards)

1
Q

low level languages

A

-machine code/assembly language
-binary or mnemonics to represent instructions
-hardware dependant
-one specific type of computer only
-refers directly to hardware so programmers must understand the processor
-can be run directly by processor

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

high level languages

A

-source code
-english keywords
-hardware independant
-must be translated into machine code before running
-takes alot of CPU power and storage

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

translators

A

converts high level programming code into machine code

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

compilers

A

-translates every line into machine code and runs it afterwards
-produce an executable file (object code)
-can be run again without recompiling
-can be distributed without users seeing the source code
-compiled code runs quickly
-wont run if there is an error

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

interpreters

A

-translates one line of code and runs that line, repeating this
-does not produce object code
-must retranslate to run again
-slower to run
-runs until error found
-not optimised

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

integrated development environment (IDE)

A

-provides all tools that a programmer needs to write and test code e.g. idle
-editor, error diagnostics, runtime environment, translators

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

editor tool

A

-enter/modify code
-pretty printing (colours)
-auto suggestion
-auto indentation

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

error diagnostics

A

-to find and fix errors
-breakpoints stop program at specific point
-stepping runs each line one at a time from a given point
-variable contents checked

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

runtime environment

A

-allows code to be run from the IDE
-output can be seen without additional programs
-may involve the use of a virtual machine

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

what is color depth and sample depth

A

-number of bits used to represent each pixel’s color
-number of bits used to record each sample

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

file size formula

A

resolution x color depth

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