2.5 Programming Languages and IDEs Flashcards

1
Q

IDE

A

Integrated Development Environment

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

Examples of IDE

A

IDLE, Eclipse, Netbeans

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

Functions of IDEs

A
  • To provide debugging tools for finding logic errors.
  • Preventing and illustrating logic errors
  • Providing a run time environment
  • Providing usability functions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Debugging Tools

A
  • Breakpoints
  • Stepping through lines of code individually to check which are executing.
  • Tracing through a program to output the values of variables.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Preventing and identifying logic errors

A
  • Illustrating keyword syntax and auto-completing command entry.
  • Error highlighting
  • Compiler produces output of error message.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Providing a Run-time Environment

A
  • Output window
  • Simulating different devices the program can run on.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Usability Functions

A
  • Navigation, showing/hiding bits of code
  • Formatting source code
  • Find and replace
  • Comment or indent regions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

High Level Languages

A

A computer programming language used to write programs. They need to be translated into machine code through a compiler, interpreter or assembler.

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

Examples of High Level Languages

A

Python, Java, C++, JavaScript, Visual Basic

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

Low Level Languages

A

A computer programming language which closely represents machine language

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

Machine Code

A

Code that represents how CPUs understand instructions, represented by binary or hexadecimal numbers.

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

Advantages of Machine Code

A
  • Programmers have more freedom with what to do with the program as they aren’t limited by words.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Disadvantages of Machine Code

A
  • Difficult to write in, read and debug.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Assembly Language

A

Uses mnemonics to form instructions.
Translated by an assembler into machine code.

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

The Purpose of Translators

A

To convert code written in a high level language or assembly language, into binary machine code for execution.

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

Types of Translators

A
  • Compilers
  • Interpreters
  • Assemblers
17
Q

Compilers

A

A type of translator that translates the whole code before running it.

18
Q

Advantages of Compilers

A
  • No need for translation software at runtime
  • Speed of execution is faster
  • Code is usually optimised
  • Original source code kept secret
19
Q

Disadvantages of Compilers

A
  • Program won’t run with syntax errors, more difficult to write code.
  • Code must be recompiled when code is changed.
  • Designed for specific processor
20
Q

Interpreters

A

A type of translator that translates code line by line.

21
Q

Advantages of Interpreters

A
  • Code will run and stop when syntax error occurs, easy to write
  • Code does not need to be recompiled
  • Easy for beginners
22
Q

Disadvantages of Interpreters

A
  • Translation software needed at run time
  • Speed of execution is slower
  • Code is not optimised
  • Source code is needed