158.225编程 写作、c++语言程序 写作

” 158.225编程 写作、c++语言程序 写作MOCK EXAMINATION FOR158.225 SYSTEMS ANALYSIS AND DESIGNSemester 2 2017Time allowed: THREE (3) hoursThere are 50 Multiple choice Questions and 1 Written Answer Case StudyQuestion in 3 parts. Students are required to answer ALL questions.All multiple choice questions are of equal valueYOU MAY NOT TAKE ANY BOOKS OR OTHER MATERIALS INTOTHE EXAMINSTRUCTIONS FOR CANDIDATESInspiroScan Answer SheetsEnsure that your name and identification number are entered onto your InspiroScanAnswer Sheet.Answers should be recorded on the InspiroScan form directly: Shade-in the entirecircle surrounding the character (A-E) that best represents your chosen answer. Ifsubsequent changes are required, cross through the original answer circle clearly withan X, before selecting an alternative. Use ballpoint pen (blue or black); pencil is notpermitted. Follow all instructions carefully, otherwise InspiroScan answer sheets maynot read correctly.SECTION A50 Multiple choice Questions each worth 1 mark 50 Marks(Mock exam contains only 40 MCQs; In Final Exam you will have 50)SECTION B1 Written Answer Case Study Question in 3 partsPart 1 worth 15 marksPart 2 worth 15 marksPart 3 worth 20 marks 50 MarksTotal: 100 MarksMock ExamSem 02-2017ScPage 2 of 12SECTION AThis section contains 50 Multichoice Questions worth 50 marks in total. Foreach 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 amerge?A They both use the same symbols but a decision only has arrows goingout and a merge only has arrows going inB They both use the same symbols but a decision only has arrows going inand a merge only has arrows going outC A merge will have guard conditions, a decision will notD Both decision and merge have guard conditionsE A decision will have guard conditions, a merge will not2. Which of the following is NOT part of creating a requirements definition?A Determining non-functional system requirementsB Working with the entire project team and the business users to verify,change and prioritise identified requirementsC Determining the development methodologyD Determining functional system requirementsE Defining the scope of the system2. In BPMN, the notation is used for:A. decision: take one and only one outgoing branchB. fork: take all outgoing branchesC. decision: take one or more of outgoing branchesD. join: proceed when all incoming branches have completedE. None of the above.3. Which of the following is a characteristic of good user-interface dialogues?A. Minimal user supportB. Minimal feedback from the systemC. Minimal user inputD. Minimal inconsistencyE. None of the above4. Which of the following requirements for a music download system could beregarded 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 concurrentdownloads.E. None of the aboveMock ExamSem 02-2017ScPage 3 of 125. eXtreme Programming is an example of ________ developmentmethodology.A. prototypingB. waterfallC. structured designD. parallelE. agile6. 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 newdelivery to the existing list of deliveries for that route. The details of the newdelivery are completed by the dispatcher.After analysis, which of the following is NOT likely to be a candidate classfrom the given use case description?A. ScheduleB. DispatcherC. RouteD. DeliveryE. All of the above.8. In a use case description, which of the following flows should only appearonce?A. Exception flowB. Alternate flowC. Error flowD. Ideal flowE. Normal flow9. A concept map is essentially a node-and-arc representation, where the nodesrepresent the individual requirements and the arcs represent the_______________ among the requirements.A RelationshipsB Data flowC ConstraintsD ConditionsE CommunicationMock ExamSem 02-2017ScPage 4 of 1210. Consider the following use case diagram for an on-line flight bookingsystem. What type of use case association do 1 and 2 represent?A. 1 = include, 2 = extendB. 1 = include, 2 = includeC. 1 = extend, 2 = includeD. 1 = extend, 2 = extendE. None of the above11. Consider the class diagram shown below. Which of the followingstatements about the manages association is FALSE?A. It is a one-to-many associationB. It is a reflexive associationC. It is a binary associationD. It is a uni-directional associationE. None of the above12. Which of the following would be an appropriate way of naming a use casefor a cloud storage system?A. Cloud storageB. DownloadingC. Upload new documentD. Video fileE. None of the aboveChange Reservation 1Look at the following activity diagram. The following 3 questions (14 – 16)relate to this diagram13. Which actor has the responsibility to organise interviews?A. Main administratorB. Problem identifierC. 1st responderD. Peace committee operationsE. C D14. Which of the following elements from the diagram is a guard condition?A. Reject caseB. Case designationC. Take initial notesD. Case acceptedE. Refer case15. Which of the following elements from the diagram is an event?A. Organize interviewsB. Case designationC. 1st responderD. Case acceptedE. Refer caseMock ExamSem 02-2017ScPage 6 of 12The following 2 questions (16-17) are based on the class diagram below.16. With reference to the diagram above, what would you expect the returntype of the getArtist method to be?A. A WorkOfArt objectB. The name of an ArtistC. An Artist objectD. A List of Artist objectsE. None of the above17. With reference to the diagram above, which of the following statements isTRUE?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 diagramB. Class diagramC. Component diagramD. Object diagramE. None of the aboveMock ExamSem 02-2017ScPage 7 of 12The 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 aBoundary class?A. ConvenerB. DisbursementGUIC. DisbursementControlD. CaseE. C D21. For the same diagram, the message getPcMember() corresponds to anoperation in the class.A. ConvenerB. DisbursementGUIC. DisbursementControlD. CaseE. C D22. For the same diagram, which of the following is NOT a class?A. ConvenerB. DisbursementGUIC. DisbursementControlD. CaseE. A D23. The same operation in two different classes may be implemented usingdifferent methods. This is known as .A. AbstractionB. CompositionC. StereotypingD. AggregationE. PolymorphismMock ExamSem 02-2017ScPage 8 of 12MovieCatalogue24. Look at this part of a class diagram* DVDWhat does this tell us about the relationship between MovieCatalogue andDVD?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 MovieCatalogueobjects.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 scratchB purchased and customizedC outsourced to othersD all of the aboveE none of the above26. Which of the following UML diagrams is NOT used for dynamic modelling?A. Activity diagramB. State machine diagramC. Class diagramD. Sequence diagramE. All of the above27. Encapsulation is the mechanism that combines ____ into a single object.A the data and attributesB the attributes and variablesC the data and operationsD the messages and eventsE the data and relationships28. In the UML, a(n) _____________requirement expressed as a goal.A. Sequence diagramB. StereotypeC. ActorD. State transition diagramE. Use casecan be used to represent a usersMock ExamSem 02-2017ScPage 9 of 1229. In the UML, which of the following characters is used to indicate that anattribute or operation has private visibility?30. What does the following diagram represent?A. A decision treeB. A decision tableC. A state tableD. A condition/response tableE. None of the above.31. Which of the following UML diagrams is used to show how different parts ofa large application are allocated to different physical devices?A. Communication diagramB. Deployment diagramC. Component diagramD. Timing diagramE. Class diagram32. For good design, we aim forA. Low coupling and low cohesionB. High coupling and high cohesionC. High coupling and low cohesionD. Low coupling and high cohesionE. None of the above is valid.Mock ExamSem 02-2017ScPage 10 of 12Look at the UML class below. The following two questions (33-34) relate tothis class.33. Which of the following statements is FALSE, when considering the Auctionclass?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 Auctionclass?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 parameterargument.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 toA objects contained in attributes of itself or superclassB an object that is passed as a parameterC an object that is created by the methodD an object contained in an attribute of an objectE an object that is stored in a global variable36. Which of the following relations is a composition?A door and carB desk and officeC employee and departmentD a and bE b and cAuctionstartTime : TimestampendTime : Timstampauctioneer : String = BobnumberOfItems : Integer/durationInMinutes : IntegergetTotalRevenue() : MoneygetWorksOfArtSold() : ListaddSaleItem(item : WorkOfArt)Mock ExamSem 02-2017ScPage 11 of 1237. What type of diagram is this?A message diagramB sequence diagramC activity diagramD collaboration diagramE communication diagram38. 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 usecase driven, ____________, iterative and incremental.A user-centricB architecture-centricC requirements-drivenD model-drivenE object-centric40. Pools are used in BPMN to model:A activitiesB resourcesC data objectsD softwareE business rulesMock ExamSem 02-2017ScPage 12 of 12SECTION BThis section contains 1 written answer case study question worth 50 marks, dividedinto three sub questions worth 15, 20 and 15 marks respectively. You should attemptALL parts of the question. Your answers should be written in the blue answer book.Case Study DescriptionI Was There is a new web-based software product being developed to allow travellersto share their travel memories. Its main function is to enable travellers to upload theirown content and to assemble it into complete journeys for their own use and also toshare 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 canthen be used to create journeys, which are collections of memories. Registeredtravellers 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 notregistered to access the site. They can look at other peoples memories and journeysthat have public access, but cannot upload or edit anything. The site has a moderatorwho is able to review content (for example to check for inappropriate content) and toremove it if necessary.Travel memories may be photos, videos or documents. All of these will have a nameand a date, and will be associated with a single location. A location includes a textdescription 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 thatfollows on from it.As well as a collection of travel memories, each journey contains the travellers owncommentary which will include the start and end dates of the journey. Deleting ajourney will not delete the travel memories within it, but the commentary will be deleted.Case Study QuestionsWhen answering questions 1 and 2 you should adhere to good namingconventions and name all your model elements (for example use cases,associations, attributes, etc.) in an appropriate way. You should clearly stateany assumptions you make.1. Draw a use case diagram for your system from the requirements givenabove.(15 marks)2. Draw a domain model class diagram for this system. Your diagram shouldinclude relevant classes, associations, attributes, multiplicities, etc.(20 marks)3. Draw an activity diagram for a person interacting with the web based system.(15 marks)+ + + + + + + +如有需要,请加QQ:99515681 或邮箱:99515681@qq.com

添加老师微信回复‘’官网 辅导‘’获取专业老师帮助,或点击联系老师1对1在线指导