Joseph Stevens
Quiz by , created more than 1 year ago

F453 unit 6

227
0
0
Joseph Stevens
Created by Joseph Stevens about 9 years ago
Close

F453 Programming paradigms

Question 1 of 8

1

What are the key features of a low level language?

Select one of the following:

  • 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.

Explanation

Question 2 of 8

1

Explain the features of procedural languages?

Select one of the following:

  • 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.

Explanation

Question 3 of 8

1

What is object orientated language?

Select one of the following:

  • 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

Explanation

Question 4 of 8

1

Data encapsulation is when data is enclosed within a function that relates to another method.

Select one of the following:

  • True

  • False

Explanation

Question 5 of 8

1

Which of these best describes a class in programming.

Select one of the following:

  • 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.

Explanation

Question 6 of 8

1

Is an object an instance of a class, such as a real world entity or a variable.

Select one of the following:

  • True

  • False

Explanation

Question 7 of 8

1

Does a declarative language show how the outcomes of a program are achieved.

Select one of the following:

  • True

  • False

Explanation

Question 8 of 8

1

Why is unified modelling language used?

Select one of the following:

  • 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.

Explanation