1 / 7

Exercise 7 OOD

Exercise 7 OOD. Exercise – Cohesion. Write a code that explore the following cohesion levels: Coincidental, Logical, Temporal, Procedural, Communicational, Functional , Informational. Exercise – Cohesion (Cont’d). Module 1: Manage display of Flights timing.

Download Presentation

Exercise 7 OOD

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Exercise 7 OOD

  2. Exercise – Cohesion • Write a code that explore the following cohesion levels: • Coincidental, • Logical, • Temporal, • Procedural, • Communicational, • Functional , • Informational.

  3. Exercise – Cohesion (Cont’d) Module 1:Manage display of Flights timing. Module 2:Activate printer.Disable alarm. Convert parameter from binary to ASCII.Clear Display. Module 4:Get next Arriving Flight Identification, and update arrival record. Module 3:Calculate arrival time, and display it on Display Board. Module 6:Compute:Arrival Time, Or Departure Time, OrDelay Time, Or Total Delay Time. Module 5:Reset Display Board, Clear Input registers, Send ‘Ready’ signal. Module 7:Display: Arrival Time, Or Departure Time, OrDelay Time, Or Total Delay Time.

  4. Exercise – Cohesion (Cont’d) • Module1: Functional, • Module2: Coincidental, • Module3: Communicational, • Module4: Procedural, • Module5: Temporal, • Module6: Logical, • Module7: Logical , • From a final exam…

  5. Exercise – Coupling • Write a code that explore the following coupling levels: • Content, • Common, • Control, • Stamp , • Data.

  6. From Encapsulation To Info. Hiding • What is the difference between Data encapsulation and Abstract data type? • What is the difference between abstraction and information hiding?

  7. Exercise 7 OOD The End

More Related