Skip to content

ayyse/Object-Orianted-Programming

Repository files navigation

Object-Orianted-Programming

patika.dev object orianted programming assignments

Assignment1 University Management System UML Diagram

  • There are classrooms, study offices and departments belonging to the university.
  • There are offices belonging to the departments.
  • There are university employees. These employees can be professors or officers.
  • Every employee works in an office.

Draw the Class diagram describing this system.

Note: It is not necessary to specify the attributes and behaviors of the classes.

uml-diagram


Assignment2 Zoo Management UML Diagram

Animals:

  • Horses (horse, zebra, donkey etc.),

  • Felines (tiger, lion etc.),

  • Rodents (rat, beaver etc.)

  • Most of the information stored about animals is the same for all groupings.

  • species name, weight, age, etc.

  • The system should also be able to take the dosage of specific drugs for each animal => getDosage ()

  • The system should be able to calculate the feeding times => getFeedSchedule ()

  • The logic for the system to perform these functions will be different for each grouping. For example, the feeding algorithm will be different for horses and different for tigers.

Using the polymorphism model, design a class diagram to handle the situation described above.

uml-diagram


Assignment3 Flight Management System UML Diagram

Design a system for the management of flights and pilots.

  • Airline companies operate the flights. Every airline has an identity.
  • The airline company has different types of airplane.
  • Airplane may be in operation or in a state of repair.
  • Each flight has a unique identity, airport to take off and land at, and departure and landing times.
  • Every flight has a pilot and co-pilot, and they use the plane.
  • Airports have unique IDs and names.
  • Airline company have pilots, and each pilot has a level of experience.
  • An airplane type may need a certain number of pilots.

Draw the Class diagram describing this system.

uml-diagram


Assignment4 Online Movie System UML Diagram

Design the system of the application that sells or rents movies online.

  • Movies can be listed and sorted in the app and users can subscribe to the app.
  • Users buy credits through the system for subscription.
  • Only subscribed users can rent movies with their credits and the credit value of the rented movie is deducted from their account.
  • Regular users and subscribers can buy movies.
  • If the film is not available, it can be requested.

Draw the Class diagram describing this system.

uml-diagram


Assignment5 Elevator Simulation UML Diagram

uml-diagram

About

patika.dev object orianted programming assignments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published