• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CLASS DIAGRAMS, SEQUENCE DIAGRAMS,CLASS INTERACTION DIAGRAM

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
my assignment question:

You are required to develop an Interactive Intelligent Kitchen Helper (IIKH) system to help organize recipes and meals.
The Objectives:
�To learn more about the important aspects related to object-oriented analysis and design.
�To learn how to draw interaction and class diagram.
�To learn how to draw a systems sequence diagram, prototype.
�To learn more about the steps involved in CRC design, the purpose of using CRC cards
System Specifications:
�Assume the system follows the model described by the system sequence diagram and conceptual diagram.
�In the IIKH system, assume that a recipe consists of a set of ingredients together with a method of preparation, and a meal consists of a set of recipes.
Your Tasks:
1.Identify the requirements, the functions, that the user must allow using in this system.
2.Identify the classes and objects.
3.Show in a diagram and the class interactions.
4.Create abstractions and mechanisms that provide the behavior of class objects.
5.Identify clearly all variables and methods of each class, so as to obtain the necessary behavior of its objects and to enable the required interactions of objects described above.
6.Prepare the CRC cards for each of the classes detailed above: List the member variables on the reverse of the cards.
7.Draw a class relationship diagram and sequence diagram for the system.
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Ranch Gang doesn't "do homework" but we'll happily give some tips and see how you do. Start with the first bullet in your assignment: Identify the requirements, the functions, that the user must allow using in this system. Can you make up some "stories" about how somebody uses the program? Here are some sample story names from the ranch ...

1) User logs into the ranch
2) User views a list of available forums
3) User selects a forum and views a list of threads
4) User selects a thread and views content
5) User searches for threads with a given keyword

For each of these stories, drill down to a flow of events. Logon might look like:

1) User enters ranch URL
2) System displays home page
3) User types userid & password
4) User hits Login button
5) System displays welcome page with user's name on it

If they're much longer than that, you're probably overdoing details. You might draw some screens with pencil & paper to go with these if the screens are too tricky to describe to somebody in a sentence or two. Write some failure flows, too - like bad password.

See how this step goes. You might wind up with a five or ten pages of handwritten notes. BTW: For a class, you may not need 100% complete lists or flows - maybe just enough to prove you can do it.
 
reply
    Bookmark Topic Watch Topic
  • New Topic