Sdp 05 Test

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By English
E
English
Community Contributor
Quizzes Created: 1 | Total Attempts: 548
| Attempts: 548
SettingsSettings
Please wait...
  • 1/83 Questions

    Which of the following statements is the most correct?

    • United Models for Languages
    • Universal Modeling Language
    • Unified Modeling Language
    • United Modeling Language
Please wait...
Architecture Quizzes & Trivia
About This Quiz

SDP 05 test explores key concepts in software architecture, focusing on model structures, refinement relationships, and the role of abstractions. It challenges common practices like domain analysis and documents the essence of architectural documentation, assessing understanding and application in software design.


Quiz Preview

  • 2. 

    In component diagrams, the lollipop symbol is used to represent a PROVIDES/ REQUIRES interface.

    Explanation
    ENTER WITH CAPS LOCK

    Rate this question:

  • 3. 

    In sequence diagrams, lifelines represent the activity of CLASSES / OBJECTS

    Explanation
    ENTER WITH CAPS LOCK

    Rate this question:

  • 4. 

    A context diagram should include details related to quality concerns 

    • True

    • False

    Correct Answer
    A. True
    Explanation
    A context diagram should include details related to quality concerns because it provides an overview of the system and its interactions with external entities. Quality concerns are important to consider in the context diagram as they help identify potential risks and requirements related to the quality of the system. By including these details, the diagram can provide a holistic view of the system's context and facilitate discussions and decision-making regarding quality aspects.

    Rate this question:

  • 5. 

    A view is a projection of a model that reveals select details

    • True

    • False

    Correct Answer
    A. True
    Explanation
    A view is a representation or visualization of a model that allows us to see specific details or aspects of it. It helps us focus on certain elements or information while excluding others. Therefore, it is true that a view is a projection of a model that reveals select details.

    Rate this question:

  • 6. 

    In component diagrams, ports ARE/ARE NOT optional.

    Correct Answer
    ARE
    Explanation
    please enter with caps lock

    Rate this question:

  • 7. 

    Liskov’s Substitution Principle _________.

    • Helps ensure that objects are highly reusable.

    • Requires that methods that are present in base classes must also be present in the derived classes.

    • Helps ensure that objects are easy to extend without requiring change to the original object.

    • Requires that object interfaces only include methods that will be needed by most implementers.

    • Helps make changing an object easier.

    Correct Answer
    A. Requires that methods that are present in base classes must also be present in the derived classes.
    Explanation
    Liskov's Substitution Principle requires that methods that are present in base classes must also be present in the derived classes. This principle ensures that derived classes can be substituted for their base classes without affecting the correctness of the program. It promotes code reusability and helps maintain the behavior and contracts of the base class in the derived classes. By adhering to this principle, it becomes easier to extend and modify the functionality of objects without introducing unexpected behavior or breaking existing code.

    Rate this question:

  • 8. 

    Three standard view types for the Design Model are

    • Component and Connector,Designation and Module

    • Runtime,Documentation and Miscellaneous

    • Component,Module,Deployment

    • Component,Allocation,Module

    • Runtime,Allocation,Module

    Correct Answer
    A. Runtime,Allocation,Module
    Explanation
    The correct answer is Runtime, Allocation, Module. These three view types are commonly used in the Design Model. The Runtime view focuses on the dynamic behavior of the system, showing how components interact at runtime. The Allocation view shows how software components are allocated to hardware resources. The Module view focuses on the structure of the system, showing the organization of components and their relationships.

    Rate this question:

  • 9. 

    Component details in UML can be shown as text within a compartment of a component

    • True

    • False

    Correct Answer
    A. True
    Explanation
    In UML, component details can be displayed as text within a compartment of a component. This allows for a clear and organized representation of the component's attributes, operations, and other details. By showing the component details within a compartment, it becomes easier to understand and communicate the structure and behavior of the component in a visual manner.

    Rate this question:

  • 10. 

    Architecture documents are abstrations of the system

    • True

    • False

    Correct Answer
    A. True
    Explanation
    Architecture documents are created to provide a high-level overview and understanding of a system's design and structure. They serve as abstractions by capturing the key components, interactions, and relationships within the system, without going into detailed implementation or specific technicalities. These documents help stakeholders, developers, and other team members to visualize and communicate the system's architecture effectively. Therefore, the statement "Architecture documents are abstractions of the system" is true.

    Rate this question:

  • 11. 

    A context diagram is similar to a snapshot in that the context is likely to change as the system runs 

    • True

    • False

    Correct Answer
    A. True
    Explanation
    A context diagram is a visual representation of a system that shows how it interacts with external entities. It provides a high-level view of the system's boundaries and the relationships between the system and its environment. Like a snapshot, a context diagram captures a specific moment or state of the system. However, as the system runs and evolves, the context may change due to various factors such as user interactions, system updates, or external influences. Therefore, it is true that the context is likely to change as the system runs.

    Rate this question:

  • 12. 

    Class diagrams can be generated directly from code.

    • True

    • False

    Correct Answer
    A. True
    Explanation
    Class diagrams can be generated directly from code because modern programming languages and development tools provide features and plugins that allow automatic generation of class diagrams based on the code structure. These tools analyze the code and extract information about classes, their relationships, and properties, and then generate a visual representation of the classes and their connections. This helps developers to visualize the structure of their code and understand the relationships between different classes, making it easier to design, refactor, and maintain the codebase.

    Rate this question:

  • 13. 

    The process of creating class diagrams is a valuable activity during design

    • True

    • False

    Correct Answer
    A. True
    Explanation
    Creating class diagrams is a valuable activity during design because it helps in visualizing the structure and relationships of classes in a system. Class diagrams provide a blueprint for the system's architecture, allowing designers to identify classes, their attributes, and methods, as well as the associations and dependencies between them. This helps in understanding the overall design, identifying potential design flaws, and facilitating communication among team members. Class diagrams also serve as a foundation for generating code and implementing the system.

    Rate this question:

  • 14. 

    The Mirrored, Farm, and Rack style of design is a style in the _______ view.

    • Runtime

    • Module

    • Allocation

    • None of a-c

    Correct Answer
    A. Allocation
    Explanation
    The Mirrored, Farm, and Rack style of design is a style in the Allocation view. This suggests that these design styles are related to the allocation of resources, such as servers or hardware components, in a system. The allocation view focuses on how resources are distributed and assigned within a system to ensure efficient utilization and performance.

    Rate this question:

  • 15. 

    An internals model can be used to identify boundary models of others 

    • True

    • False

    Correct Answer
    A. True
    Explanation
    An internals model refers to an individual's perception and understanding of their own mental processes and cognitive abilities. It allows them to have a sense of self-awareness and introspection. In the context of identifying boundary models of others, an internals model can be used to gain insight into how others perceive and understand their own mental processes and cognitive abilities. This understanding helps in recognizing the limitations and boundaries of others' thinking and decision-making processes, thereby facilitating effective communication and collaboration. Hence, the statement "An internals model can be used to identify boundary models of others" is true.

    Rate this question:

  • 16. 

    Three notations of UML are

    • Activity diagrams, Component diagrams, Construction diagrams

    • Component diagrams, Action diagrams, Sequence diagrams

    • Class diagrams, ER diagrams, Action diagrams

    • Canonical diagrams, Activity diagrams, Sequence diagrams

    • Class diagrams, Sequence diagrams, Use Case diagrams

    Correct Answer
    A. Class diagrams, Sequence diagrams, Use Case diagrams
    Explanation
    The correct answer is Class diagrams, Sequence diagrams, Use Case diagrams. UML (Unified Modeling Language) is a standardized visual language used for modeling software systems. Class diagrams are used to represent the structure and relationships of classes in a system. Sequence diagrams depict the interactions between objects in a particular scenario or use case. Use Case diagrams illustrate the functionality of a system from the perspective of its users. These three types of diagrams are commonly used in UML to provide a comprehensive view of a software system.

    Rate this question:

  • 17. 

    The primary difference between component diagrams and sequence diagrams is

    • Component diagrams show all potential interactions among a group of components whereas sequence diagram shows the interactions involved in response to a particular kind of request.

    • There is very little difference, they are just two different ways of viewing component interactions.

    • In component diagram the components use a rectangular shape with the component icon in the upper right corner but no component icon appears in sequence diagrams.

    • Component diagrams represent the code whereas sequence diagrams represent behavior.

    Correct Answer
    A. Component diagrams show all potential interactions among a group of components whereas sequence diagram shows the interactions involved in response to a particular kind of request.
    Explanation
    Component diagrams and sequence diagrams serve different purposes in representing interactions among components. Component diagrams provide an overview of all potential interactions among a group of components, showcasing the relationships and dependencies between them. On the other hand, sequence diagrams focus on illustrating the specific interactions that occur in response to a particular type of request, capturing the sequence of messages exchanged between the components involved. While both diagrams are valuable in understanding component interactions, their scope and level of detail differ, making them distinct ways of visualizing component behavior.

    Rate this question:

  • 18. 

    The Peer to Peer style of software design is a style in the ________  view.

    • Runtime

    • Module

    • Allocation

    • None of a-c

    Correct Answer
    A. Runtime
    Explanation
    The Peer to Peer style of software design is a style in the runtime view. This means that the design focuses on how the software behaves and operates at runtime, including the interactions between different components or nodes in a peer-to-peer network. The runtime view is concerned with the dynamic aspects of the system, such as how data is exchanged and processed during execution.

    Rate this question:

  • 19. 

    Modeling a system using multiple views requires that all views be ________ .

    • Kept neatly stored so they can be located.

    • Chosen carefully to reflect the concerns of users.

    • Kept internally consistent.

    • Created from different view types.

    • Both a and b

    • Both b and c

    • Both c and d

    Correct Answer
    A. Chosen carefully to reflect the concerns of users.
    Explanation
    When modeling a system using multiple views, it is important that all views are chosen carefully to reflect the concerns of users. This means that the views should be selected in a way that they accurately represent the different perspectives and requirements of the users. Additionally, it is also crucial that the views are kept internally consistent, meaning that they should not contradict each other and should provide a cohesive understanding of the system. Therefore, the correct answer is "Both b and c" - the views should be chosen carefully to reflect the concerns of users and kept internally consistent.

    Rate this question:

  • 20. 

    All design decisions should be made before coding begins 

    • True

    • False

    Correct Answer
    A. False
    Explanation
    Design decisions should not necessarily be made before coding begins. In some cases, it may be beneficial to start coding and then make design decisions as the coding process progresses. This approach allows for flexibility and adaptability, as the development team can learn from the coding process and make informed design decisions based on the actual implementation. Additionally, iterative or agile development methodologies often prioritize coding and feedback over upfront design, as they value continuous improvement and collaboration. Therefore, the statement that all design decisions should be made before coding begins is false.

    Rate this question:

  • 21. 

    The risk-driven approach is most difficult to apply to the __________ software development process

    • Waterfall

    • Interative

    • RUP

    • XP

    Correct Answer
    A. XP
    Explanation
    The risk-driven approach is most difficult to apply to the XP (Extreme Programming) software development process. This is because XP follows an agile methodology that emphasizes continuous feedback, frequent iterations, and adaptability. The risk-driven approach, on the other hand, involves identifying and managing risks throughout the software development lifecycle, which may not align well with the fast-paced and flexible nature of XP. In XP, the focus is on delivering value quickly and responding to change, rather than extensive upfront planning and risk management.

    Rate this question:

  • 22. 

    Architecture checklists _______.

    • Provide architecture experts an opportunity to identify risks.

    • Should be checked every day.

    • Contain a list of activities that must be completed before the architecture is considered complete.

    • Must be included as part of the final documentation.

    • Can be used to ensure that known risks have been considered.

    Correct Answer
    A. Can be used to ensure that known risks have been considered.
    Explanation
    Architecture checklists can be used to ensure that known risks have been considered. These checklists provide a systematic way for architecture experts to identify potential risks and ensure that they are addressed before the architecture is considered complete. By following the checklist, architects can ensure that all necessary activities are completed and documented, reducing the likelihood of risks going unnoticed. Including the checklist as part of the final documentation also helps in providing a comprehensive overview of the architecture and the steps taken to mitigate risks.

    Rate this question:

  • 23. 

    Which of the following is not true about the Apach server?

    • Built in the pipe and filter style

    • Is designed to allow new Code to be inserted easily

    • Was designed with few constraints to support the system’s performance goals

    • A web server

    • Was designed around the goal of modifiability

    Correct Answer
    A. Was designed with few constraints to support the system’s performance goals
    Explanation
    The given answer suggests that the statement "Was designed with few constraints to support the system’s performance goals" is not true about the Apache server. This means that the Apache server was not designed with few constraints to support its performance goals.

    Rate this question:

  • 24. 

    Three styles of design are

    • Risky,safe,uncertain

    • Planned,evolutionary and minimal planned

    • Spiral,waterfall,agile

    • Risk-based,architectural,Code-based

    Correct Answer
    A. Planned,evolutionary and minimal planned
    Explanation
    The correct answer is "planned, evolutionary, and minimal planned". This answer is based on the given options for the three styles of design. The other options do not match the given options and are therefore incorrect.

    Rate this question:

  • 25. 

    Which of the following is NOT an advantage of using architectural styles during design?  __________

    • They support design reuse.

    • They provide a vocabulary for communication.

    • They provide a set of guard rails to guide you.

    • They define a set of names to use in your design.

    • They help ensure you will meet your quality goals.

    Correct Answer
    A. They define a set of names to use in your design.
    Explanation
    Architectural styles provide several advantages during design, including supporting design reuse, providing a vocabulary for communication, providing guard rails to guide the design process, and helping ensure quality goals are met. However, they do not specifically define a set of names to use in the design. Naming conventions and guidelines are typically defined separately from architectural styles and are specific to the organization or project. Therefore, "They define a set of names to use in your design" is not an advantage of using architectural styles.

    Rate this question:

  • 26. 

    Which of the following is a legal exception to pure layered style?

    • The use of sidecars.

    • The use of callbacks.

    • The use of one module in a layer by another.

    • The use of a module by one that is two layers above.

    • None of a-d

    Correct Answer
    A. The use of callbacks.
    Explanation
    The use of callbacks is a legal exception to pure layered style because it allows for communication and interaction between different layers of a system. In a pure layered style, each layer should only communicate with the layer directly above or below it, but the use of callbacks allows for a layer to invoke a function or method in a higher layer, breaking the strict layering principle. This can be useful in certain situations where direct communication between layers is necessary for functionality or performance reasons.

    Rate this question:

  • 27. 

    In the Pipe and Filter style, which of the following is not allowed? _______

    • A Filter can alternate providing data between two filters.

    • Two pipes can be potential suppliers for a filter.

    • A pipe can feed data into another pipe.

    • A filter can be designed to be used in another application.

    • None of a-d

    Correct Answer
    A. A pipe can feed data into another pipe.
    Explanation
    In the Pipe and Filter style, a pipe is used to transfer data from one filter to another. However, a pipe cannot directly feed data into another pipe. Pipes are used to connect filters in a linear manner, where the output of one filter is passed through a pipe to the input of the next filter. Therefore, the correct answer is that a pipe cannot feed data into another pipe.

    Rate this question:

  • 28. 

    An anti-pattern is _______ .

    • A known way to reverse the impact of using a design pattern.

    • A pattern for improving bad code.

    • A way to avoid known bad coding practice.

    • A way to refactor code

    • None of the above.

    Correct Answer
    A. A way to avoid known bad coding practice.
    Explanation
    An anti-pattern refers to a way to avoid known bad coding practice. It is essentially a common solution to a recurring problem that is ineffective or counterproductive. It helps developers identify and avoid common pitfalls or mistakes in software development, ensuring that they do not fall into the trap of using inefficient or flawed coding practices.

    Rate this question:

  • 29. 

    What are the names of the models in software’s canonical model structure?

    • Domain,Design,Development

    • Conceptual,Design,Code

    • Conceptual,Architecture,Development

    • Domain,Design,Code

    • None of the above

    Correct Answer
    A. Domain,Design,Code
    Explanation
    The correct answer is Domain, Design, Code. In software's canonical model structure, the three main models are the Domain model, which represents the problem domain and the business logic; the Design model, which focuses on the software's architecture and design patterns; and the Code model, which refers to the actual implementation of the software in programming languages.

    Rate this question:

  • 30. 

    A port is a point of interaction in a component diagram

    • True

    • False

    Correct Answer
    A. True
    Explanation
    In a component diagram, a port represents a point of interaction between a component and its environment. It is used to specify the services that a component provides or requires. By connecting components through ports, the diagram shows how they communicate and interact with each other. Therefore, the statement "A port is a point of interaction in a component diagram" is true.

    Rate this question:

  • 31. 

    All class diagrams created during design of a system should be maintained as part of the project documentation.

    • True

    • False

    Correct Answer
    A. False
    Explanation
    Not all class diagrams created during the design of a system need to be maintained as part of the project documentation. While class diagrams can be useful for understanding the structure and relationships of classes in a system, it is not always necessary to include them in the project documentation. The decision of whether or not to include class diagrams in the documentation depends on the specific requirements and preferences of the project.

    Rate this question:

  • 32. 

    Using consistent level of detail across a model helps _______ .

    • Cut expenses when building the system.

    • Make the view more comprehensible.

    • Increase consistency among views.

    • Both a and c

    • Both b and c

    • None of a-c

    • All of a-c

    Correct Answer
    A. Make the view more comprehensible.
    Explanation
    Using consistent level of detail across a model helps make the view more comprehensible. When the level of detail is consistent, it becomes easier for viewers to understand and interpret the model. This consistency allows for a smoother flow of information and reduces confusion. It ensures that the model is organized and coherent, making it easier for stakeholders to analyze and make decisions based on the information presented.

    Rate this question:

  • 33. 

    Which of the following statements is the most correct?

    • A sequence diagram is used to models sequence of activities associated with a use case

    • A sequence diagram is used to model a sequence of message exchanged among objects

    • A sequence diagram is used to model a sequence of transitions among objects in a use case

    • Both a and b

    • Both a and c

    Correct Answer
    A. A sequence diagram is used to model a sequence of message exchanged among objects
    Explanation
    A sequence diagram is used to model a sequence of message exchanged among objects. This diagram represents the interactions between objects in a system, illustrating the order in which messages are sent and received. It helps to visualize the flow of communication between objects and understand the behavior of the system during runtime.

    Rate this question:

  • 34. 

    Which of the following statements is the most correct? ____________ .

    • A class diagram shows a configuration of the system at a given moment.

    • A class diagram shows all potential interactions among components in a view.

    • A class diagram can show relationships between java interfaces and other classes.

    • Both a and b.

    • Both b and c

    Correct Answer
    A. A class diagram can show relationships between java interfaces and other classes.
  • 35. 

    Which of the following is NOT one of the traits of good models?  _______

    • Allows one to predictive potential issues

    • Be small

    • Be realistic

    • Refers only to elements that are in the model

    • Be inexpensive

    Correct Answer
    A. Be small
    Explanation
    Being small is not one of the traits of good models. Good models should allow one to predict potential issues, be realistic, refer to all relevant elements, and be inexpensive. Size is not a determining factor for the quality of a model.

    Rate this question:

  • 36. 

    How should a designer decide which views to create? _______

    • Build one for each function.

    • Build one for each actor.

    • Build one for each of the major concerns.

    • Build one for each use case.

    • Build one for each of the view types.

    Correct Answer
    A. Build one for each of the major concerns.
    Explanation
    A designer should decide which views to create based on the major concerns of the system. This means identifying the key aspects or issues that need to be addressed in the design. By building one view for each major concern, the designer can ensure that all important aspects of the system are properly represented and considered in the design process. This approach allows for a comprehensive and well-rounded design that takes into account the different perspectives and requirements of the system.

    Rate this question:

  • 37. 

    Which of the following is NOT true of a dependency matrix? ___________

    • Can be used to check dependencies among modules.

    • Can easily be converted to a graphical representation.

    • Is more difficult to use the larger a model grows.

    • Can be built automatically from code by some tools.

    • Can be used to help maintain a system.

    Correct Answer
    A. Is more difficult to use the larger a model grows.
    Explanation
    A dependency matrix is a tool used to check dependencies among modules and can be used to help maintain a system. It can easily be converted to a graphical representation and can be built automatically from code by some tools. However, as the model grows larger, it becomes more difficult to use because the matrix becomes more complex and harder to interpret.

    Rate this question:

  • 38. 

    Which of the following statements is the most correct?

    • A deployment view shows where process will run and how they will interact

    • A deployment view shows how the system interacts with its environment

    • A deployment view shows how the system is installed in the target environment

    • Both a and b

    • Both a and c

    Correct Answer
    A. A deployment view shows where process will run and how they will interact
    Explanation
    A deployment view shows where processes will run and how they will interact. This means that it provides a visual representation of the physical infrastructure on which the system will be deployed, including the hardware and network components. It also shows how the processes within the system will be distributed across these components and how they will communicate with each other. This view helps in understanding the deployment architecture and ensures that the system is properly installed and configured in the target environment.

    Rate this question:

  • 39. 

    Which of the following is true of a Context Diagram

    • Describe how the software being created interacts with elements in its environment

    • Can be based on a use case diagram

    • Might show the Internet

    • Describe what is in and what is outside the scope of the software project

    • All of a-d

    • Only a and d

    Correct Answer
    A. All of a-d
    Explanation
    A Context Diagram is a visual representation that describes how the software being created interacts with elements in its environment. It shows the external entities that interact with the system and the flow of data between them. It can be based on a use case diagram, which depicts the interactions between actors and the system. It might also show the Internet as one of the external entities. Additionally, a Context Diagram helps to define the scope of the software project by clearly illustrating what is included (inside the system boundary) and what is outside the scope (outside the system boundary). Therefore, all of the options a-d are true statements about a Context Diagram.

    Rate this question:

  • 40. 

    A specific architectural style is chosen for a project because

    • The architect has the most familiarity with it

    • The developers who will implement the system are most familiar with it

    • It is known to ensure quality attributes of concern

    • It will make the system easier to maintain

    • None of the above

    Correct Answer
    A. It is known to ensure quality attributes of concern
    Explanation
    The specific architectural style is chosen for a project because it is known to ensure quality attributes of concern. This means that the chosen architectural style has a proven track record of meeting the specific quality requirements and goals of the project. By selecting an architectural style that is known to ensure quality attributes, the project team can have confidence that the system will meet the desired performance, reliability, security, and other important attributes. This decision is not based on the familiarity of the architect or developers, or the ease of maintenance, but rather on the ability of the chosen architectural style to deliver the desired quality attributes.

    Rate this question:

  • 41. 

    The layered style of software design is a style in the ________  view.

    • Runtime

    • Module

    • Allocation

    • None of a-c

    Correct Answer
    A. Module
    Explanation
    The layered style of software design is a style in the module view. In this style, the software is divided into distinct layers, each responsible for a specific set of functionalities. Each layer interacts only with the layer directly below or above it, creating a modular and hierarchical structure. This allows for easier maintenance, scalability, and reusability of the software components.

    Rate this question:

  • 42. 

    Which of the following is NOT on the list of ways Fairbanks suggests you write good functional scenarios? _____

    • Actor

    • Action

    • Reference

    • Target Model

    • Overall

    • Pattern

    Correct Answer
    A. Pattern
    Explanation
    Fairbanks suggests that writing good functional scenarios should include considering the actor, action, reference, target model, and overall pattern. However, pattern is not mentioned as one of the ways to write good functional scenarios. Therefore, pattern is the correct answer.

    Rate this question:

  • 43. 

    Which of the following is NOT a desirable trait of a software model? ______

    • Consistent use of arrows

    • Models reality

    • Sufficiently precise

    • Inexpensive

    • Accurate

    • Accurate

    Correct Answer
    A. Consistent use of arrows
    Explanation
    A desirable trait of a software model is that it accurately represents reality, is sufficiently precise, and is accurate. However, consistent use of arrows is not a desirable trait of a software model. While arrows can be used in software modeling to depict relationships or flow, their consistent use is not a requirement for a model to be effective or useful. Different modeling approaches or tools may use different symbols or notations to represent relationships, so the consistency of arrow usage is not essential in evaluating the quality of a software model.

    Rate this question:

  • 44. 

    Which of the following statements is NOT true for creating and using models? ________

    • -A model is falsifiable if one is able to determine the truth or falseness of some property about the model.

    • A legend is not required when the diagram is created using a known notation.

    • Most people will be able to read a model but far fewer will be able to identify the correct type of model to create and to create it correctly.

    • A model is more useful if it focuses the user’s attention.

    • Both a and d

    • Both b and c

    • Both c and d

    Correct Answer
    A. A legend is not required when the diagram is created using a known notation.
    Explanation
    A legend is not required when the diagram is created using a known notation because in such cases, the symbols and their meanings are already established and understood by the users. Therefore, a separate legend explaining the symbols is not necessary.

    Rate this question:

  • 45. 

    Which of the following is not a software engineering risk? ______

    • The server may not scale to 1000 users.

    • The code for the sort algorithm is overly complex.

    • We do not adequately understand our customer’s needs.

    • The system is working fine, but if we try to change anything it seems to always break something else.

    • None of the above.

    Correct Answer
    A. We do not adequately understand our customer’s needs.
    Explanation
    The given answer, "We do not adequately understand our customer's needs," is not a software engineering risk because it pertains to a lack of understanding and communication with the customer, which falls under project management or requirements gathering rather than software engineering. Software engineering risks typically involve technical challenges such as scalability, complexity of code, or the potential for introducing bugs while making changes to the system.

    Rate this question:

  • 46. 

    Which of the following DOES NOT describe risk in software  development 

    • Something to worry about

    • A cause of failure

    • A chance of failure

    • A primary driver of architecture

    Correct Answer
    A. A cause of failure
    Explanation
    This answer is correct because it states that risk in software development is not a cause of failure. Risk refers to the possibility of something going wrong or not achieving the desired outcome. While risk can certainly contribute to failure, it is not the sole cause. Failure in software development can result from various factors such as inadequate planning, poor communication, technical issues, or external factors. Therefore, risk is not the exclusive cause of failure in software development.

    Rate this question:

  • 47. 

    UML provides special notation for a subsystem element because

    • Subsystem elements have critical differences from components, which must be represented.

    • Subsystem elements and component elements are not substantially different so there is no need for them.

    • Component elements have important aspects that are not representable using the provided subsystem element notation.

    • Both a and c

    • None of the above

    Correct Answer
    A. Subsystem elements and component elements are not substantially different so there is no need for them.
    Explanation
    The correct answer is that subsystem elements and component elements are not substantially different so there is no need for special notation for subsystem elements. This means that both subsystem elements and component elements can be represented using the same notation in UML, as they do not have critical differences that require separate representation. Therefore, there is no need for a special notation for subsystem elements.

    Rate this question:

  • 48. 

    A design pattern ______ .

    • Contains a description of other related patterns.

    • Can be useful describing how a software problem was solved by a developer.

    • Is a general reusable solution to a commonly occurring problem within a given context in software design.

    • Gives examples of code that used the pattern.

    • Both a and c

    • All of a-d

    Correct Answer
    A. All of a-d
    Explanation
    A design pattern is a general reusable solution to a commonly occurring problem within a given context in software design. It can be useful in describing how a software problem was solved by a developer. Additionally, a design pattern may contain a description of other related patterns and provide examples of code that used the pattern. Therefore, the correct answer is "All of a-d".

    Rate this question:

  • 49. 

    Which of the following is the best choice for creating code views? _______

    • Sequence diagram

    • Component diagram

    • Activity diagram

    • Class diagram

    • Both b and c

    • None of the above

    Correct Answer
    A. Class diagram
    Explanation
    A class diagram is the best choice for creating code views because it provides a visual representation of the structure and relationships of classes in a system. It allows developers to easily understand how different classes interact with each other and how the code is organized. This diagram is commonly used in object-oriented programming to design and document software systems.

    Rate this question:

Quiz Review Timeline (Updated): Mar 22, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • May 11, 2018
    Quiz Created by
    English
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.