Question

You have been tasked with creating management software for soccer team. Your development team has decided...

You have been tasked with creating management software for soccer team. Your development team has decided to approach the problem using object oriented programming; you have been tasked with developing the object that will represent the soccer team. Briefly describe what members and methods should be included as part of the abstraction for a soccer team.

Homework Answers

Answer #1

The program can be modeled by counting the real things in the game. These are

  • Players and their attributes such as name, location in field, number, etc.
  • Audience
  • Weather
  • Reference etc.


Members:

They will be instances of the class. In the give situation, it can be:

  • Player: name, LocationX, LocationY
  • Referee
  • Weather
  • ScoreBoard
  • Audience
  • Football

Methods:

  • kickFootball()
  • jump()
  • run()
  • move()
  • update()
  • render()

The programming can be easily started in procedural style. It can then be refactored to class and objects.

The update() along with render() become necessary here. This is because of the fact that update() is used to change the state in the game and render() will draw the results on the scoreboard.

As an example, when a football object identifies collisions or variations in velocity and as a result position change, render() will be called.



Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
During the past weeks, you have been introduced to software development planning techniques and tools. You...
During the past weeks, you have been introduced to software development planning techniques and tools. You have actually gained some experience using a few design techniques and tools in planning to create an application that meets business requirements. A design document was the resultant outcome of your efforts. You have also coded a couple object-oriented programs that meet these planned-for requirements. These tasks have given you a sense of what is required to plan for and to develop applications. In...
Create a mock corporate compliance and risk management plan: You have been tasked with creating a...
Create a mock corporate compliance and risk management plan: You have been tasked with creating a corporate compliance and risk management plan for a small, rural public community hospital. In a minimum of 1000 words, discuss the steps you would take to create the plan, what specific areas you feel should be covered based upon the demographics of patients being served and how your plan will ensure patients are receiving quality care.
You have a large engineering company as a client and their software development team have informed...
You have a large engineering company as a client and their software development team have informed you that they are intending to implement test-driven (or test-first) development. Describe possible obstacles to the implementation of TDD for this client.
AHW2) Hello I have an agile software development methodology that is proposed by the combining the...
AHW2) Hello I have an agile software development methodology that is proposed by the combining the two other agile development methodologies, my question is how can I draw its process model that describe it entirely(as drawing graphs). The description of the new proposed methodology is given below: 1. The new Agile methodology is "Feature and Test Driven Development". 2. Feature Driven Development (FDD) is an iterative and incremental Agile methods for developing software. This is client centric pragmatic Software process....
You are part of agile innovation team. Your team has been staying close to Hospital IT...
You are part of agile innovation team. Your team has been staying close to Hospital IT team and adapt quickly to changing conditions for the new website. The team almost always result in higher team productivity and morale, faster time to market, better quality, and lower risk than traditional approaches can achieve. Your team members are familiar with testing the happy paths, how users (Patients ) should use the software. You team launched a web application for the Hospital after...
You are the lead trainer for the software development team at a large telecommunications company. You...
You are the lead trainer for the software development team at a large telecommunications company. You have been tasked with preparing a training document that explains the principles of polymorphism, inheritance, and encapsulation. Research these principles and provide examples for each principle, showing how they would be used in software development. Be sure to answer the question of how each principle would be employed in the software development process. Java programmers use class hierarchies for the purposes of inheritance. For...
Part A ( 4 marks) A new project has been initiated by senior management to automate...
Part A ( 4 marks) A new project has been initiated by senior management to automate logistics processes in your company. A large budget has been allocated to this project because of its importance to the company's operations. You have been asked to present to senior management two reasons for software to be made by your own company and two reasons to buy ready-made solutions. What would you present? Part B Your company located in Australia requires the development of...
You have a summer job in the Exploratorium in San Francisco. Your team has been tasked...
You have a summer job in the Exploratorium in San Francisco. Your team has been tasked to make an exhibit where a small charged pith ball is levitated above a large charged plate. Your boss requests for the small levitated object to oscillate when slightly displaced from its equilibrium position(in horizontal direction). One of your teammates suggests cutting out a small circular opening in the plate and suspending the small charged pith ball somewhere vertically above the center of the...
In your first project as the newest engineer to your team, you have been tasked with...
In your first project as the newest engineer to your team, you have been tasked with performing calculations related to a recently constructed water tower. The tower consists of a spherical tank the bottom of which is 30 ft above the ground and a pipe attached to the bottom of the tank that transports water from the ground to the tank. If the diameter of the spherical tank is 48 ft and the tank is being filled with freshwater having...
Scenario: The management software/database you created has been highly successful, so you have decided to license...
Scenario: The management software/database you created has been highly successful, so you have decided to license it to other businesses. This is a big change to your business mission, but you are confident in your decision. Since you are busy running your business, you must hand over the design, expansion, and maintenance of your database software to your new assistant. Instructions: For this assignment, you must create a cohesive guide that provides your assistant with enough information to take over...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT