Ask Computer Engineering Expert

Program 2: Customer service logger

The problem Write a program that would be used by a customer service officer (CSO) in the Destiny Energy call centre. When a customer calls they will must either provide an account number or a meter number. The CSO will enter this into a text field. The program should then display all of the information available and relevant for this account, in particular:

• the account number;

• whether it is a domestic or commercial account;

• the name of the customer (for domestic) or the name of the business (for commercial);

• the two line address for the customer; and

• the current billing information for the customer, for each meter and tariff, and the total. All of this information is available in text files as above and another that holds the customer names and addresses, in a file with records like this:  Mr Jarred Bjelke-Newman 234 Desperate Terrace Leafy West Qld 4034. The program should then provide two text fields where the CSO will enter:

• nature of the customers enquiry; and

• a note about how the enquiry was resolved. This information, along with the customer's account number and the current date and time should be appended to a log file, called log.txt. 4.2.2 Deliverables The design document should include:

1. mock-ups (not screen shots) of the window; 2.

a paragraph that describes how the window is used by its intended user; 3. a paragraph that describes the format of the output text file; 4. a UML class design that shows how the classes in your program will relate to each other; 5. a UML class box that details the important attributes and methods in each new class; 6. a textual description of the purpose of each new class, its attributes and methods; and 7. a textual description of your Java implementation, including:

(a) any special instructions on how to compile and run it; and (b) what features are incomplete (if any).

The .java files should be:

1. properly indented and spaced out;

2. have header comments that define the purpose of each file; 3. have comments that describe the purpose of all class members, except standard methods like main; and 4. to facilitate automated testing, the class that contains the main method, must be called Main. 4.3 Program

3: Grid status display 4.3.1 The problem Power is generated at a power station, and distributed to several sub-stations, and then to many local transformers, and then to customers via their meters. The power station is at coordinates (100, 100) in a square grid 500 km by 500 km that covers the area serviced by Destiny Energy. Each substation has a unique identifying name (S1, S2, ...).

Each transformer has a unique identifying name (T1, T2, ...). The file substations.txt contains the names of the sub-stations and their coordinates: S1 203 456 . . . The file transformers.txt contains names of all of the transformers, their coordinates and the name of the sub-station they are connected to. T1 204 457 S1 . . . The file meters.txt contains all of the meter numbers for all accounts and the transformer to which they are connected. 123 456 789 T34 . . . The file outages.txt contains the meter numbers that are presently reported to not be receiving power (blacked out). Write a program that reads these files and provides a graphical display of the present status of the grid. It should display the power station, the substations (labelled with their names), the transformers, and the connections between them. Use colour to indicate their status, either operational, or possibly faulty.

A report that a given meter is blacked out means that the transformer is probably faulty. If there are two or more transformers connected to the same sub-station that are probably faulty then the sub-station is also probably faulty. If two or more sub-stations are probably faulty, then the power station is probably faulty. 4.3.2 Deliverables (4 marks) The design document should include: 1. a mock-up (not a screen shot) of the display window;

2. a textual description of the contents of the window;

3. a UML class design that shows how the classes in your program will relate to each other;

4. a UML class box that details the important attributes and methods in each new class;

5. a textual description of the purpose of each new class, its attributes and methods; and

6. a textual description of your Java implementation, including: (a) any special instructions on how to compile and run it; and (b) what features are incomplete (if any).

The .java files should be:

1. properly indented and spaced out; 4

2. have header comments that define the purpose of each file;

3. have comments that describe the purpose of all class members, except standard methods like main; and

4. to facilitate automated testing, the class that contains the main method, must be called Main.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91607794

Have any Question?


Related Questions in Computer Engineering

Does bmw have a guided missile corporate culture and

Does BMW have a guided missile corporate culture, and incubator corporate culture, a family corporate culture, or an Eiffel tower corporate culture?

Rebecca borrows 10000 at 18 compounded annually she pays

Rebecca borrows $10,000 at 18% compounded annually. She pays off the loan over a 5-year period with annual payments, starting at year 1. Each successive payment is $700 greater than the previous payment. (a) How much was ...

Jeff decides to start saving some money from this upcoming

Jeff decides to start saving some money from this upcoming month onwards. He decides to save only $500 at first, but each month he will increase the amount invested by $100. He will do it for 60 months (including the fir ...

Suppose you make 30 annual investments in a fund that pays

Suppose you make 30 annual investments in a fund that pays 6% compounded annually. If your first deposit is $7,500 and each successive deposit is 6% greater than the preceding deposit, how much will be in the fund immedi ...

Question -under what circumstances is it ethical if ever to

Question :- Under what circumstances is it ethical, if ever, to use consumer information in marketing research? Explain why you consider it ethical or unethical.

What are the differences between four types of economics

What are the differences between four types of economics evaluations and their differences with other two (budget impact analysis (BIA) and cost of illness (COI) studies)?

What type of economic system does norway have explain some

What type of economic system does Norway have? Explain some of the benefits of this system to the country and some of the drawbacks,

Among the who imf and wto which of these governmental

Among the WHO, IMF, and WTO, which of these governmental institutions do you feel has most profoundly shaped healthcare outcomes in low-income countries and why? Please support your reasons with examples and research/doc ...

A real estate developer will build two different types of

A real estate developer will build two different types of apartments in a residential area: one- bedroom apartments and two-bedroom apartments. In addition, the developer will build either a swimming pool or a tennis cou ...

Question what some of the reasons that evolutionary models

Question : What some of the reasons that evolutionary models are considered by many to be the best approach to software development. The response must be typed, single spaced, must be in times new roman font (size 12) an ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As