Sei sulla pagina 1di 5

Analysis, Design and Implementation

9 August 2018

Examination Paper
Answer ALL questions.

Clearly cross out surplus answers.

Time: 3 hours

The maximum mark for this paper is 100.

Any reference material brought into the examination room must be


handed to the invigilator before the start of the examination.
Answer ALL questions

Marks
Question 1

a) Explain what is meant by the problem domain and how it relates to project 6
scope. Support your answer with ONE (1) example.

b) ‘Design techniques are all about communication’. Explain this statement and 4
provide your view as to its validity.

Total 10 Marks

Question 2

a) Outline the four key phases involved in object-oriented analysis and design and 8
give an example of ONE (1) diagram used for each of these steps.

b) Define the term iteration and explain why it is so important in the object-oriented 2
analysis and design process.

Total: 10 Marks

Question 3

a) Explain the difference between an ‘attribute’ and an ‘operation’. Provide an 4


example of each.

b) Explain the purpose of dynamic modelling within the object-oriented analysis 6


and design process. Give an example of TWO (2) diagrams that reflect dynamic
elements of a system.

Total: 10 Marks

Page 2 of 5
Analysis, Design and Implementation © NCC Education Limited 2018
Marks
Question 4

a) OOAD is a powerful tool for analysing and designing software products. Explain 6
how it works and provide TWO (2) benefits and TWO (2) drawbacks of the
approach.

b) Explain the role of a use-case diagram and outline where it places the focus in a 4
user-centric system.

Total: 10 Marks

Question 5

a) Explain what is meant by the term encapsulation and explain how it helps 4
ensure reusability in software systems.

b) Explain what is meant by the static view of a software system and give TWO (2) 6
examples of diagrams that explore this part of the system. Support your answer
with justifications.

Total: 10 Marks

Question 6

a) Outline how the process of Natural Language Analysis (NLA) is used to generate 6
class diagrams in an OOAD system.

b) A piece of software must generate large numbers of similar objects but the 4
developer does not want the memory overhead of storing individual instances of
each. Name and explain the design pattern most suitable for addressing this
design goal.

Total: 10 Marks

Page 3 of 5
Analysis, Design and Implementation © NCC Education Limited 2018
Marks
Question 7

a) Give TWO (2) benefits and TWO (2) drawbacks of using design patterns in an 4
Object Oriented Program.

b) Consider the terms architectural measure and project measure. Explain what 6
each of these is, and how you would decide in which of these categories a
relevant software measure may be located.

Total: 10 Marks

Question 8

a) ‘Refactoring is a specialised case of maintenance’. Discuss this statement and 6


provide your view as to its validity.

b) Consider a situation where a useful refactoring in a program will increase the 4


coupling in a program. Explain what this means and explain the considerations
that must be taken into account when making a change of this nature.

Total: 10 Marks

Page 4 of 5
Analysis, Design and Implementation © NCC Education Limited 2018
Marks
Question 9

a) Consider the class definition below. Outline THREE (3) possible refactorings that 6
could be sensibly performed and discuss the associated impact of change for
each.

public class Picture {


protected String filename;
private String photographer;

public Picture (File f) {


filename = f.getAbsolutePath();
}

Public String getPhotographerSurname() {


return singer.Split (“ “)[1];
}

Public File loadFile() {


File f = new File (filename);

Return f;
}
}

b) Explain what is meant by the term corrective maintenance and give TWO (2) 4
examples of tasks that would fall within this category of activity.

Total: 10 Marks

Question 10

a) Explain the term ‘impact of change’ and outline its relevance to the standard 6
visibility modifiers discussed during the course of the module.

b) Explain what is meant by ‘software component’ and explain the benefits their 4
adoption can bring to an object oriented program.

Total: 10 Marks

End of Examination Paper

Page 5 of 5
Analysis, Design and Implementation © NCC Education Limited 2018

Potrebbero piacerti anche