• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/19

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

19 Cards in this Set

  • Front
  • Back

What is a Low Level Language?

Machine language - the 1st generation. Machine code executes directly without translation

Give an example of a Low Level Language (2nd generation).

Assembly code - the 2nd generation. Written in assembly language mnemonics. E.g. ADD and LDA

What is an example of High Level Languages (3rd generation)?

Languages such as ALGOL, COBOL, Pascal and Java

What does imperative HLL mean?

It means that the instructions are executed in a programmer-defined sequence

What are the issues with assembly code?

It is laborious to write and hard to debug

When is assembly code used?

When a program must execute as fast as possible and when it needs to occupy as little space as possible

What are the features/advantages of HLL?

Easier to learn/write/understand/debug/maintain. It uses English-like keywords and it is machine-independent

What is a program translator?

It translates code the programmer writes (source code) into a form (i.e. machine code) the computer can execute (object code)

What is a compiler?

It translates the whole high level language source code into object code which can later be executed

Object code can be saved on disk and run without being recompiled. True or False?

True

User requires a compiler for a program translator. True or False?

False. It does not require one

What is an interpreter?

It translates and executes each statement one line at a time, no object code is stored and each statement has to be translated each time it is used

What is an assembler?

It translates an assembly code program into machine code for execution

What are the advantages of a compiler?

Object code can be saved and run whenever required without further need of a compiler, object code executes faster than interpreted code, object code can be distributed or executed without having a compiler present and object code is more secure

What are Fourth Generation Languages?

Declarative languages are a type of 4GL, this would be something such as Prolog

What are Declarative languages well suited to?

Programming expert systems and the processing of natural language

Declarative languages don't define how to solve a problem, instead they focus on what?

Defining facts and rules associated with a particular problem

The order in which the rules and facts are stated is not important. True or False?

True

What does executing a declarative program involve?

Stating a goal to be achieved and allowing the system to determine whether the goal can be achieve with the given facts and rule