Page 1 of 1

This is an exercise in OOA and OOD. Examine the following software requirements. You do not need to write the program. W

Posted: Tue Jul 12, 2022 8:17 am
by answerhappygod
This Is An Exercise In Ooa And Ood Examine The Following Software Requirements You Do Not Need To Write The Program W 1
This Is An Exercise In Ooa And Ood Examine The Following Software Requirements You Do Not Need To Write The Program W 1 (259.63 KiB) Viewed 15 times
subject java programming
This Is An Exercise In Ooa And Ood Examine The Following Software Requirements You Do Not Need To Write The Program W 2
This Is An Exercise In Ooa And Ood Examine The Following Software Requirements You Do Not Need To Write The Program W 2 (302.88 KiB) Viewed 15 times
than
This Is An Exercise In Ooa And Ood Examine The Following Software Requirements You Do Not Need To Write The Program W 3
This Is An Exercise In Ooa And Ood Examine The Following Software Requirements You Do Not Need To Write The Program W 3 (96.82 KiB) Viewed 15 times
This is an exercise in OOA and OOD. Examine the following software requirements. You do not need to write the program. Write a program to play Rock-Paper-Scissors (RPS) where two players are automatically created by the game. Each player shall randomly make their choice (rock, paper, or scissors) at the same time. Decide the winner as follows: rock breaks scissors, scissors cut paper, paper covers rock. The player with the most wins after three rounds wins the game. Step 1 - OOA: a) List all of the possible objects based on these requirements. You can leave out exact duplicates if you like. b) Write down three possible relationships between pairs of objects in (a). Write your answers using the terminology of the requirements, don't try to use OO or UML terms vel
Step 2 - OOD: a) Fill in the table below for the objects you found in step one. Add or leave rows blank if needed. For the "Decision" column choose one of the following. Fill in the appropriate name for "???". • "Duplicate of ???". This object is a duplicate or synonym of another object in the table, you'll ignore it. ● "Generalized by ???". This is a specific object for which another object in the table gives a more general name, so you don't need to write a class for it. "Primitive data type ???". This object can be represented using a primitive Java data type, so you don't need to write a class for it "Existing library class ???". This object can be represented using a class in the Java library, so we don't need to write a class for it. "New class named ???". We must implement this object as a class. Give a name for the class which follows our coding conventions.
# 1 2 3 4 5 6 7 8 9 10 11 12 13 Object Name Decision b) Rewrite your relationships from step 1b using class/type names and the OO terms "USES", "HAS-A" or "IS-A".