• 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/17

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;

17 Cards in this Set

  • Front
  • Back
  • 3rd side (hint)
What are 3rd generation languages?
Sequential / imperative languages, the programmer must give a step by step solution to the problem.
Example: BASIC, C, C++, Pascal
What is a fourth generation programming language?
A declarative language with a knowledge base, facts and rules.
Example: SQL
What are the key features of a low level language? (5/6 correct or fail)
• Lacks portability / Designed specifically for certain computers
• Machine orientated
• Uses mnemonics for instructions
• and variable names for addresses
• Uses labels
• One to one correspondence between language and machine code.
Example: Assembly
What is a class? (Object Orientated Programming)
A template (or blueprint) that contains methods and attributes.
What is encapsulation? (Object Orientated Programming)
Where objects can only be accessed through their methods, indirectly.
What is the definition of an object? (Object Orientated Programming)
An instantiation of a class.
What is polymorphism?
When a class derived from the super-class changes or adds methods and attributes.
What is the definition of a procedural language/program?
Step by step instructions to 'explain' how to solve a problem.
• 3rd Generation
What is the definition of a declarative language/program?
• State what to achieve without giving detailed steps.
• Uses facts and rules.
• 4th Generation
What is a parameter?
• A variable that is supplied to a function/procedure.
• Passed by VALUE (actual data)
• or by REFERENCE (variable name containing the data)
Example:
Call TempConversion(20)
What is an argument?
• A variable declared within a function or procedure.
• Parameters are passed to arguments.
Example:
Function TempConversion(Temperature as Integer)
What are the key points of top down design? (5/6 correct or fail)
• Successively break tasks into simpler tasks, until tasks can be programmed.
• Clear program structure.
• Easier to write programs as a series of modules.
• Identify common or standard modules.
• Tasks can be shared between many programmers according to their expertise.
• Much easier to debug.
What is the definition of a procedure or function?
A subroutine that performs a specific task...
• ...is given an identifier...
• ...and can be used as a program instruction.
What is a global variable?
A variable that can be used throughout the entire program including all procedures.
What is a local variable?
• A variable that is restricted to one procedure.
• Therefore the same variable name may be used in a different procedures.
What are the main problems with global variables?
• Difficult to trace errors...
• ...due to conflicts or changes of value in shared modular programs.
What is the accumulator?
• Temporary storage in the ALU...
• ...which holds data being processed.
• Deals with the input and output of the processor.