Throughout this module we have discussed the five steps invo
Throughout this module, we have discussed the five steps involved in the program development. The first three of these steps include the following:
Gather requirements
Use CRC cards to find classes, responsibilities, and collaborators
Use UML diagrams to record class names, attributes, methods, and relationships
Apply these steps to the following program scenario:
A program is needed that acts as a BankAccount application. It should allow for the user to check their balance for Checking and Savings accounts. Analyze the requirements needed for this application. Then complete the first three steps of the program development process for this application.
Compile the components of these first three steps into a Word document, and submit your assignment by the posted due date.
Solution
elegance-responsibility-collaboration (CRC) cards are a brainstorming tool used within the layout of item-orientated software program. They had been originally proposed through Ward Cunningham and Kent Beck as a teaching device,[1] however also are famous amongst expert designers[2] and endorsed via intense programming supporters.[3] Martin Fowler has described CRC playing cards as a viable alternative to UML collection diagram to layout the dynamics of object interaction and collaboration.[2]
CRC playing cards are commonly created from index playing cards. individuals of a brainstorming session will write up one CRC card for every applicable elegance/object of their design. the cardboard is partitioned into three areas:[1][2]
On top of the cardboard, the magnificence name
at the left, the obligations of the elegance
on the proper, collaborators (different instructions) with which this magnificence interacts to fulfill its obligations
the use of a small card continues the complexity of the design at a minimum. It focuses designers at the essentials of the magnificence and prevents them from stepping into its information and implementation at a time when such element might be counter-efficient. It also discourages giving the magnificence too many responsibilities. because the playing cards are transportable, they can easily be laid out on a desk and re-arranged whilst discussing a layout.
