(Project: Emergency Response Class) The North American emergency response service, 9-1-1, connects callers to a local Public Service Answering Point (PSAP). Traditionally, the PSAP would ask the caller for identification information—including the callers address. Phone number and the nature of the emergency, then dispatch the appropriate emergency responders (such as the police, an ambulance or the fire department). Enhanced 9-1-1 (or E9-1-1) uses computers and
9-1-1, visit www.fcc.gov/pshs/services/911–services/welcome. html and people.howstuffworks.com/9–1–1–.htm.
An important part of creating a class is determining the class’s attributes (instance variables). For this class design exercise, research 9-1-1 services on the Internet. Then, design a class called Emergency that might be used in an object-oriented 9-1-1 emergency response system. List the attributes that an object of this class might use to represent the emergency. For example, the class might include information on who reported the emergency (including their phone number), the location of the emergency, the time of the report, the nature of the emergency, the type of response and the status of the response. The class attributes should completely describe the nature of the problem and what’s happening to resolve that problem.
Want to see the full answer?
Check out a sample textbook solutionChapter 17 Solutions
C How to Program (8th Edition)
Additional Engineering Textbook Solutions
Starting Out with Java: From Control Structures through Objects (6th Edition)
Starting Out with Python (4th Edition)
Starting Out with C++: Early Objects (9th Edition)
Problem Solving with C++ (9th Edition)
Starting Out with C++: Early Objects
Starting Out with C++ from Control Structures to Objects (9th Edition)
- Please fill in the blanks for the following statements: The class function with no return type that is used to initialize data members is called the __________________________.arrow_forwardWhat is pass-by-value? What is pass-by-reference? Show the result of the following programs:arrow_forwardWrite Programming Code for the following...arrow_forward
- C++ Programming: From Problem Analysis to Program...Computer ScienceISBN:9781337102087Author:D. S. MalikPublisher:Cengage Learning