EBK SOFTWARE ENGINEERING
EBK SOFTWARE ENGINEERING
10th Edition
ISBN: 9780133943238
Author: SOMMERVILLE
Publisher: PEARSON CO
Expert Solution & Answer
Book Icon
Chapter 16, Problem 16.1E

Explanation of Solution

‘provides’ interface:

It is the interface that defines the services that are provided by the component and also defines the methods that can be called by a user of the component.

‘requires’ interface:

It is the interface that defines the services that must be provided by other components in a system if a component operates correctly. If these are unavailable, then the component does not work.

Uses of ‘provides’ and ‘requires’:

  • These interfaces are used in the component because the use of component is completely independent of its implementation.
  • When the interfaces are not used in the component interactions, then the coupling between the components increases and it becomes difficult to interchange one component for an equivalent component with the same interface.
  • A component should be independent so that it becomes easy to compose and deploy without specific components. But if the components are not independent then it requires ‘provides’ services externally and ‘requires’ interface explicitly.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
How can interfaces be used to define contracts and enforce design by contract principles in software development?
In order for a user interface to be successful, it is necessary for it to possess the functional attributes that are outlined and specified below. Which abilities are the most crucial to have? Will there be uniform care for all of the different systems? Provide an illustration to provide credence to your claims.
List six interface design situations where software representations may aid. If you're creating a smart system's interface, how will you phased test?
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education