Made with ScholarlyMake flashcards like these from your own notes
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.
Question:Who created the Unified Modeling Language according to the course material?
Answer:Three software engineers at the company Rational Software for their projects.
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.
Question:How many UML diagrams are there in the current version?
Answer:Thirteen UML diagrams, up from the original nine in earlier versions.
Question:What are the two main categories into which UML diagrams are divided?
Answer:Structural diagrams and behavioral diagrams.
Question:What does static modeling in UML primarily show?
Answer:Things like classes, objects, interfaces, and the relationships between them.
Question:Name two examples of UML diagrams used for static modeling.
Answer:Class diagrams and object diagrams.
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.
Question:Provide three examples of UML diagrams for dynamic modeling.
Answer:Interaction diagrams, object diagrams, and activity diagrams.
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.
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.
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.
Question:What are the four problem-solving model categories in computer science mentioned?
Answer:Imperative, functional, declarative, and object-oriented.
Question:In object-oriented programming, how are algorithms expressed?
Answer:By defining objects and having those objects interact with each other.
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.
Question:What three object-oriented notations combine to form UML?
Answer:Object-Oriented Design, Object Modeling Technique, and Object-Oriented Software Engineering.
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.
Question:What are the three fields in a UML class diagram?
Answer:The class name, its attributes, and behaviors or operations.
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.
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.
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.
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.
Question:When is a package diagram particularly helpful?
Answer:For showing complex systems and behaviors that are hard to visualize in detail.
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.
Question:How does UML extend beyond software development?
Answer:To applications like process flow in manufacturing and other business processes.
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.
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.
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.
Question:What real-world entities can object-oriented models represent?
Answer:Buildings, widgets on a desktop, or human beings as manipulable objects.
Question:Define a UML diagram's role in forward versus backward design.
Answer:Forward: pre-coding visualization; Backward: post-coding documentation for workflow improvement.
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.
Question:Name the UML diagram types originating from Rational Software.
Answer:Thirteen diagrams including structural like class and behavioral like activity.
Question:How does UML facilitate complex software implementation?
Answer:Through semantically and syntactically rich visual modeling for architecture, design, and behavior.
Question:What problem-solving paradigm does OOP belong to in computer science?
Answer:Object-oriented, one of four categories: imperative, functional, declarative, object-oriented.
Question:Why is UML considered a general-purpose modeling language?
Answer:Applicable in software engineering and beyond, like business processes and manufacturing flows.
Question:Describe the relationship lines in a class diagram.
Answer:Different types of lines connect each class to show relationships between classes.
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.
Question:Compare object and composite structure diagrams as class subsets.
Answer:Object shows class instance; composite shows internal class components and communications.
Question:What is the study of algorithms and data in computer science?
Answer:Computer science, encompassing paradigms like object-oriented modeling with UML.
Question:How has the number of UML diagram types evolved?
Answer:From nine types in the original UML to thirteen in the second version.
Question:What behavioral aspect does dynamic UML modeling capture?
Answer:Changes in system behavior, workflow, time passage, and state transitions.
Question:Name the creators' company for UML standardization.
Answer:Rational Software, where three engineers developed it as an industry standard.
Question:What connects components in a composite structure diagram?
Answer:Connecting lines drawn between components to show relations and communications.
Question:Why use backward design UML diagrams for project improvement?
Answer:To document actual workflow reality and identify areas for future enhancements.
Question:What dominates the programming world per the module?
Answer:Object-oriented languages, due to their ability to model real-world objects.
Question:Define the scope of UML applications beyond software.
Answer:Includes business processes, project workflows, and process flows in manufacturing.
Question:What is the key benefit of UML in software engineering processes?
Answer:Standard visualization aiding forward and backward design for better developer understanding.
Question:How do UML diagrams assign responsibility in projects?
Answer:By visualizing aspects of the project and specifying who handles each activity.
Question:What example illustrates an object diagram's use?
Answer:Showing 'Customer 1' attributes from a 'Customers' class to test viability.
Question:Contrast imperative and object-oriented paradigms.
Answer:Imperative follows steps; object-oriented defines interacting objects modeling real world.
Question:What updates has UML seen since creation?
Answer:Very few updates, maintaining it as the standard modeling language.
Question:Define behavioral UML diagrams' project breakdown focus.
Answer:How the system behaves, involving components and actors dynamically.
Question:What is UML's developmental role in software fields?
Answer:General-purpose modeling language for engineering complex systems visually.
Question:How does a package diagram aid visualization?
Answer:By grouping packages and connecting them to show big-picture relationships.
Question:Why model with OOP languages using UML?
Answer:To manipulate real-world objects through interacting defined entities.
Question:What business use extends UML's modeling?
Answer:Processes where modeling is useful, like workflows and manufacturing.
Question:Specify the three strengths UML draws from for consistency.
Answer:Object-Oriented Design, Object Modeling Technique, Object-Oriented Software Engineering.
Question:What is the viability test provided by object diagrams?
Answer:Seeing if class diagram systems work when instantiated in practice.
Question:Name a key UML learning topic from the module plan.
Answer:Types of UML diagrams and designing application diagrams.
Question:How do UML diagrams enhance developer foresight in forward design?
Answer:By allowing better visualization of the system before coding begins.
Question:What declarative aspect distinguishes OOP paradigms?
Answer:OOP expresses algorithms via object definitions and interactions.