Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Term 2-Week 9 Name: Elevens Lab: Worksheet 1 Activity 1 Cards Class Overview-Cards Class This class implements a single playing cand Thais is where we

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Term 2-Week 9 Name: Elevens Lab: Worksheet 1 Activity 1 Cards Class Overview-Cards Class This class implements a single playing cand Thais is where we will store the rank and suit of a card in the card shown here, the Seven of Hearts the rank is seven and the suit is heart 1 Open the Card. java file provided for Activity 1, What variables are included in the class? What data types are being used? 2 Copy the header for the constructor here What accessor methods 4 Why do you think no mutator methods are included? 5. Complete the Activity I guide on page 6 This will guide you through fnishing the Card elass 6. Describe how you tested to seeif your Card class works correctly Term 2-Week 9 Name: Elevens Lab: Worksheet 2 -Activity 2 - The Deck Class Overview-Deck Class This class implements a deck of playing cards. As you work through this activity pay careful atention to the data structure used to store the cards 1. Open the Deck. java file provided for Activity. What variables are included in the class? What data types are being used? 2. Copy the header for the constructor here What data types are being passed in? 3. Complete the Deck class as described on page 7 of the Elevens Student Guide Term 2-Week 12 Name Elevens Lab: Worksheet 5- Activity 8 - Abstract Classes Overview-Abstract Classes Activity 8 uks you to think about creating an abstract class to represent a generic Board This class would allow nany games to be created using the Cand and Deck classes. This has the added benefit of creating one larger parent class and many smaller game board classes 1. Look at the description of Elevens Board on page 21 of the Activity Guide What behaviors there would be common to other games using a deck of cards? 2. What are the helper methods in ElevensBoard? Which would make sense to include in an abstract parent class) 3. Why should the Board class be abstract? Term 2 - Week 12 Name Elevens Lab: Worksheet 6-Activity 9- Final Game Overview-Creating the Game In Activity 9 we finally build a working version of the Elevens g class from Activity 8 game. This final version bailds on the abstract Board L. In the Activity Guide follow the directions on pages 29 to 31 to create the working game 2. On page 31 answer the questions Question 1 Question 2 Question 3 Name: Term 2-Week 12 Elevens Lab: Worksheet 7 - Activity 11 -Simulation Overview-Game Simulation Now that we have a working version of the Elevens game we can investigate some paterns about the game itself This is called simulation and is ssed in many areas of computer science Simulation is used to represent physical processes using software and collect information about the processes This is used from weather forecasting to supply chain management and is a vital area of computer science in the business world In this activity a simulation of playing the Elevens game is built that will allow us to gather information about the Elevens game 1 In the Activity Guide on page 37-38 do the exercises 1 to 8 to build the simulation 2On page 38 answer the questions 1 to3 Question Question 2 Question 3 Term 2-Week 9 Name: Elevens Lab: Worksheet 1 Activity 1 Cards Class Overview-Cards Class This class implements a single playing cand Thais is where we will store the rank and suit of a card in the card shown here, the Seven of Hearts the rank is seven and the suit is heart 1 Open the Card. java file provided for Activity 1, What variables are included in the class? What data types are being used? 2 Copy the header for the constructor here What accessor methods 4 Why do you think no mutator methods are included? 5. Complete the Activity I guide on page 6 This will guide you through fnishing the Card elass 6. Describe how you tested to seeif your Card class works correctly Term 2-Week 9 Name: Elevens Lab: Worksheet 2 -Activity 2 - The Deck Class Overview-Deck Class This class implements a deck of playing cards. As you work through this activity pay careful atention to the data structure used to store the cards 1. Open the Deck. java file provided for Activity. What variables are included in the class? What data types are being used? 2. Copy the header for the constructor here What data types are being passed in? 3. Complete the Deck class as described on page 7 of the Elevens Student Guide Term 2-Week 12 Name Elevens Lab: Worksheet 5- Activity 8 - Abstract Classes Overview-Abstract Classes Activity 8 uks you to think about creating an abstract class to represent a generic Board This class would allow nany games to be created using the Cand and Deck classes. This has the added benefit of creating one larger parent class and many smaller game board classes 1. Look at the description of Elevens Board on page 21 of the Activity Guide What behaviors there would be common to other games using a deck of cards? 2. What are the helper methods in ElevensBoard? Which would make sense to include in an abstract parent class) 3. Why should the Board class be abstract? Term 2 - Week 12 Name Elevens Lab: Worksheet 6-Activity 9- Final Game Overview-Creating the Game In Activity 9 we finally build a working version of the Elevens g class from Activity 8 game. This final version bailds on the abstract Board L. In the Activity Guide follow the directions on pages 29 to 31 to create the working game 2. On page 31 answer the questions Question 1 Question 2 Question 3 Name: Term 2-Week 12 Elevens Lab: Worksheet 7 - Activity 11 -Simulation Overview-Game Simulation Now that we have a working version of the Elevens game we can investigate some paterns about the game itself This is called simulation and is ssed in many areas of computer science Simulation is used to represent physical processes using software and collect information about the processes This is used from weather forecasting to supply chain management and is a vital area of computer science in the business world In this activity a simulation of playing the Elevens game is built that will allow us to gather information about the Elevens game 1 In the Activity Guide on page 37-38 do the exercises 1 to 8 to build the simulation 2On page 38 answer the questions 1 to3 Question Question 2 Question 3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What are the APPROACHES TO HRM?

Answered: 1 week ago