Question

In: Computer Science

Create CRC card, class diagram and an object diagram for the school students' healthcare system that...

Create CRC card, class diagram and an object diagram for the school students' healthcare system that may have the entities represent a system for a student_patient billing system. Include only the attributes that would be appropriate for this context.

Student_Patient (age, name, hobbies, blood type, occupation, insurance carrier, address, phone)

Student_Insurance carrier (name, number of patients on plan, address, contact name, phone)

University_Doctor (specialty, provider identification number, golf handicap, age, phone, name)

Solutions

Expert Solution

CRC card is a kind of physical card that is used to represent a single class. CRC stands for "Class-responsibility-collaboration", it also includes name, attribute, collaboration and responsibility etc. For the school students' healthcare system, CRC card is as follows:

Class diagram is a UML or Unified Modeling Language diagram that is used to represent the static structure of the system. For the school students' healthcare system, class diagram is as follows:

Object diagram is a UML or Unified Modeling Language diagram that is used to represent the full or partial structure of the system. For the school students' healthcare system, object diagram is as follows:


Related Solutions

Use CRC to design information system for a school. Use following classes: Professor, Class, School, Department,...
Use CRC to design information system for a school. Use following classes: Professor, Class, School, Department, and Student, Identify the main responsibilities and collaborators for each class. Then draw a UML class diagram showing the relationships (and multiplicities) between the classes.
C++ Question Create a class for a card in a deck of playing cards. The object...
C++ Question Create a class for a card in a deck of playing cards. The object must contain methods for setting and retrieving the suit and the type of card (type of card meaning 2,3,4,5,6,7,8,9,10,J,Q,K,A). Separate the declaration of the class from its implementation by using the declaration in a header file and the implementation in a .cpp file. Also create a driver program and a makefile which complies the code and makes it able to run. This is more...
Read the narrative below for the City Healthcare Management System, and develop a CLASS DIAGRAM with...
Read the narrative below for the City Healthcare Management System, and develop a CLASS DIAGRAM with the following requirements: 1. List the attributes in each class (it is not given in the narrative), 2. For each class identify the key attribute, 3. Link the classes by drawing the associations between the classes, 4. For each association write the minimum and maximum multiplicity. Normally, one or many doctors, one or many nurse, and admin employees work in the clinic. The clinic...
*in Java 1.Create a card class with two attributes, suit and rank. 2.In the card class,...
*in Java 1.Create a card class with two attributes, suit and rank. 2.In the card class, create several methods: a. createDeck – input what type of deck (bridge or pinochle) is to be created and output an array of either 52 or 48 cards. b.shuffleDeck – input an unshuffled deck array and return a shuffled one. + Create a swap method to help shuffle the deck c. countBridgePoints – inputs a 13-card bridge ‘hand’-array and returns the number of high-card...
(a) Create a Card class that represents a playing card. It should have an int instance...
(a) Create a Card class that represents a playing card. It should have an int instance variable named rank and a char variable named suit. Include the following methods: A constructor with two arguments for initializing the two instance variables. A copy constructor. A method equals — with one argument — which compares the calling object with another Card and returns true if and only if the corresponding ranks and suits are equal. Make sure your method will not generate...
Create a class named GameCharacter to define an object as follows: The class should contain class...
Create a class named GameCharacter to define an object as follows: The class should contain class variables for charName (a string to store the character's name), charType (a string to store the character's type), charHealth (an int to store the character's health rating), and charScore (an int to store the character's current score). Provide a constructor with parameters for the name, type, health and score and include code to assign the received values to the four class variables. Provide a...
PYTHON A Class for a Deck of Cards We will create a class called Card whose...
PYTHON A Class for a Deck of Cards We will create a class called Card whose objects we will imagine to be representations of playing cards. Each object of the class will be a particular card such as the '3' of clubs or 'A' of spades. For the private data of the class we will need a card value ('A', '2', '3', ... 'Q', 'K') and a suit (spades, hearts, diamond, clubs). Before we design this class, let's see a...
Create a context diagram and a DFD for a system of your choice (or a system...
Create a context diagram and a DFD for a system of your choice (or a system to book appointments in a hospital).Your system should at least contains 4 processes. Steps: • Identify the processes that you want your system to accomplish. • Identify the external entities that may interacts with your system. •( Create context diagram (Level 0 DFD • Create DFD
Create the logic for an application that instantiates an object of the ATM class. Prompt the...
Create the logic for an application that instantiates an object of the ATM class. Prompt the user for the ATM object data to display the user’s bank balance PROGRAMMING LOGIC AND DESIGN QUESTION JAVA LANGUAGE
Create a class to represent a Mammal object that inherits from (extends) the Animal class. View...
Create a class to represent a Mammal object that inherits from (extends) the Animal class. View javadoc for the Mammal class and updated Animal class in homework 4 http://comet.lehman.cuny.edu/sfakhouri/teaching/cmp/cmp326/s19/hw/hw4/ Use the description provided below in UML. Mammal - tailLength : double - numLegs : int + Mammal() + Mammal(double, int) + Mammal(String, int, double, double, char, double, int) //pass values to parent’s overloaded constructor //and assign valid values to tailLength, numLegs or -1 if invalid + setTailLength(double) : void //if...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT