Вы находитесь на странице: 1из 8

Assignment

Group No:05
Name: Gulshan
Panjwani,Hussain
Noori,Rajesh
kumar,abhinav sharma
Batch: PGDSD JAN-2010
Problem: CRC card design

Step 1: Final list of classes

VCL_Controller

DKR_Author

Author

Student

Login_Manager

Registration_Manager

Display_Manager

DKR_Manager

Assessment_Manager

Substance_Manager

Apparatus_Manager

AssessmentEvaluation_Manager

Database_Handler

Reaction_Validator

Workplace_Manager

Step 2: Rename the classes

User(DKR_Author/Author/Student)

Identification of Hidden Classes:


Login_Manager, Registration_Manager, Display_Manager, DKR_Manager,
Assessment_Manager, Substance_Manager, Apparatus_Manager,
AssessmentEvaluation_Manager, Database_Handler, Reaction_Validator

CRC Cards:
CRC Card for VCL_Controller:

VCL_Controller Collaborators
Responsibilities
Display VCL home page. Login_Manager
Ask user to login. Registration_Manager
Ask user for signup. Display_manager
Ask user for logout.

CRC Card for Registration_Manager:

Registration _Manager Collaborators


Responsibilities
Ask Display_Manager to display the registration Display_Manager
page. Database_Handler
Ask user to fill the registration details.
Save the registration details into the database.

CRC for Login_Manager:

Login_Manager Collaborators
Responsibilities
Validate the user . User
Ask Display_Manager to Display user home Database_Handler
page according to his/her role. Display_Manager
CRC for User :

User Collaborators
Responsibilities
Allow the user to log into the Home page Display_Manager
Ask Display_Manager to display Home Page DKR_Manager
according to User Login. Assessment_manager

CRC for Display_Manager:

Display_Manager Collaborators
Responsibilities
Display VCL Home Page
Display Registration page
Display DKR_Author Home Page
Display Author Home Page
Display Assessment Description Page
Display Manage Substance Page
Display Manage Apparatus Page
Display Work Place
Display Marking Scheme Page
Display Periodic Table
CRC for DKR_Manager:

DKR_Manager Collaborators
Responsibilities
Ask User(DKR_Author) to fill entries Database_Handler
Ask User (DKR_Author) to perform Add, Edit, Display_Manager
Delete and Search operations. VCL_Controller
Ask Display_Manager to display reaction table
Ask User(DKR_Author) to save the entries into
database
Ask VCL_ Controller to logout .

CRC for Assessment_Manager :

Assessment_Manager Collaborators
Responsibilities
Ask User(Author) to fill entries Database_Handler
Ask Display_Manager to display Assessment Display_Manager
Description Page Substance_Manager
Ask User(Author) to perform add, edit, delete and VCL_Controller
search operations
Save entries into Database
Ask Substance_manager to manage substance
Ask VCL_ Controller to logout .

CRC for Substance_Manager:

Substance_Manager Collaborators
Responsibilities
Ask User(Author) to fill entries Database_Handler
Ask Display_Manager to display Manage Display_Manager
Substance Page Apparatus_Manager
Ask User(Author) to perform add, edit and delete VCL_Controller
operations
Save entries into Database
Ask Apparatus_Manager to manage apparatus
Ask VCL_ Controller to logout .
CRC for Apparatus_Manager :

Apparatus_Manager Collaborators
Responsibilities
Ask User(Author) to fill entries Database_Handler
Ask Display_Manager to display Manage Display_Manager
Apparatus Page Workplace_Manager
Ask User(Author) to perform add, edit and delete VCL_Controller
operations
Save entries into Database
Ask Workplace_manager to display workplace.
Ask VCL_ Controller to logout .

CRC for Workplace_Manager :

Workplace_Manager Collaborators
Responsibilities
Ask User(Author) to select the substances and Display_Manager
apparatus Database_Handler
Ask Display_Manager to display the workplace Reaction_Validator
Ask User(Author) to select the action to AssessmentEvaluation_Manager
performed VCL_Controller
Ask Display_Manager to display experiment
Information.
Ask Reaction_Validator to checks the result of
the reaction formed during the experiment
process for the particular steps and matches with
the “DKR” database
Ask User(Author) to fill the observations and
cautions for particular steps
Save the steps into the database .
Ask AssessmentEvaluation_Manager to manage
marking Scheme
Ask VCL_ Controller to logout .
CRC for Reaction_Validator :

Reaction_Validator Collaborators
Responsibilities
Ask Database_Handler to check reaction details Database_Handler
from database(DKR) Display_Manager
Ask Display_Manager to display the reaction
result
Ask Display_Manager to display the message for
valid or invalid result

CRC for AssessmentEvaluation_Manager:

AssessmentEvaluation_Manager Collaborators
Responsibilities
Ask User(Author) to fill entries Database_Handler
Ask Display_Manager to display Marking Display_Manager
Scheme Page VCL_Controller
Ask User(Author) to perform add, edit and delete
operations
Save entries into Database.
Ask VCL_ Controller to logout .
CRC for Database_Handler :

Database_Handler Collaborators
Responsibilities
Save User registration details into Database.
Save changes(Add/Edit/Delete) of DKR Entries
into the Database
Save changes(Add/Edit/Delete) of Assessment
Entries into Database
Save changes(Add/Edit/Delete) of Substance
Entries into Database
Save changes(Add/Edit/Delete) of Apparatus
Entries into Database
Save changes (Add/Edit/Delete) of Assessment
Evaluation Details into Database
Save User(Author) Experiment Steps
details(Author’s Solution) into Database Entries
into Database

Вам также может понравиться