Question

In: Computer Science

What are CRC cards and use-case scenarios used for in object-oriented analysis and design?

What are CRC cards and use-case scenarios used for in object-oriented analysis and design?

Solutions

Expert Solution

CRC Card:
    Class Responsibility Collaboration. They are simple to easy create and easy to learn. They are used when we have to brainstorm our minds to decide the design of an object oriented software Each CRC card represents a class.
A card has its own CRC term
First C is the class name

R is the responsibilities that class has (Responsibility cover 3/4 of your card from the left)
Last C is the collaborators.
On the left hand side we always have Responsibilities and on the right side we have collaborators. e.g
Class Name: Payment

Responsibilities    | Collaboration
Store payment details | Order
validate payment |

Use-Case Scenarios:

Use case scenarios are used to describe what users will be using the software in a plain diagram the users in use case scenarios are called as actors . A use case diagram consist of a box inside the box all functions are described and outside the box we label are actors and then we join them with one-another. A basic use case diagram is used to map the functions to its actors it help us to understand what function of the class is for which person. It is very helpful in object oriented analysis in design it's suggested to create a use case diagram for a project to firstly understand the working later on we make extended use case of all the functions which are defined to understand the pre-conditions , post-conditions , functionality of that particular function and its description.

IF YOU HAVE ANY QUERY PLEASE COMMENT DOWN BELOW

PLEASE GIVE A THUMBS UP


Related Solutions

what is the essence of the object oriented analysis and design approach with UML diagramming tools
what is the essence of the object oriented analysis and design approach with UML diagramming tools
What factors should be considered in selecting a design strategy? (object oriented design and analysis) Name...
What factors should be considered in selecting a design strategy? (object oriented design and analysis) Name different computing Client-Server architectures and give examples of the architectures. What are the main principles for User Interface Design? Describe any one of the principles in detail. Name five steps in the user interface design process. Describe types of navigation control in the user interface. Name basic principles of output design.
Explain Basic Characteristics of Object Oriented System Analysis & Design.
Explain Basic Characteristics of Object Oriented System Analysis & Design.
What are the object oriented concepts and which all object oriented concepts are used in the...
What are the object oriented concepts and which all object oriented concepts are used in the given program? Consider the following code and explain how each of the object oriented concepts are applied in the given program. (CO1) class Vehicle { string brand; public: void honk(); void honk(int); }; void Vehicle::honk() { cout << "Tuut, tuut! \n" ; } void Vehicle::honk(int x) { for(int i=0;i<x;i++) cout << "Tuut, tuut! \n" ; } int main() { Vehicle V1; V1.honk(); V1.honk(3); }
Fully describe the process that must be followed to do use case realization with crc cards
Fully describe the process that must be followed to do use case realization with crc cards
design a program that solves matrices by the method of gauss-seidel use the object-oriented language c...
design a program that solves matrices by the method of gauss-seidel use the object-oriented language c ++
-What is object-oriented programming? -What is a class? -What is an object? -A contractor uses a...
-What is object-oriented programming? -What is a class? -What is an object? -A contractor uses a blueprint to build a set of identical houses. Are classes analogous to the blueprint or the houses? Explain. -What is a class diagram? How is it used in object-oriented programming? -What is an attribute in OOP? What is a data member? -What is a method in OOP? What is a member function? -What is the difference between private members and public members of a...
Briefly explain the terms used in object-oriented programming with examples.
Briefly explain the terms used in object-oriented programming with examples.
PHP You will be using the object oriented features of PHP to design a music album...
PHP You will be using the object oriented features of PHP to design a music album processing page. First you will build a form page called addAlbum.php. This form will contain text fields for album title, artist, publisher (Sony, BMI, etc.) and genre. Add two more fields of your choice. You will post this form to the file process.php. If all the fields have values, we will create a new Album object and print the details of the object. You...
Use composition relationship. What is composition? You will find out what composition in object oriented programming....
Use composition relationship. What is composition? You will find out what composition in object oriented programming. Based on the bedroom package below please create your own classroom package. After completing entire package, you will write about your package specification in Readme.txt and also explain how you apply composition to your project. package Bedroom; public class Bedroom { private String name; private Wall wall1; private Wall wall2; private Wall wall3; private Wall wall4; private Ceiling ceiling; private Bed bed; private Lamp...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT