GetInsperaExamPdf PDF Exam Past Paper

Summary

This document is a collection of multiple-choice questions about object-oriented design principles, software development, and information technology project management. It contains questions from different areas of knowledge, and is suitable for undergraduate students. The questions cover a variety of topics, including object-oriented design principles, requirements analysis, and project management life cycles.

Full Transcript

1 Which of the following is an OO design principle? Välj ett alternativ: CMYK LSP YDR COP All answers are correct No answer is correct SRK Totalpoäng: 1 2 Which is a reason for IT...

1 Which of the following is an OO design principle? Välj ett alternativ: CMYK LSP YDR COP All answers are correct No answer is correct SRK Totalpoäng: 1 2 Which is a reason for IT-project failure? Välj ett alternativ: small development teams use of agile methods slow changing technology poor requirements management Totalpoäng: 1 1/14 3 What happens according to the triple contraint if you reduce cost (budget)? Select one alternative: reduce time and/or increase scope increase cost and/or reduce scope increase time and/or reduce scope reduce time and/or cost increase time and/or cost Totalpoäng: 1 4 A Project is... Välj ett alternativ: a permanent endeavor a work evironment a specific goal a temporary endeavour a long term goal Totalpoäng: 1 2/14 5 Use cases are... Välj ett alternativ: created during implementation phase useless by today used for testing used for requirements analysis evaluated by off-stage actors Totalpoäng: 1 6 Which are the typical phases of a project management life cycle? Select one alternative: Initiating, planning, executing, closing Analysis, planning, implementing, testing, closing Initiating, planning, implementing, testing, closing Initiating, planning, executing, testing, closing Totalpoäng: 1 3/14 7 The difference between a Milestone and a Tollgate is that Välj ett alternativ a Milestone is defined by the project manager, not so a Tollgate a Milestone has external dependencies, not so a Tollgate a Tollgate is defined by the project manager, not so a Tollgate a Milestone is more important than a Tollgate a Tollgate has external dependencies, not so a Milestone Totalpoäng: 1 8 The core of 'agile' is... Select one alternative: the assumption that whatever the requirements are, the project will adapt to it the assumption that requirements do not matter that much, except when it comes to non- functional requirements the assumption that requirements need to be fixed at the beginning the assumption that whatever the requirements might be at the beginning of a project, they won’t be the same at the end of the project Totalpoäng: 1 4/14 9 What is good design? Select one alternative: flexible fixed beautiful determined Totalpoäng: 1 10 A domain model does not contain… Select one alternative: associations attributes multiplicities methods Totalpoäng: 1 5/14 11 What is the difference between Analysis and Design? Välj ett alternativ Design is about the look-and-feel, Analysis is about calculus Design of the requirements gives the base for Analysis Analysis is about the what, Design about the how Analysis of the implementation is used to obtain the Design Analysis implements requirements, Design gathers requirements Totalpoäng: 1 12 In the context of software development, which two types of requirements did we define? Välj ett alternativ functional and restrictional operative and co-operative operative and non-operative methodical and functional functional and non-functional Totalpoäng: 1 6/14 13 Interaction diagrams are… Select one alternative: State machine diagrams Sequence diagrams Class diagrams Sequence or Communication diagrams Class or Sequence diagrams Totalpoäng: 1 14 Java is... Välj ett alternativ: an assembler language a compiled and interpreted language a compiled language an interpreted and assembled language a fast language Totalpoäng: 1 7/14 15 Why should a class have only one reason to change? Välj ett alternativ: One reason is better than none It minimizes the number of places affected by change It minimizes locatability It increases necessary changes It maximizes the number of places affected by change Totalpoäng: 1 16 Delegation, Composition and Aggregation are... Välj ett alternativ: a way to delegate another class's behavior another form of inheritance inappropriate alternatives to inheritance a way to reuse another class's behaviour composite methods Totalpoäng: 1 8/14 17 Which of the following is no GRASPattern? Välj ett alternativ: Indirection Controller Information Expert High Coupling High Cohesion Totalpoäng: 1 18 Which of the following GRASPatterns are the two evaluative ones? Välj ett alternativ: Low Polymorphism, High Coupling Low Coupling, High Cohesion High Cohesion, Low Indirection Bad Coupling, High Flexibility High Control, Low Cohesion Totalpoäng: 1 9/14 19 When may you turn to Pure Fabrication? Select one alternative: When Polymorphism does not suggest a reasonable solution When Indirection is not applicable When Controller contradicts Creator When Information Expert does not deliver a satisfiable solution When Direct Fabrication does not work Totalpoäng: 1 20 Which of the following is no GoF pattern we dealt with? Select one alternative: Composite Factory Adapter Furniture Facade Totalpoäng: 1 10/14 21 What does the pattern Information Expert state? Välj ett alternativ assing the responsibility to the class who has the fewest responsiblities a responsibility should be shared among the classes who are the information experts assign the responsibility to the class who has the necessary information to fulfill the responsibility a responsibility should be shared among the classes such that coupling is minimized an information expert should delegate the responsibility to a high cohesion class Totalpoäng: 1 22 In the Observer pattern… Select one alternative: a listener subscribes to a subscriber a publisher listens to a subscriber a subscriber subscribes to a listener a listener subscribes to a publisher a listener subscribes to a listener Totalpoäng: 1 11/14 23 We consider responsibilities in the following two categories Välj ett alternativ knowing and owning having and owning doing and knowing doing and having owning and doing Totalpoäng: 1 24 Architectural Factors are… Select one alternative: functional requirements architecture Factories architecturally significant requirements functionallly significant requirements Totalpoäng: 1 12/14 25 What is great Software? Välj ett alternativ: Maintainable, reusable, extendable, easy to change Easy to learn, portable, reliable, stable, secure, up-to-date It depends on the perspective: user or developper Easy to use and beautiful Totalpoäng: 1 26 Imagine a small company (5 people) wants you (3 junior software developers) to help them solve a certain problem. After 2 initial meetings they don't seem to understand the problem very well themselves and it seems difficult to write down clear requirements at this point. Still they want you to help or solve the problem, they would pay what it costs to figure it out. Which Software Development Methodology might be more suitable, Spiral Model or Evolutionary Prototyping? Motivate your answers. Skriv in ditt svar här Totalpoäng: 5 27 Which GRASPatterns are also applicable on large-scale, software architecture level? Which further patterns did we encounter on software architecture level? Define them. Skriv in ditt svar här Totalpoäng: 5 28 Explain the difference between Design Model and Domain Model. Skriv in ditt svar här Totalpoäng: 5 13/14 29 Why do requirements change over the course of an IT-project? Name and explain at least three reasons. Skriv in ditt svar här Totalpoäng: 5 30 Imagine a simple MVC design. Who should be assigned the responsibility of handling invalid input? Do not think about your solutions from the labs, but rather let you guide by GRASP. Indicate Pros and Cons for each of the three choices 1) Model, 2) View, 3) Controller. What could be a 4th choice? Skriv in ditt svar här Totalpoäng: 5 14/14

Use Quizgecko on...
Browser
Browser