Upload
others
View
3
Download
0
Embed Size (px)
Citation preview
g
NAMIBIA UNIVERSITYOF SCIENCE AND TECHNOLOGY
FACULTY OF COMPUTING AND INFORMATICSDEPARTMENT OF COMPUTER SCIENCE
QUALIFICATION: BACHELOR OF COMPUTER SCIENCE, BACHELOR OF INFORMATICS
QUALIFICATION CODE: 07BACS,07BAIF LEVEL: 7
COURSE: SOFTWARE ENGINEERING 2 COURSE CODE: SEN721S
DATE: NOVEMBER2018 PAPER: THEORY
DURATION: 3 HRS MARKS: 100
FIRST OPPORTUNITY EXAMINATION
EXAMINER(S) Mr. JEREMIAH LUMBASI
MODERATOR: Dr. KAUNA MUFETI (University of Namibia)
THIS PAPER CONSISTS OF 3 PRINTED PAGES
(Including this front page)
THIS QUESTION PAPER CONSISTS OF 2 PRINTED PAGES
(Excluding this front page)
INSTRUCTIONS
1. AnswerALL the questions in the provided Examination answer booklet
2. Write clearly & neatly and numberthe answersclearly.
3. Whenanswering questions you should be guided by the allocation of marks
in square brackets[].
4. Use of any electronic devices (e.g. cell-phones) is prohibited
5. NUST examination rules and regulations apply.
PERMISSIBLE MATERIALS
1. Non programmableScientific Calculator.
Question 1[14 marks]
1.1 Whatis object orientation? And howdoesit differ from the traditional procedural approach?
[4 marks]
12 One ofthe difficulties and risks in software engineering as a whole is complexity,
explain two ways in whichthis occurs and a resolution to this approach.
(8 marks]
L3 Explain the Liskov substitution principle. [2 marks]
Question 2[ 22 marks]
2.1 Whatdoes it mean by software engineers should aim make their designs reusable
[2marks]
Ded Explain different types of re-use practiced by software engineers. [10 marks]
2.3 Define the term framework. What are hooksandslots on a frameworkexplain with a
suitable example. [6 marks]
2.4 Imagine you are designing a frameworkthat different libraries (of books, not code)
would beable to adapt to meet their needs. What kind offacilities would you want to
provide if you were designing such a framework? In what waysdolibraries differ such
that they would needto use a frameworkrather than a complete application?
[6 marks]
Question 3[16 marks]
3.1. Explain with examples and reference to UML thefollowing modelling approaches
[6 marks]
e Use case modeling
e Structural modelling
e Behavioral modeling
3.2. The Fantasy Football League are rebuilding their fantasy football software, and you
are tasked with its design. A football game has up to 50 people involved, who each
have a name, and a number. These people may be: players, who also record the
number of goals scored; umpires, who record the number of whistles blown; and
coaches, who record the numberofinjuries. Some players are also captains, and
record the numberof players on their team. Draw a class diagram clearly showing
generalization [10 marks]
Question 4 [19 marks]
4.1 Whatsolution did Component-Based Software Engineering(CBSE) provide that Object
Oriented developmentdid notoffer. [3marks]
4.2 Give a brief explanation to the following component characteristics: (a)Standardized,
(b)Independent, (c)Composable, (d)Deployable, (e)Documented.
[10 marks]
4.3 Describe three types of interface incompatibility that may occur when developing
components [ 6 marks]
Question 5 [13 marks]
al Describe the term pattern in relation to object oriented software development. State
whythey are important? [3 marks]
52 With an example describe the Abstraction Occurrence pattern. [10 marks]
Question 6[16marks]
6.1 Quality managementis both an organizational and an individual project issue,
explain? [4 marks]
6.2 Whyis it important to have The Quality Assurance team independent from the
development team? [2 marks]
6.3 You are in charge of a Quality Assurance team, suggest 6 questions that your team
should consider whetheror no softwareisfit for its intended purpose. [6 marks]
6.4 Describe four characteristics that lead to a testable software. [4marks]
~END~