2.5 Programming languages and IDEs Flashcards

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

Low level languages

A

Machine code and assembly languages
-binary or mnemonics to represent instructions
-hardware dependant

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

High level languages

A

Python, Java, etc
-use english-like keywords
-hardware independent

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

Translators

A

Used to convert programming code into machine code for the computer to process
-assemblers
-compilers
-interpreters

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

Assemblers

A

Translate low level assembly code into machine code

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

Compilers

A

Translates an entire high level program into executable machine code in one go, runs it afterwards
-produces an executable file
-once compiled, code does not need to be translated again
-can distribute the executable so user does not need to see the source file
-compiled code runs very quickly

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

Interpreters

A

Translate high level programs to machine code line by line in real time
-translates one line into machine code, runs it, repeat for the next line
-does not produce an executable file
-needs to be translated every time the program is run
-user needs the source code and interpreter to run the program
-interpreted code generally runs more slowly

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

IDE

A

Integrated Development Environment - comprehensive set of tools to develop programs

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

Common features of an IDE

A

-editor
-error diagnostics - debugging
-step by step progression - watch contents of different variables
-build feature - compiles and links with other needed parts of the program
-version control - revert back to last version
-run time environment - allow programmer to run the code, see the output from the IDE itself
-translator - compiler, interpreter

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