Logo/

Fundamentals of UML Diagrams

Log in

Made with ScholarlyMake flashcards like these from your own notes

Fundamentals of UML Diagrams

Questions and answers

61 cards
  1. Question:What does the acronym UML stand for in software engineering?

    Answer:Unified Modeling Language, a modeling language most often used for visualizing software through diagrams.

  2. Question:Who created the Unified Modeling Language according to the course material?

    Answer:Three software engineers at the company Rational Software for their projects.

  3. Question:What is the primary purpose of UML in software development?

    Answer:To provide a standard way to visualize the design of a system, both structurally and behaviorally.

  4. Question:How many UML diagrams are there in the current version?

    Answer:Thirteen UML diagrams, up from the original nine in earlier versions.

  5. Question:What are the two main categories into which UML diagrams are divided?

    Answer:Structural diagrams and behavioral diagrams.

  6. Question:What does static modeling in UML primarily show?

    Answer:Things like classes, objects, interfaces, and the relationships between them.

  7. Question:Name two examples of UML diagrams used for static modeling.

    Answer:Class diagrams and object diagrams.

  8. Question:What does dynamic modeling in UML illustrate about a system?

    Answer:The behavior of static aspects, including workflow, passage of time, and different states where something changes.

  9. Question:Provide three examples of UML diagrams for dynamic modeling.

    Answer:Interaction diagrams, object diagrams, and activity diagrams.

  10. Question:What is forward design in the context of UML diagrams?

    Answer:Modeling and design done before coding the software application to help developers visualize the system.

  11. Question:Describe the purpose of backward design using UML diagrams.

    Answer:Modeling done after code is written, where diagrams act as documentation for the project workflow to improve future development.

  12. Question:How does UML support visualization in projects regardless of design timing?

    Answer:UML diagrams provide a way to visualize many aspects of a project and identify who is responsible for each activity.

  13. Question:What are the four problem-solving model categories in computer science mentioned?

    Answer:Imperative, functional, declarative, and object-oriented.

  14. Question:In object-oriented programming, how are algorithms expressed?

    Answer:By defining objects and having those objects interact with each other.

  15. Question:Why do object-oriented languages dominate programming according to the material?

    Answer:Because they model real-world objects like buildings, desktop widgets, or human beings.

  16. Question:What three object-oriented notations combine to form UML?

    Answer:Object-Oriented Design, Object Modeling Technique, and Object-Oriented Software Engineering.

  17. Question:What is a class diagram in UML and why is it the most common?

    Answer:The most common documentation diagram for software, showing classes with attributes and behaviors connected by lines for relationships.

  18. Question:What are the three fields in a UML class diagram?

    Answer:The class name, its attributes, and behaviors or operations.

  19. Question:How does an object diagram differ from a class diagram?

    Answer:Object diagram is a subset showing a particular instance of a class, like 'Customer 1' with specific attributes.

  20. Question:What does a composite structure diagram depict in UML?

    Answer:The internal structure of a class, breaking it into components and showing how they relate and communicate.

  21. Question:Why is the composite structure diagram used less frequently?

    Answer:It is extremely specific, especially less common in business environments compared to other class subsets.

  22. Question:What is the main function of a package diagram in UML?

    Answer:To organize system elements into groups called packages, sorted into related groups showing relationships or interactions.

  23. Question:When is a package diagram particularly helpful?

    Answer:For showing complex systems and behaviors that are hard to visualize in detail.

  24. Question:What distinguishes structural diagrams from behavioral diagrams in UML?

    Answer:Structural diagrams break down the project by setup and components; behavioral by system behavior and actor involvement.

  25. Question:How does UML extend beyond software development?

    Answer:To applications like process flow in manufacturing and other business processes.

  26. Question:What role does UML play in object-oriented modeling and design?

    Answer:Combines strengths of object-oriented notations for consistent methodology in building and documenting software systems.

  27. Question:Why is the class diagram essential for showing relationships in software?

    Answer:Different types of lines connect classes to illustrate relationships between them in the first, attribute, and behavior fields.

  28. Question:In what scenario would you use an object diagram over a class diagram?

    Answer:To display a particular instance of a class and check if the class-based system is viable in practice.

  29. Question:What real-world entities can object-oriented models represent?

    Answer:Buildings, widgets on a desktop, or human beings as manipulable objects.

  30. Question:Define a UML diagram's role in forward versus backward design.

    Answer:Forward: pre-coding visualization; Backward: post-coding documentation for workflow improvement.

  31. Question:What is the focus of structural UML diagrams in project breakdown?

    Answer:Breaking down the project by its setup, components, and how they are organized.

  32. Question:Name the UML diagram types originating from Rational Software.

    Answer:Thirteen diagrams including structural like class and behavioral like activity.

  33. Question:How does UML facilitate complex software implementation?

    Answer:Through semantically and syntactically rich visual modeling for architecture, design, and behavior.

  34. Question:What problem-solving paradigm does OOP belong to in computer science?

    Answer:Object-oriented, one of four categories: imperative, functional, declarative, object-oriented.

  35. Question:Why is UML considered a general-purpose modeling language?

    Answer:Applicable in software engineering and beyond, like business processes and manufacturing flows.

  36. Question:Describe the relationship lines in a class diagram.

    Answer:Different types of lines connect each class to show relationships between classes.

  37. Question:What makes package diagrams useful for complex systems?

    Answer:They organize elements into packages and connect groups to reveal interactions in the big picture.

  38. Question:Compare object and composite structure diagrams as class subsets.

    Answer:Object shows class instance; composite shows internal class components and communications.

  39. Question:What is the study of algorithms and data in computer science?

    Answer:Computer science, encompassing paradigms like object-oriented modeling with UML.

  40. Question:How has the number of UML diagram types evolved?

    Answer:From nine types in the original UML to thirteen in the second version.

  41. Question:What behavioral aspect does dynamic UML modeling capture?

    Answer:Changes in system behavior, workflow, time passage, and state transitions.

  42. Question:Name the creators' company for UML standardization.

    Answer:Rational Software, where three engineers developed it as an industry standard.

  43. Question:What connects components in a composite structure diagram?

    Answer:Connecting lines drawn between components to show relations and communications.

  44. Question:Why use backward design UML diagrams for project improvement?

    Answer:To document actual workflow reality and identify areas for future enhancements.

  45. Question:What dominates the programming world per the module?

    Answer:Object-oriented languages, due to their ability to model real-world objects.

  46. Question:Define the scope of UML applications beyond software.

    Answer:Includes business processes, project workflows, and process flows in manufacturing.

  47. Question:What is the key benefit of UML in software engineering processes?

    Answer:Standard visualization aiding forward and backward design for better developer understanding.

  48. Question:How do UML diagrams assign responsibility in projects?

    Answer:By visualizing aspects of the project and specifying who handles each activity.

  49. Question:What example illustrates an object diagram's use?

    Answer:Showing 'Customer 1' attributes from a 'Customers' class to test viability.

  50. Question:Contrast imperative and object-oriented paradigms.

    Answer:Imperative follows steps; object-oriented defines interacting objects modeling real world.

  51. Question:What updates has UML seen since creation?

    Answer:Very few updates, maintaining it as the standard modeling language.

  52. Question:Define behavioral UML diagrams' project breakdown focus.

    Answer:How the system behaves, involving components and actors dynamically.

  53. Question:What is UML's developmental role in software fields?

    Answer:General-purpose modeling language for engineering complex systems visually.

  54. Question:How does a package diagram aid visualization?

    Answer:By grouping packages and connecting them to show big-picture relationships.

  55. Question:Why model with OOP languages using UML?

    Answer:To manipulate real-world objects through interacting defined entities.

  56. Question:What business use extends UML's modeling?

    Answer:Processes where modeling is useful, like workflows and manufacturing.

  57. Question:Specify the three strengths UML draws from for consistency.

    Answer:Object-Oriented Design, Object Modeling Technique, Object-Oriented Software Engineering.

  58. Question:What is the viability test provided by object diagrams?

    Answer:Seeing if class diagram systems work when instantiated in practice.

  59. Question:Name a key UML learning topic from the module plan.

    Answer:Types of UML diagrams and designing application diagrams.

  60. Question:How do UML diagrams enhance developer foresight in forward design?

    Answer:By allowing better visualization of the system before coding begins.

  61. Question:What declarative aspect distinguishes OOP paradigms?

    Answer:OOP expresses algorithms via object definitions and interactions.