0% found this document useful (0 votes)
39 views2 pages

Class Diagram

The document contains four questions asking to draw UML diagrams representing different systems and relationships. It also contains a response describing the role design patterns play in improving the software engineering process such as providing reusable solutions, scalability, maintainability, better communication between team members, proven solutions to common problems, quality and performance of software.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views2 pages

Class Diagram

The document contains four questions asking to draw UML diagrams representing different systems and relationships. It also contains a response describing the role design patterns play in improving the software engineering process such as providing reusable solutions, scalability, maintainability, better communication between team members, proven solutions to common problems, quality and performance of software.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

NAME: BUTAD, JOHN ESTEVE DATE: 12/4/2023

COURSE&SECTION: BSCS-1E SUBJECT: INTO TO COMPUTING

1. Draw a use case diagram of a library records system.

Here’s the link just in case; https://lucid.app/lucidchart/b231a881-e0ce-4c12-a782-d8a840b14c46/


edit?viewport_loc=151%2C37%2C1483%2C564%2C0_0&invitationId=inv_f662e9e1-4464-4adc-b85f-
d092f644c203

2. Draw a class diagram representing the relationship between travelers and the hotels in which they
stay.
Here’s the link just in case; https://lucid.app/lucidchart/285a614d-0579-45af-b085-83faa8d555b8/
edit?viewport_loc=-328%2C-96%2C2362%2C899%2C0_0&invitationId=inv_5fe5ee78-2b01-47ab-a1f3-
44b9e0b7f261
3. Draw a class diagram representing the fact that a person is a generalization of an employee. Include
some attributes that might belong to each.

Here’s the link just in case; https://lucid.app/lucidchart/cbe1af85-3470-4e64-8e6c-51324247b5d9/


edit?viewport_loc=-79%2C-1%2C1720%2C655%2C0_0&invitationId=inv_c2e4cd93-c1b9-4bed-a1a9-
603f9926358f

4. What role do design patterns play in the software engineering process?


Design patterns in software engineering play a crucial role in improving the development process and
ensuring robust, scalable, and maintainable software solutions. Here's how they contribute:

Reusable Solutions: Design patterns provide proven solutions to recurring design problems. They
encapsulate best practices, making it easier to reuse successful approaches to common issues. This
reusability speeds up development and helps maintain consistency across different projects.

Scalability and Maintainability: Using design patterns leads to more modular, flexible, and
maintainable code. They help in organizing code in a way that makes it easier to extend and modify,
thereby improving scalability as the software evolves.

Communication: Design patterns offer a common language for developers to communicate about
solutions. When team members are familiar with design patterns, it becomes easier to discuss and
understand different parts of the codebase, enhancing collaboration.

Problem Solving: They provide solutions to specific problems in software design. For example, the
Singleton pattern addresses the need for a single, globally accessible instance of a class. Knowing and
applying these patterns allows developers to tackle problems effectively without reinventing the
wheel each time.

Quality and Performance: Using well-established design patterns often leads to higher-quality
software. These patterns have been refined over time and are generally accepted as robust solutions,
reducing the likelihood of design flaws or bugs. Additionally, they can contribute to better
performance by promoting efficient coding practices.

Design Consistency: Design patterns encourage consistent solutions to common problems across an
application or system. This consistency helps in maintaining a coherent design structure throughout
the codebase.

You might also like