2.5 Programming languages and IDEs Flashcards

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

What is low level language

A

Written in assembly language
Hard to understand
Are restrictions
E.g. machine code(binary)

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

What is high level language

A

Written with words
Easy to understand
Aren’t restrictions
E.g. python

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

What are the benefits of low level language

A

Require less memory when translated
Create code that can be executed faster
Allows total control of code

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

What are the benefits of high level language

A

Easy to modify as it uses English like statements
Faster to write code as it uses English like statements
Portable code - can be used on multiple machines

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

What do assemblers do and its advantages and disadvantages

A

Only used for low level languages so translates the code into machine code

Simple translation process

Very specific

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

What do interpreters do and its advantages and disadvantages

A

Translates code one line at a time. If an error is found it stops

Errors will be reported as soon as they are encountered

May take a long time to translate as all code being translated into an executable file

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

What do compilers do and its advantages and disadvantages

A

Translates all the code at once into an executable file

Compiled programs can be distributed as machine code, meaning that the source code is hidden and can be kept secret for commercial reasons

You have to wait until the entire program is compiled before receiving any errors, which for a large program may take some time

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

What are the tools that an IDE use

A

Editors - auto complete, keyword highlighting, line numbering
Error diagnostics - break point adds a pause to your program to stop the flow of execution at a place which allows you to trace the value of a variable
Run time environment - software that allows a program to run on a computer, even if it is not designed to run on it
Translators - interpreter, compiler, assembler

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