CST-210 Slot Machine Code Analysis The purpose of this assignment is to assess your ability to...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 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
Expert Answer:
Answer rating: 100% (QA)
To begin with lets break down the provided C code to identify objects classes and methods functions ... View the full answer
Related Book For
Systems analysis and design
ISBN: 978-0136089162
8th Edition
Authors: kenneth e. kendall, julie e. kendall
Posted Date:
Students also viewed these programming questions
-
Zhang incorporated her sole proprietorship by transferring inventory, a building, 100 percent of the corporation's stock. The property transferred to the corporati and adjusted tax bases: FMV...
-
The purpose of this assignment is to identify and apply Operations and Supply Chain Management concepts/tools to solve operational problems and improve operational performance. To this purpose, you...
-
Case Analysis Critical thinking, creativity, and problem-solving are among some of the top skills needed by employers in the supply chain industry. This assignment will stretch your critical...
-
How are financial statements adjusted for exchange rates?
-
An object disintegrates into two fragments. One of the fragments has mass 1.00 MeV/c2 and momentum 1.75 MeV/c in the positive x direction. The other fragment has mass 1.50 MeV/c2 and momentum 2.00...
-
A 44.0-g sample of an unknown metal at 99.0C was placed in a constant-pressure calorimeter containing 80.0 g of water at 24.0C. The final temperature of the system was found to be 28.4C. Calculate...
-
What key parameter in the data collector and/or route setup must be checked to ensure proper collection of data with an accelerometer?
-
The following transactions apply to Bialis Co. for 2012, its first year of operations. 1. Issued $100,000 of common stock for cash. 2. Provided $86,000 of services on account. 3. Collected $75,000...
-
Make report based on productivity commission report and annual report of reject shop.(productivity commission research report- retail cost of doing business in australia september 2014 )please only...
-
On January 1, 2021, the general ledger of Grand Finale Fireworks includes the following account balances: During January 2021, the following transactions occur: January 2 Issue an additional 2,000...
-
1. Find a secondary data to work on. It could be from online resources or from previous researches or studies. 2. Write a brief introduction or description of the chosen data. 3. Include the raw data...
-
There are 5 Sequential steps to Effective Self Leadership List and Describe the 5 Sequential Steps. Part 2 (6 Marks) Setting Goals and objectives are a critical Start. Write on Goal that you can...
-
What are the challenges of today's educational climate? What does your learning environment look like? Who are your learners? How will you evolve to become a teacher- leader in today's educational...
-
What are some effective marketing channels for reaching customers?
-
By carrying out the audit of the financial statements in the Property, Plant and Equipment area, we were able to determine the reasonableness of the balance of the vehicle depreciation account. The...
-
Differentiate between benign and malignant tumors? Which one is lethal and why?
-
A particle of unit mass is released at x = 1 in one-dimensional patential U(x)=x-x. which one of the following statement is incorrect. La) Particle will come to rest at x = 0 () Particle's speed is...
-
In July 2013, cnet.com listed the battery life (in hours) and luminous intensity (i. e., screen brightness, in cd/m2) for a sample of tablet computers. We want to know if screen brightness is...
-
ArticleIndex.com is a company that produces indexes of magazine and periodical articles for a given discipline. AWeb user should be able to enter an article topic or authors and receive a detailed...
-
What is proper form flow?
-
Define the top-down approach as it relates to drawing data flow diagrams.
-
Maribel Ortiz is puzzled. Her company had a profit margin of 10% in 2025. She feels that this is an indication that the company is doing well. Gordon Liddy, her accountant, says that more information...
-
At December 31, 2025, the fair value of non-trading securities is 41,300 and the cost is 39,800. At January 1, 2025, there was a credit balance of 900 in the Fair Value Adjustment Non-Trading...
-
On January 1, 2025, Lennon Enterprises acquires 100% of Ono Ltd. for 220,000 in cash. The condensed statements of financial position of the two companies immediately following the acquisition are as...
Study smarter with the SolutionInn App