Question

Provide answers for both scenarios. Scenario #1: A car dealership has hired your software development firm...

Provide answers for both scenarios.


Scenario #1: A car dealership has hired your software development firm to create a new car inventory program. You first need to develop a class that represents the inventory of the dealership. What components and attributes will need to be included in your automobile class? Why?

Scenario #2: A national builder has hired your software development firm to create a home inventory program. You first need to develop a class that represents the inventory of the homes in the nation. What components and attributes will need to be included in your home class? Why?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

# following attributes determine the quality of automobile

class Automobile:

def __init__(self, name, color, model, mileage, cost):

self.name=name

self.color=color

self.model=model

self.mileage=mileage

self.cost=cost

def get_name(self):

return self.name

def get_color(self):

return self.color

def get_model(self):

return self.model

def get_mileage(self):

return self.mileage

def get_cost(self):

return self.color

def set_name(self, value):

self.name=value

def set_color(self, value):

self.color=value

def set_model(self, value):

self.model=value

def set_mileage(self, value):

self.mileage=value

def set_cost(self, value):

self.cost=value


# following attributes determine the quality of house

class Home:

def __init__(self, location, size, rooms, stories, make):

self.location=location

self.size=size

self.rooms=rooms

self.stories=stories self.make=make

def get_location(self):

return self.location

def get_size(self):

return self.size

def get_rooms(self):

return self.rooms

def get_stories(self):

return self.stories

def get_make(self):

return self.make

def set_location(self, value):

self.location=value

def set_size(self, value):

self.size=value

def set_rooms(self, value):

self.rooms=value

def set_stories(self, value):

self.stories=value

def set_make(self, value):

self.make=value

Add a comment
Know the answer?
Add Answer to:
Provide answers for both scenarios. Scenario #1: A car dealership has hired your software development firm...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Respond to both of the following scenarios for Python programming. Scenario #1: A car dealership has...

    Respond to both of the following scenarios for Python programming. Scenario #1: A car dealership has hired your software development firm to create a new car inventory program. You first need to develop a class that represents the inventory of the dealership. What components and attributes will need to be included in your automobile class? Why? Scenario #2: A national builder has hired your software development firm to create a home inventory program. You first need to develop a class...

  • Your firm has been hired to develop new software for the​ university's class registration system. Under...

    Your firm has been hired to develop new software for the​ university's class registration system. Under the​ contract, you will receive $ 508,000 as an upfront payment. You expect the development costs to be $ 431,000 per year for the next 3 years. Once the new system is in​ place, you will receive a final payment of $ 825,000 from the university 4 years from now. a. What are the IRRs of this​ opportunity?  ​ (Hint: Build an Excel model...

  • Your firm has been hired to develop new software for the​ university's class registration system. Under...

    Your firm has been hired to develop new software for the​ university's class registration system. Under the​ contract, you will receive $ 506,000 as an upfront payment. You expect the development costs to be $ 441,000 per year for the next 3 years. Once the new system is in​ place, you will receive a final payment of $ 857,000 from the university 4 years from now. a. What are the IRRs of this​ opportunity?  ​ (Hint: Build an Excel model...

  • Your firm has been hired to develop new software for the​ university's class registration system. Under...

    Your firm has been hired to develop new software for the​ university's class registration system. Under the​ contract, you will receive $ 505 comma 000 as an upfront payment. You expect the development costs to be $ 434 comma 000 per year for the next 3 years. Once the new system is in​ place, you will receive a final payment of $ 837 comma 000 from the university 4 years from now. a. What are the IRRs of this​ opportunity?  ...

  • Your firm has been hired to develop new software for the​university's class registration system. Under the​...

    Your firm has been hired to develop new software for the​university's class registration system. Under the​ contract, you will receive $ 497,000 as an upfront payment. You expect the development costs to be $ 439,000 per year for the next 3 years. Once the new system is in​ place, you will receive a final payment of $ 860,000 from the university 4 years from now. a. What are the IRRs of this​ opportunity?(Hint: Build an Excel model which tests the...

  • Your firm has been hired to develop new software for the​ university's class registration system. Under the​ contract, y...

    Your firm has been hired to develop new software for the​ university's class registration system. Under the​ contract, you will receive $ 508 comma 000 as an upfront payment. You expect the development costs to be $ 438 comma 000 per year for the next 3 years. Once the new system is in​ place, you will receive a final payment of $ 846 comma 000 from the university 4 years from now. a. What are the IRRs of this​ opportunity?  ...

  • Problem You work for a dealership that deals in all kinds of vehicles. Cars, Trucks, Boats,...

    Problem You work for a dealership that deals in all kinds of vehicles. Cars, Trucks, Boats, and so forth need to be inventoried in the system. The inventory must be detailed so that it could be searched based on number of doors, engine type, color, and so on. This program will demonstrate the following: How to create a base class How to extend a based class to create new classes How to use derived classes Solving the Problem Step 1...

  • Use your Car class from the previous Programming Assignment. For this assignment, create a new class...

    Use your Car class from the previous Programming Assignment. For this assignment, create a new class that represents a Used Car Dealership. Your Java program will simulate an inventory system for the dealership, where the employees can manage the car information. Start by creating an array of 10 cars, with an "ID" of 0 through 9, and use the default constructor to create each car. For example, the third car in an array called cars would have ID 2. You...

  • Scenario You have recently joined the team at A&L, an engineering firm with a broad portfolio....

    Scenario You have recently joined the team at A&L, an engineering firm with a broad portfolio. A&L has recently been hired to help plan a supply drop following a natural disaster. Due to conditions on the ground, the supply drop will be done from the air. Your supervisor has asked you to use that information, as well as your knowledge of kinematics, to c.r.e.a.t.e. a. supply drop plan detailing how far the payload should be from the drop site when...

  • Assignment Requirements I have also attached a Class Diagram that describes the hierarchy of the inheritance...

    Assignment Requirements I have also attached a Class Diagram that describes the hierarchy of the inheritance and interface behaviors . The link to the PDF of the diagram is below MotorVehical.pdf Minimize File Preview User Define Object Assignment: Create a Intellij Project. The Intellij project will contain three user defined classes. The project will test two of the User Define Classes by using the invoking each of their methods and printing the results. You are required to create three UML...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT