Design an application for the homestead furniture store

Assignment Help Programming Languages
Reference no: EM131134141

Question 1) Design an application for the Homestead Furniture Store that gets sales transaction data, including an account number, customer name, and purchase price. Output the account number and name, then output the customer's payment each month for the next 12 months. Assume that there is no finance charge, that the customer makes no new purchases, and that the customer pays off the balance with equal monthly payments.

b. Modify the Homestead Furniture Store application so it executes continuously for any number of customers until a sentinel value is supplied for the account number.

Question 2) Design an application for Domicile Designs that gets sales transaction data, including an account number, customer name, and purchase price. The store charges 1.25 percent interest on the balance due each month. Output the account number and name, then output the customer's projected balance each month for the next 12 months. Assume that when the balance reaches $25 or less, the customer can pay off the account. At the beginning of every month, 1.25 percent interest is added to the balance, and then the customer makes a payment equal to 7 percent of the current balance. Assume that the customer makes no new purchases.

b. Modify the Domicile Designs application so it executes continuously for any number of customers until a sentinel value is supplied for the account number.

Question 3) Yabe Online Auctions requires its sellers to post items for sale for a six-week period during which the price of any unsold item drops 12 percent each week. For example, an item that costs $10.00 during the first week costs 12 percent less, or $8.80, during the second week. During the third week, the same item is 12 percent less than $8.80, or $7.74. Design an application that allows a user to input prices until an appropriate sentinel value is entered. Program output is the price of each item during each week, one through six.

Question 4) Design the application logic for a company that wants a report containing a breakdown of payroll by department. Input includes each employee's department number, hourly salary, and number of hours worked. The output is a list of the seven departments in the company and the total gross payroll (rate times hours) for each department. The department names are shown in

Table: Department numbers and names

Department Number 
Department Name
1 Personnel
2 Marketing
3 Manufacturing 
4 Computer Services
5 Sales
6 Accounting
7 Shipping

5) Glen Ross Vacation Property Sales employs seven salespeople, as shown in Table 6-8.

Glen Ross salespeople
ID Number Salesperson Name
103 Darwin
104 Kratz
201 Shulstad
319 Fortune
367 Wickert
388 Miller
435 Vick

When a salesperson makes a sale, a record is created, including the date, time, and dollar amount of the sale. The time is expressed in hours and minutes, based on a 24-hour clock. The sale amount is expressed in whole dollars. Salespeople earn a commission that differs for each sale, based on the rate schedule in Table 6-9.

Table 6-9: Glen Ross commission schedule

Sale Amount ($) Commission Rate (%)
0-50,999 4
51,000-125,999 5
126,000-200,999 6
201,000 and up 7

Design an application that produces each of the following:

a. A list of each salesperson number, name, total sales, and total commissions

b. A list of each month of the year as both a number and a word (for example, 01 January), and the total sales for the month for all salespeople

c. A list of total sales as well as total commissions earned by all salespeople for each of the following time frames, based on hour of the day: 00-05, 06-12, 13-18, and 19-23

Question 6) Laramie Park District has files of participants in its summer and winter programs this year. Each file is in participant ID number order and contains additional fields for first name, last name, age, and class taken (for example, Beginning Swimming).

a. Design the logic for a program that merges the files for summer and winter programs to create a list of the first and last names of all participants for the year in ID number order.

b. Modify the program so that if a participant has more than one record, the participant's ID number and name are output only once.

c. Modify the program so that if a participant has more than one record, the ID number and name are output only once along with a count of the total number of classes the participant has taken.

Question 7) The Timely Talent Temporary Help Agency maintains an employee master file that contains an employee ID number, last name, first name, address, and hourly rate for each temporary worker. The file has been sorted in employee ID number order. Each week, a transaction file is created with a job number, address, customer name, employee ID, and hours worked for every job filled by Timely Talent workers. The transaction file is also sorted in employee ID order.

