Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CST-210 Slot Machine Code Analysis The purpose of this assignment is to assess your ability to do the following: Model software objects with UML
CST-210 Slot Machine Code Analysis The purpose of this assignment is to assess your ability to do the following: Model software objects with UML diagrams (utilize abstraction in software design). Identify objects and classes in a C++ program. Model an object-oriented solution with flowchart diagrams (utilize abstraction in software design). In this assignment, you will identify objects and model the solution logic in a provided C++ program. Begin by identifying a set of objects from the provided code in the attached zip file. If you have difficulty with this step, try listing the nouns and verbs in the solution. The nouns are the objects (classes), and the verbs represent the actions, or functions, the objects perform. For example, in the code below, the noun is Cat. There are two cat objects: cat and kitten. The verb phrases are speak () and get Name (): Cat cat ("Ginger"); Cat kitten ("Baby Girl"); kitten.speak(); std::cout < < cat.getName() < < < " says "; cat.speak(); Once you are satisfied with your set of identified objects, begin constructing the UML diagrams. A UML diagram for the above example would look like this: - Cat name string + Cat (string) : + speak () void + getName() : string Next, analyze the logic of the program. Create a flowchart that models the game logic. The flowchart should incorporate the methods identified in your description. A flowchart for the above example might look like this. Notice that the function speak () has its own flowchart. You will want to create flowcharts for all the methods in the identified classes. You do not have to create flowcharts for setters and getters. Finally, create a 3-to 5- minute screencast in which you describe how you developed your model. Be sure to discuss how you identified objects and methods how you developed your flowcharts from the provided code how objects are used in the provided solution start start Cat::speak () output MEOWWWWWW end create cat and kitten Submit the following: A.png file that contains your UML and flowcharts. A text file that contains a link to your video. kitten.speak () display cat.getName () cat.speak () BEFORE you submit, make sure that every file contains your name and statement of own work. end
Step by Step Solution
★★★★★
3.41 Rating (157 Votes )
There are 3 Steps involved in it
Step: 1
To begin with lets break down the provided C code to identify objects classes and methods functions ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started