Essays24.com - Term Papers and Free Essays
Search

Object Oriented Analysis and Design Assignment

Essay by   •  February 23, 2017  •  Coursework  •  1,372 Words (6 Pages)  •  1,002 Views

Essay Preview: Object Oriented Analysis and Design Assignment

Report this essay
Page 1 of 6

[pic 2]

 Object Oriented Analysis & Design (CCT102)

Assignment

Term 3, 2016

[pic 3][pic 4][pic 5][pic 6][pic 7][pic 8][pic 9][pic 10]

Student’s ID        018800022156

Student’s Name                        Shakeef Saneer        

Lecturer’s Name        TAN KIA WAI

Course        IDITC

[pic 11][pic 12][pic 13][pic 14]

STUDENT DECLARATION:

I declare that:

  • I understand what is meant by plagiarism.
  • The implication of plagiarism has been explained to me by my institution.

  • This assignment is all my own work and I have acknowledged any use of the published and unpublished works of other people.

Student’s Signature: Shakeef

Submission Date: 15th Nov 2016

[pic 15][pic 16][pic 17][pic 18]

FOR OFFICIAL USE ONLY:

Marker’s Comments

Marker’s Name:

Initial Marks Awarded

                /100

Penalty on Late Submission

Final Marks Awarded

                /100

Contents

1.        Identify and briefly explain the objects, classes, methods and attributes for the lorry rental system.        3

2.        Draw a use case diagram to represent the lorry rental System.        8

3.        Draw a Class Diagram that models the lorry rental System        9


  1. Identify and briefly explain the objects, classes, methods and attributes for the lorry rental system.
  • Objects

Objects are people, spots, or things that are pertinent to the framework we are breaking down. Protest arranged frameworks portray elements as items. Run of the mill articles might be clients, things, requests, et cetera. Articles may likewise be GUI presentations or content areas on the show.

  • Classes

A class is an outline or layout or set of guidelines to construct a particular sort of protest. Each question is worked from a class. Every class ought to be outlined and customized to finish one, and one and only, thing. (You'll take in more about the Single Obligation Rule in Question arranged programming ideas: Composing classes.) In light of the fact that every class is intended to have just a solitary duty, numerous classes are utilized to manufacture a whole application.

  • Methods

A method is an activity that can be asked for from any question of the class. Strategies are the procedures that a class knows to do. Method are likewise called operations. For the class of rentCar(), rentOut(), checkIn(), and administration() are cases of method. While determining strategies, the primary letter is typically lowercase.

  • Attributes

An attribute describes some property that is controlled by all objects of the class. See that the RentalCar class has the characteristics of size, shading, make, and model. All autos have these traits, yet every auto will have distinctive qualities for its characteristics. For instance, an auto can be blue, white, or some other shading. Later on we will exhibit that you can be more particular about the scope of qualities for these properties. At the point when determining properties, the primary letter is typically lowercase.

Objects:

  1. lorry- a lorry rental system should have enough lorries to rent out.

Attributes:

  • model- before the customer rent they'll check for the latest model
  • color- keeping different colors will make the customer choice easier
  • size- size matters for each customers
  • speed- the efficiency for transporting goods
  • licence- valid registration
  • registrationNumber

Method:

  • carryWeight()- able to transport heavy items
  • provideSpace()- can carry a large amount of items
  • service()- service the lorry

  1. Insurance

Attributes:

  • insuranceId-  company id
  • expiryDate- insurance expiry
  • amountPaid- Paid amount for the insurance
  • insuranceType- Package
  • dateOfPurchase- Purchase date
  • address- address of company registered

Method:

  • claimDamage()
  • renewPackage()
  • applyInsurance()

  1. employee- the workers will be used to keep the whole system running.

Attributes:

  • position- employee position
  • name- name of the employee
  • salary- monthly salary
  • id- employee ID
  • password- user password of employee
  • address- employee address

Method:

  • verifyPayment()- before receiving the lorry payment should be verified
  • deliverVehicle()- once all the process is done the lorry will be delivered to the customer
  • generateReport()- Generate reports for the vehicle
  • registerVehicle()
  • updateRent()

  1. computer- important to keep the daily records of all transactions.

Attributes:

  • staffData- Staff details
  • customerData- Customer details
  • logs- daily logs of rent
  • accounts- financial reports
  • login- user login

Method:

  • updateData()
  • addCustomer()
  • promoteRent()

  1. rent-

Attributes:

  • plateNumber- lorry registered number
  • rentDate- dat of rental
  • dailyRentFee- rental fee
  • customerID- customer id
  • employeeID- employee id
  • downPayment- advance payment
  • returnDate- rent return date

Method:

  • rentOut()
  • updateRent()
  • viewReservation()
  • viewRent()

  1. Bill- Payment for the rent.

Attributes:

  • billNumber- Number of bill
  • booking- booking details
  • payableAmount- amount to be paid by customer
  • totalPaid- total amount paid
  • rentDate- rental date
  • durationDate- no of renting days
  • contact- customer and company contact details

Method:

  • modifyInformation()
  • calculatePayment()
  • createBill()

  1. customer- the person who will rent the lorry

Attributes:

  • fullName- customer full name
  • identificationNumber- IC number
  • email- customer contact
  • fileNumber- file register number
  • mobile- customer mobile
  • nationality- born country
  • occupation- student, employed or own career
  • customerID- new id for customer

Method:

  • createCustomer()
  • updateCustomer()
  • makeChoices()

  1. mechanic- will be the one to repair the lorries

Attributes:

  • name- name of the mechanic
  • id- id number
  • skills- talents
  • salary- monthly salary for the employee

Method:

  • modifyLorry()
  • repairLorry()
  • mainainCondition()

  1. Agreement:

Attribute:

  • vehicleNo
  • signature
  • hireDate
  • nameOfEmployee

Method:

  • confirmAgreement()
  • displayPolicies()
  • readAgreemnet()

  1.  Maintenance

Attribute:

  • serviceDate-
  • staffMaintainced
  • inspection
  • cost
  • nextServiceDate

Method

  • service()
  • inspectVehicle()
  • writeReport()
  1. Draw a use case diagram to represent the lorry rental System.

[pic 19]

[pic 20][pic 21]


[pic 22][pic 23][pic 24][pic 25][pic 26][pic 27][pic 28][pic 29][pic 30][pic 31][pic 32][pic 33][pic 34][pic 35][pic 36][pic 37][pic 38][pic 39][pic 40][pic 41][pic 42][pic 43][pic 44][pic 45][pic 46][pic 47][pic 48][pic 49][pic 50][pic 51][pic 52][pic 53][pic 54][pic 55][pic 56][pic 57][pic 58][pic 59][pic 60][pic 61][pic 62][pic 63][pic 64][pic 65][pic 66][pic 67][pic 68][pic 69][pic 70][pic 71][pic 72][pic 73]

...

...

Download as:   txt (7.2 Kb)   docx (70.8 Kb)  
Continue for 5 more pages »
Only available on Essays24.com
Citation Generator

(2017, 02). Object Oriented Analysis and Design Assignment. Essays24.com. Retrieved 02, 2017, from https://www.essays24.com/essay/Object-Oriented-Analysis-and-Design-Assignment/74410.html

"Object Oriented Analysis and Design Assignment" Essays24.com. 02 2017. 2017. 02 2017 <https://www.essays24.com/essay/Object-Oriented-Analysis-and-Design-Assignment/74410.html>.

"Object Oriented Analysis and Design Assignment." Essays24.com. Essays24.com, 02 2017. Web. 02 2017. <https://www.essays24.com/essay/Object-Oriented-Analysis-and-Design-Assignment/74410.html>.

"Object Oriented Analysis and Design Assignment." Essays24.com. 02, 2017. Accessed 02, 2017. https://www.essays24.com/essay/Object-Oriented-Analysis-and-Design-Assignment/74410.html.