a. Design the logic for a program that matches the current week's transaction file records to the master file and outputs one line for each transaction, indicating job number, employee ID number, hours worked, hourly rate, and gross pay. Assume that each temporary worker works at most one job per week. Output one line for each worker, even if the worker has completed no jobs during the current week.

b. Modify the help agency program to output lines only for workers who have completed at least one job during the current week.

c. Modify the help agency program so that any temporary worker can work any number of separate jobs during the week. Output one line for each job that week.

d. Modify the help agency program so that it accumulates the worker's total pay for all jobs in a week and outputs one line per worker.

Reference no: EM131134141

Questions Cloud

What are the disadvantages of low power factor : A 3phase synchronous. Motor is connected in parallel with a load of 500 KW, 0.8p.f lagging and its excitation is adjusted until it raises the total P.F to 0.9 lagging. If the mechanical load on the motor including loss takes 125KW, calculate the K..
Way employees contribute to net income : Which of the following is probably not a way employees contribute to net income? A commonly used measure of facility productivity used by retailers is. Which of the following statements does not describe “Value?”
What possible ethical rule has been violated : Why is this an ethical dilemma? What possible ethical rule(s) has been violated? How you would approach the situation? What steps or actions would you or should you take?
What is the voltage across each branch : Verify that the source current equals the sum of the branch currents.
Design an application for the homestead furniture store : Design an application for the Homestead Furniture Store that gets sales transaction data, including an account number, customer name, and purchase price.
Review the given essay : This would be the characterization of Miss Watson and Widow Douglas, two elderly sisters who were Huck's guardians during the commencement of the novel.
Efficiency is calculated and utilization is calculated : Efficiency is calculated as. Utilization is calculated as. Lean systems refers to
Did they discuss each portion in detail : Did they discuss each portion in detail? Was there a sound rationale for their decisions to implement the specific techniques and procedures? Will this gain public support?
Twitter played a vital role in the arab spring uprising : According to some commentators, Facebook and Twitter played a vital role in the Arab Spring uprising because they made it possible for activists to organize large protests in a short amount of time.

Reviews

Write a Review

Programming Languages Questions & Answers

  Explaining valid advice for naming variables

Which of the following is valid advice for naming variables? To save typing, make most variable names one or two letters.

  Small game development

Small game development - the development has to be done in PROLOG LANGUAGE.

  Application where you ask the user to input the price

Write an application where you ask the user to input the price per letter (PPL), and then ask the user to input the sentence they want printed. The application should then calculate the number of letters and give the user the total cost in the follow..

  Write a perl program that calculates the at and gc content

Write a Perl program that calculates the AT and GC content (i.e. the percentage of G and C, and the percentage of A and T) in a given sequence.

  Determine the value of sum1 and sum2

Run the code given in Problem on some system that support C to determine the value of sum1 and sum2. Explain the results.

  Write a program that display amount of discount on item

Write a program that asks the user to enter number of packages purchased. Program must then display amount of the discount (if any) and total amount of the purchase after the discount.

  Create a document that displays a sports related image

Create a document (with any required style sheets and java .js files) that displays a sports related image of your choice and three buttons. The buttons should be labeled simply 1,2, and 3. When pressed, each button should change the content of th..

  Write a program that gets names as input from the user

Write a program that gets names as input from the user (Read from the console using cin. You may tell the user to enter a name or q to quit entering names.), allocates a new Person for each of them and stores the pointer to each of them in a vecto..

  Program for a computer dating service

Write a program for a computer dating service. Each client gives you his or her name, phone number, and a list of interests.

  Class to create and draw five squares

Now write applet DrawSquares that uses your Square class to design and draw 5 squares. This code must be very simple.

  Calculate the average of a variable quantity of integers

Create a simple command line program to calculate the average of a variable quantity of integers that are passed as an argument when the program is called.

  What are the five key steps in the programming process

Which features are commonly found in programming languages? What are the five key steps in the programming process

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd