Question: Create a UML class diagram for the following statement. Your design should include classes, attributes, methods, relationships (associations) among the classes. The following brief problem
Create a UML class diagram for the following statement. Your design should include classes, attributes, methods, relationships (associations) among the classes. The following brief problem statement was developed by David Parnas in 1972[1]:
The KWIC [Key Word in Context] index system accepts an ordered set of lines; each line is an ordered set of words, and each word is an ordered set of characters. Any line may be circularly shifted by repeatedly removing the first word and appending it at the end of the line. The KWIC index system outputs a listing of all circular shifts of all lines in alphabetical order.
I want to modify this slightly by adding that this system should only do the circular shift for nouns. Thus, it will have to track nouns and non-noun words.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
