U 3
U 3
U 3
processing system
Language processing System
Component Level Design
• Principles :-
• The Open-Closed Principle (OCP). “A module [component] should be
open for extension but closed for modification.
• The Liskov Substitution Principle (LSP). “Subclasses should be
substitutable for their base classes.
• Dependency Inversion Principle (DIP). “Depend on abstractions. Do not
depend on concretions.”
• The Interface Segregation (Separation) Principle (ISP). “Many client-
specific interfaces are better than one general purpose interface.
• The Release Reuse Equivalency Principle (REP). “The granule of reuse
is the granule of release.”
• The Common Closure Principle (CCP). “Classes that change together
belong together.”
• The Common Reuse Principle (CRP). “Classes that aren’t reused
together should not be grouped together.”
Component level Design steps
• Step 1. Identify all design classes that correspond to the
problem domain.
Command Line Interface: The Command Line Interface provides a command prompt,
where the user types the command and feeds it to the system. The user needs to
remember the syntax of the command and its use.