Docsity

Formal Methods - Software Engineering - Exam Paper, Exams of Software Engineering

Toggle sidebar
bg1
Cork Institute of Technology
Bachelor of Science (Honours) in Computer Applications – Award
(Bachelor of Science in Computer Applications – Award)
(NFQ – Level 8)
Autumn 2005
Software Engineering
(Time: 3 Hours)
Instructions
Answer FOUR questions.
All questions carry equal marks.
Examiners: Mr. J. O’Brien
Dr. D. Chambers
Mr. E. A. Parslow
Mr. P. O’Connor
Q1. (a) Cleanroom software engineering is characterised by three principal
technologies, namely:
(i) Incremental development under statistical control;
(ii) Function-based specification, design and verification;
(iii) Statistical testing and software certification.
Write a detailed note on each of the above-identified technologies.
(15 Marks)
(b) Describe the relationship between cleanroom software engineering and the
following practices:
(i) Object-orientation;
(ii) Software reuse;
(iii) Inspections and reviews.
(10 Marks)
Q2. (a) Write a note on each of the following formal methods myths, as
documented in:
“Seven Myths of Formal Methods”, IEEE Software, 1990,
“Seven More Myths of Formal Methods”, IEEE Software, 1995.
(i) Formal methods are unacceptable to users;
(ii) Formal methods increase the cost of development;
(iii) Formal methods replace traditional engineering design methods.
(6 marks)
pf3
pf4
pf5

Partial preview of the text

Download Formal Methods - Software Engineering - Exam Paper and more Exams Software Engineering in PDF only on Docsity!

Cork Institute of Technology

Bachelor of Science (Honours) in Computer Applications – Award

(Bachelor of Science in Computer Applications – Award)

(NFQ – Level 8)

Autumn 2005

Software Engineering

(Time: 3 Hours)

Instructions Answer FOUR questions. All questions carry equal marks.

Examiners: Mr. J. O’Brien Dr. D. Chambers Mr. E. A. Parslow Mr. P. O’Connor

Q1. (a) Cleanroom software engineering is characterised by three principal technologies, namely: (i) Incremental development under statistical control; (ii) Function-based specification, design and verification; (iii) Statistical testing and software certification. Write a detailed note on each of the above-identified technologies. (15 Marks)

(b) Describe the relationship between cleanroom software engineering and the following practices: (i) Object-orientation; (ii) Software reuse; (iii) Inspections and reviews. (10 Marks)

Q2. (a) Write a note on each of the following formal methods myths , as documented in: “Seven Myths of Formal Methods”, IEEE Software, 1990, “Seven More Myths of Formal Methods”, IEEE Software, 1995. (i) Formal methods are unacceptable to users; (ii) Formal methods increase the cost of development; (iii) Formal methods replace traditional engineering design methods. (6 marks)

(b) (i) Given A = {p,q} B = {1,2,3} determine

1. A 2. A∩B 3. {s: A | #s = 1} (3 Marks)

(ii) A car park has parking spaces, each of which can be used to park a car. A company has a group of employees. Some people own cars.

Consider the following: [PLACE] set of all uniquely identifiable parking places. [CAR] set of all uniquely identifiable cars. [PERSON] set of all uniquely identifiable persons.

parked : PLACE CAR employees : (^) PERSON owns : PERSON CAR

Write statements to describe the following:

  1. The cars that are parked.
  2. The people who own the parked cars.
  3. The places that are occupied.
  4. Each employee owns a car. (4 Marks)

(c) Consider the following situation: A student wishes to undertake a modular course of study. The student selects modules from those on offer to create a programme of study. An offered module is either basic or advanced , but not both. Certain offered modules are deemed to be acceptable to field1; others are acceptable to field2. A module may be acceptable to more than one field, or to none. A programme of study is created by adding and/or removing modules A programme of study is considered viable if it fulfils certain conditions. In order to create a viable programme of study, there must be at least 18 offered modules. Of these modules, at least 7 must be advanced and acceptable to (^) field1; at least 7 must be advanced and acceptable to field2. Also, at least 16 of the offered modules must

(i) Write a (^) Z schema, called (^) AddModule , that adds a module to a programme of study. If the module is already in the study programme, the message “alreadyIncluded” is output. If the module is not offered the message “noSuchModule” is output. (ii) Write a Z schema, called RemoveModule , that deletes a module from a programme of study. If the module to be deleted is not in the student’s study programme, the message “notIncluded” is output. (iii) Write a Z schema called Viable , that determines If a student’s study programme is viable. To be viable, the student’s programme must have at least 18 offered modules, at least 7 offered that are advanced and acceptable to field1, at least 7 offered that are advanced and acceptable to field2, and at least 16 offered that are advanced and acceptable to the field combination. (12 marks)

Q3. (a) Reuse affects the way software is developed. Write a detailed note on each of the following process models that incorporates reuse: (i) Software development with reuse; (ii) Software development for reuse. (10 Marks)

(b) “In the context of software reuse, much more than source code can be reused.” Discuss, briefly. (6 Marks)

(c) Write a brief descriptive note on each of the following properties that is considered to be desirable in any software product that could become a reusable artefact: (i) Domain specific; (ii) Generalised form; (iii) Fixed functionality; (iv) Known performance; (v) Well-bounded interface; (vi) Demonstrable quality. (9 Marks)

Q4. (a) “Engineering is the use of principles to find designs that will meet multiple competing objectives, within limited resources and other constraints, under conditions of uncertainty.”

In fields other than software engineering, practice standards can be traced to a body of fundamental scientific and engineering principles that constrain the standards. The codification of software engineering standards is faced with particular challenges. What are these challenges? (6 Marks)

(b) Software development organisations adopting software engineering standards may have significantly different goals. Write a brief note on each of the following organisational goals for adopters of software engineering standards: (i) Improve and evaluate software competency; (ii) Provide framework and terminology for two-party agreements; (iii) Evaluate the products of software engineering activities; (iv) Assure high integrity levels for software. (12 Marks)

(c) Write a detailed note on the American national Standards Institute, ANSI. (7 Marks)

Q5. (a) Write a detailed descriptive note on the topic of client/server computing. Your presentation should address, among other issues, the following: (i) Necessary developer skills; (ii) The steps involved in developing a client/server application; (iii) The use of formal technical reviews and testing. (10 Marks)

(b) Write a detailed note on three-tier architecture for client/server applications. (8 Marks)

(c) Write a brief note on the roles and responsibilities of the following client/server building blocks: (i) Client building block; (ii) Server building block; (iii) Middleware building block. (7 Marks)