Chapter 4 Software: Unit 4.2: Types of Programming Language, translators and IDEs Flashcards

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

Describe high-level language

A

Easier to understand than low-level language
Read and understand as the language used is closer to English
Write in shorter time
Debug at the development stage
Maintain once in use

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

Describe low-level language

A

Can refer to machine code, binary instructions that a computer understands, or assembly language that needs to be translated into machine code

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

What are the advantages of high-level language?

A

Independent of the type of computer being used
Easier to read, write and understand programs
Quicker to write programs
Programs are easier and quicker to debug
Easier to maintain programs in useW

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

What are the disadvantages of high-level language?

A

Programs can be larger
Programs can take longer to execute
Programs may not be able make use of special hardware

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

What are the advantages of low-level language?

A

Can make use of special hardware
Includes special machine-dependent instructions
Can write code that doesn’t take up much space in primary memory
Can write code that performs a task very quickly

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

What are the disadvantages of low-level language?

A

Longer time to write and debug programs
Programs are more difficult to understand

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

Define compiler

A

A compiler is a computer program that translates an entire program written in a high-level language (HLL) into machine code all in one go so that it can be directly used by a computer to perform a required task
Once a program is compiled the machine code can be used again to perform the same task without re compilation.
If errors are detected, then an error report is produced instead of a compiled program

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

Define interpreter

A

An interpreter is a computer program that reads a statement from a program written in a high-level language, translates it, performs the action specified and then does the same with the next statement and so on.
If there is an error, the execution ceases and an error message is output, sometimes with a suggested correction.
A program needs to be interpreted again each time it is run.

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

Define assembler

A

An assembler is a computer program that translates a program written in an assembly language into machine code so that it can be directly used by a computer to perform a required task.
Once a program is assembled the machine code can be used again and again to perform the same task without re-assembly.

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

What are the advantages of an interpreter?

A

Easier and quicker to debug and test programs during development
Easier to edit programs during development

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

What are the disadvantages of an interpreter?

A

Programs cannot be run without the interpreter
Programs can take longer to execute

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

What are the advantages of a compiler?

A

A compiled program can be stored ready for use
A compiled program can be executed without the compiler
A compiled program takes up less space in memory when it is executed
A compiled program is executed in a shorter time

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

What are the disadvantages of a compiler?

A

It takes a longer time to write, test and debug programs during development

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

Define IDE

A

Integrated Development Environment
Used by programmers to aid the writing and development of programs.
There are many different IDEs available; some support one programming language, others can be used for several different programming languages.

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

What features does an IDE have?

A

Code editors
Translator
Runtime environment with a debugger
Error diagnostics
Auto-completion
Auto-correction
An auto-documenter and prettyprinting

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