Home Page > > Details

Help With SPSS|Help With Processing| Python Programming| Python Programming

MOCK EXAMINATION FOR
158.225 SYSTEMS ANALYSIS AND DESIGN
Semester 2 2017
Time allowed: THREE (3) hours
There are 50 Multiple choice Questions and 1 Written Answer Case Study
Question in 3 parts. Students are required to answer ALL questions.
All multiple choice questions are of equal value
YOU MAY NOT TAKE ANY BOOKS OR OTHER MATERIALS INTO
THE EXAM
INSTRUCTIONS FOR CANDIDATES
InspiroScan Answer Sheets
Ensure that your name and identification number are entered onto your InspiroScan
Answer Sheet.
Answers should be recorded on the InspiroScan form directly: Shade-in the entire
circle surrounding the character (A-E) that best represents your chosen answer. If
subsequent changes are required, cross through the original answer circle clearly with
an X, before selecting an alternative. Use ballpoint pen (blue or black); pencil is not
permitted. Follow all instructions carefully, otherwise InspiroScan answer sheets may
not read correctly.
SECTION A
50 Multiple choice Questions each worth 1 mark 50 Marks
(Mock exam contains only 40 MCQs; In Final Exam you will have 50)
SECTION B
1 Written Answer Case Study Question in 3 parts
Part 1 worth 15 marks
Part 2 worth 15 marks
Part 3 worth 20 marks 50 Marks
Total: 100 Marks
Mock Exam
Sem 02-2017
Sc
Page 2 of 12
SECTION A
This section contains 50 Multichoice Questions worth 50 marks in total. For
each question there is only ONE correct answer (A, B, C or D).
1. In an activity diagram, how do we differentiate between a decision and a
merge?
A They both use the same symbols but a decision only has arrows going
out and a merge only has arrows going in
B They both use the same symbols but a decision only has arrows going in
and a merge only has arrows going out
C A merge will have guard conditions, a decision will not
D Both decision and merge have guard conditions
E A decision will have guard conditions, a merge will not
2. Which of the following is NOT part of creating a requirements definition?
A Determining non-functional system requirements
B Working with the entire project team and the business users to verify,
change and prioritise identified requirements
C Determining the development methodology
D Determining functional system requirements
E Defining the scope of the system
2. In BPMN, the notation is used for:
A. decision: take one and only one outgoing branch
B. fork: take all outgoing branches
C. decision: take one or more of outgoing branches
D. join: proceed when all incoming branches have completed
E. None of the above.
3. Which of the following is a characteristic of good user-interface dialogues?
A. Minimal user support
B. Minimal feedback from the system
C. Minimal user input
D. Minimal inconsistency
E. None of the above
4. Which of the following requirements for a music download system could be
regarded as a functional requirement?
A. The system should be available for at least 99% of the time.
B. The system should enable a subscriber to download purchased music.
C. The system should be easy to maintain.
D. The system should be able to handle up to 200,000 concurrent
downloads.
E. None of the above
Mock Exam
Sem 02-2017
Sc
Page 3 of 12
5. eXtreme Programming is an example of ________ development
methodology.
A. prototyping
B. waterfall
C. structured design
D. parallel
E. agile
6. The principal issue with the Waterfall development methodology is:
A. users are only involved at the start.
B. no intermediate release of partial programs.
C. heavy dependence on documents.
D. All of the above.
E. None of these.
7. Here is a brief use case description:
The dispatcher selects a delivery route from the schedule and adds a new
delivery to the existing list of deliveries for that route. The details of the new
delivery are completed by the dispatcher.
After analysis, which of the following is NOT likely to be a candidate class
from the given use case description?
A. Schedule
B. Dispatcher
C. Route
D. Delivery
E. All of the above.
8. In a use case description, which of the following flows should only appear
once?
A. Exception flow
B. Alternate flow
C. Error flow
D. Ideal flow
E. Normal flow
9. A concept map is essentially a node-and-arc representation, where the nodes
represent the individual requirements and the arcs represent the
_______________ among the requirements.
A Relationships
B Data flow
C Constraints
D Conditions
E Communication
Mock Exam
Sem 02-2017
Sc
Page 4 of 12
10. Consider the following use case diagram for an on-line flight booking
system. What type of use case association do <<1>> and <<2>> represent?
A. <<1>> = include, <<2>> = extend
B. <<1>> = include, <<2>> = include
C. <<1>> = extend, <<2>> = include
D. <<1>> = extend, <<2>> = extend
E. None of the above
11. Consider the class diagram shown below. Which of the following
statements about the manages association is FALSE?
A. It is a one-to-many association
B. It is a reflexive association
C. It is a binary association
D. It is a uni-directional association
E. None of the above
12. Which of the following would be an appropriate way of naming a use case
for a cloud storage system?
A. Cloud storage
B. Downloading
C. Upload new document
D. Video file
E. None of the above
Change Reservation <<1>>
Look at the following activity diagram. The following 3 questions (14 - 16)
relate to this diagram
13. Which actor has the responsibility to ‘organise interviews’?
A. Main administrator
B. Problem identifier
C. 1st responder
D. Peace committee operations
E. C & D
14. Which of the following elements from the diagram is a guard condition?
A. Reject case
B. Case designation
C. Take initial notes
D. Case accepted
E. Refer case
15. Which of the following elements from the diagram is an event?
A. Organize interviews
B. Case designation
C. 1st responder
D. Case accepted
E. Refer case
Mock Exam
Sem 02-2017
Sc
Page 6 of 12
The following 2 questions (16-17) are based on the class diagram below.
16. With reference to the diagram above, what would you expect the return
type of the ‘getArtist’ method to be?
A. A WorkOfArt object
B. The name of an Artist
C. An Artist object
D. A List of Artist objects
E. None of the above
17. With reference to the diagram above, which of the following statements is
TRUE?
A. ‘WorkOfArt’ is a generalization of ‘Installation’.
B. ‘WorkOfArt’ is a specialization of ‘Painting’.
C. ‘Sculpture’ is a specialization of ‘Installation’.
D. Each ‘WorkOfArt’ is associated with one or more ‘Artists’.
E. ‘Installation’ is a specialization of ‘Sculpture’.
18. What is the purpose of adding swim lanes to an activity diagram?
A. To show which objects perform which operations.
B. To show which actors are responsible for which activities.
C. To show which activities are associated with which events.
D. To show which events are associated with which decisions.
E. To show which events are associated with which operations.
19. Which of the following is an example of a Behavioural Diagram?
A. Sequence diagram
B. Class diagram
C. Component diagram
D. Object diagram
E. None of the above
Mock Exam
Sem 02-2017
Sc
Page 7 of 12
The following 3 questions (20 - 22) are based on the diagram below.
20. Based on the diagram above, which of the following is an object of a
Boundary class?
A. Convener
B. DisbursementGUI
C. DisbursementControl
D. Case
E. C & D
21. For the same diagram, the message getPcMember() corresponds to an
operation in the class.
A. Convener
B. DisbursementGUI
C. DisbursementControl
D. Case
E. C & D
22. For the same diagram, which of the following is NOT a class?
A. Convener
B. DisbursementGUI
C. DisbursementControl
D. Case
E. A & D
23. The same operation in two different classes may be implemented using
different methods. This is known as .
A. Abstraction
B. Composition
C. Stereotyping
D. Aggregation
E. Polymorphism
Mock Exam
Sem 02-2017
Sc
Page 8 of 12
MovieCatalogue
24. Look at this part of a class diagram
* DVD
What does this tell us about the relationship between MovieCatalogue and
DVD?
A. DVD should maintain a collection of MovieCatalogue objects.
B. MovieCatalogue should have an attribute of type DVD.
C. MovieCatalogue should maintain a collection of MovieCatalogue
objects.
D. MovieCatalogue should maintain a collection of DVD objects.
E. DVD objects should maintain a collection of MovieCatalogue.
25. Systems can be ____.
A built from scratch
B purchased and customized
C outsourced to others
D all of the above
E none of the above
26. Which of the following UML diagrams is NOT used for dynamic modelling?
A. Activity diagram
B. State machine diagram
C. Class diagram
D. Sequence diagram
E. All of the above
27. Encapsulation is the mechanism that combines ____ into a single object.
A the data and attributes
B the attributes and variables
C the data and operations
D the messages and events
E the data and relationships
28. In the UML, a(n) _____________
requirement expressed as a goal.
A. Sequence diagram
B. Stereotype
C. Actor
D. State transition diagram
E. Use case
can be used to represent a user’s
Mock Exam
Sem 02-2017
Sc
Page 9 of 12
29. In the UML, which of the following characters is used to indicate that an
attribute or operation has private visibility?
30. What does the following diagram represent?
A. A decision tree
B. A decision table
C. A state table
D. A condition/response table
E. None of the above.
31. Which of the following UML diagrams is used to show how different parts of
a large application are allocated to different physical devices?
A. Communication diagram
B. Deployment diagram
C. Component diagram
D. Timing diagram
E. Class diagram
32. For good design, we aim for
A. Low coupling and low cohesion
B. High coupling and high cohesion
C. High coupling and low cohesion
D. Low coupling and high cohesion
E. None of the above is valid.
Mock Exam
Sem 02-2017
Sc
Page 10 of 12
Look at the UML class below. The following two questions (33-34) relate to
this class.
33. Which of the following statements is FALSE, when considering the Auction
class?
A. The ‘endTime’ attribute has a ‘Timestamp’ data type.
B. The attribute value for ‘durationInMinutes’ is derived.
C. The’ addSaleItem’ operation returns a ‘WorkOfArt’ object.
D. The ‘auctioneer’ attribute has a default value of ‘Bob’.
E. The ‘numberOfItems’ has integer datatype.
34. Which of the following statements is TRUE, when considering the Auction
class?
A. The ‘numberOfItems’ attribute will be a floating point number.
B. The ‘getWorksOfArtSold’ operation returns a Money object.
C. The ‘getWorksOfArtSold’ operation takes a List object as a parameter
argument.
D. The ‘getTotalRevenue’ operation returns a Money object.
E. The addSaleItem returns an item WorkOfArt.
35. According to the Law of Demeter, namely the principle of least knowledge,
messages should NOT be sent by an object to
A objects contained in attributes of itself or superclass
B an object that is passed as a parameter
C an object that is created by the method
D an object contained in an attribute of an object
E an object that is stored in a global variable
36. Which of the following relations is a composition?
A door and car
B desk and office
C employee and department
D a and b
E b and c
Auction
startTime : Timestamp
endTime : Timstamp
auctioneer : String = “Bob”
numberOfItems : Integer
/durationInMinutes : Integer
getTotalRevenue() : Money
getWorksOfArtSold() : List
addSaleItem(item : WorkOfArt)
Mock Exam
Sem 02-2017
Sc
Page 11 of 12
37. What type of diagram is this?
A message diagram
B sequence diagram
C activity diagram
D collaboration diagram
E communication diagram
38. Which of the following statement is TRUE?
A Two apartment owners can share an apartment.
B An apartment can have no owner.
C An apartment owner must own at least one apartment.
D An apartment owner cannot have more than 5 apartments.
E None of the above.
39. Any modern object-oriented approach to software development must be use
case driven, ____________, iterative and incremental.
A user-centric
B architecture-centric
C requirements-driven
D model-driven
E object-centric
40. Pools are used in BPMN to model:
A activities
B resources
C data objects
D software
E business rules
Mock Exam
Sem 02-2017
Sc
Page 12 of 12
SECTION B
This section contains 1 written answer case study question worth 50 marks, divided
into three sub questions worth 15, 20 and 15 marks respectively. You should attempt
ALL parts of the question. Your answers should be written in the blue answer book.
Case Study Description
“I Was There” is a new web-based software product being developed to allow travellers
to share their travel memories. Its main function is to enable travellers to upload their
own content and to assemble it into complete journeys for their own use and also to
share with others.
The main role of this application is for travellers, who have registered with the system,
to be able to upload, edit or remove their own travel memories. These memories can
then be used to create journeys, which are collections of memories. Registered
travellers can also specify access rights to their own travel memories and journeys,
either private, public or ‘friends only’. It is also possible for those who have not
registered to access the site. They can look at other people’s memories and journeys
that have public access, but cannot upload or edit anything. The site has a moderator
who is able to review content (for example to check for inappropriate content) and to
remove it if necessary.
Travel memories may be photos, videos or documents. All of these will have a name
and a date, and will be associated with a single location. A location includes a text
description and its GPS coordinates.
There are two types of document; stories, and reviews. These both have an author,
but only reviews have a star rating. A story may optionally link to another story that
follows on from it.
As well as a collection of travel memories, each journey contains the traveller’s own
commentary which will include the start and end dates of the journey. Deleting a
journey will not delete the travel memories within it, but the commentary will be deleted.
Case Study Questions
When answering questions 1 and 2 you should adhere to good naming
conventions and name all your model elements (for example use cases,
associations, attributes, etc.) in an appropriate way. You should clearly state
any assumptions you make.
1. Draw a use case diagram for your system from the requirements given
above.
(15 marks)
2. Draw a domain model class diagram for this system. Your diagram should
include relevant classes, associations, attributes, multiplicities, etc.
(20 marks)
3. Draw an activity diagram for a person interacting with the web based system.
(15 marks)
+ + + + + + + +

Contact Us - Email:99515681@qq.com    WeChat:codinghelp
Programming Assignment Help!