F453 Programming paradigms

Description

F453 unit 6
Joseph Stevens
Quiz by Joseph Stevens, updated more than 1 year ago
Joseph Stevens
Created by Joseph Stevens over 9 years ago
228
0

Resource summary

Question 1

Question
What are the key features of a low level language?
Answer
  • Human language, not readable by processor.
  • Assembly language. Each microprocessor has its own instruction set. Readable by its microprocessor.
  • Just a series of zeros and ones that are readable by processor.
  • Presentation of an intended application in the form of diagrams.

Question 2

Question
Explain the features of procedural languages?
Answer
  • Classes are run at the instance of an object; made up of void methods; makes use of library routines.
  • Core language of world wide web; defines structure and layout of programming languages.
  • Made up of 1s & 0s; related to architecture.
  • Data & code separate; usually modularised; uses the 3 typical constructs (sequence, selection, iteration); programmer specifies order in which instructions are compiled and run.

Question 3

Question
What is object orientated language?
Answer
  • Uses encapsulations; classes may inherit data and methods from other classes; methods may be defined multiple times in the same class.
  • Data & code separate; usually modularised; uses the 3 typical constructs (sequence, selection, iteration); programmer specifies order in which instructions are compiled and run.
  • Uses declarations; shows what properties results should have

Question 4

Question
Data encapsulation is when data is enclosed within a function that relates to another method.
Answer
  • True
  • False

Question 5

Question
Which of these best describes a class in programming.
Answer
  • A group of students studying programming.
  • The level of hierarchy of a programmer based upon their wealth and background.
  • Describes shared attributes & methods, stating the state & behaviour of a set of objects.
  • A subroutine that output multiple values after it has been run.

Question 6

Question
Is an object an instance of a class, such as a real world entity or a variable.
Answer
  • True
  • False

Question 7

Question
Does a declarative language show how the outcomes of a program are achieved.
Answer
  • True
  • False

Question 8

Question
Why is unified modelling language used?
Answer
  • It is a standard way of presenting information to illustrate the design of a system virtually, so it is easy to understand. It allows systems analysts, programmers & clients to communicate when modifying a system.
  • Data & code separate; usually modularised; uses the 3 typical constructs (sequence, selection, iteration); programmer specifies order in which instructions are compiled and run.
  • For neural networks to understand how the mind works.
Show full summary Hide full summary

Similar

A level Computing Quiz
Zacchaeus Snape
Types and Components of Computer Systems
Jess Peason
Input Devices
Jess Peason
Output Devices
Jess Peason
Computing
Kwame Oteng-Adusei
Pack of playing cards answer
Karl Taylor
Code Challenge Flow Chart
Charlotte Hilton
Computing Hardware - CPU and Memory
ollietablet123
Computer Systems
lisawinkler10
Computer science quiz
Ryan Barton
Input, output and storage devices
Mr A Esch