1 / 6

IT323 Software Engineering II

IT323 Software Engineering II. Tutorial#5 CBSE. Q1.

pabla
Télécharger la présentation

IT323 Software Engineering II

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. IT323 Software Engineering II Tutorial#5 CBSE

  2. Q1 • Consider the two components below: Data collector and Sensor. The Data collector component requires the services provided by Sensor component to get the SensorManagement and SensorData. From the above specification, compose the two components. • Which type of component composition used? Is there any type of interface incompatibility?

  3. Q1

  4. Q1 Type of Composition: Hierarchical composition Type of interface incompatibility: Operation incompleteness & operation incompatibility

  5. Q2 • In a photo library system, components are used to implement a system that download images from a digital camera and stores them in a photograph library. The components are: Photo Library, Image Manager, and User interface. Each component provides the following services: • Photo Library:public void addItem (Identifier pid ; Photograph p; CatalogEntryphotodesc) ; • Image Manager:public Photograph retrieve (Identifier pid) ; • User interface:public CatalogEntrycatEntry (Identifier pid) ; • Compose the components using the right composition type?

  6. Q2

More Related