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

  Script that displays the results of rolling a die n times

The example in the links below shows a script that displays the results of rolling a die n times. It retains (in memory) and can display the results of all rolls. The two links below are the html and js files for this example.

  How can the two arrays share the same memory

This results in the two arrays sharing the same portion of memory. Can you picture this? How can the two arrays share the same memory?

  Generate a specified number of solid colour square

COSC1519 Introduction to Programming - Define a function createSquareTile(numTiles, prefix) which generates a specified number of solid colour square tile pictures with the size and colour of each picture specified by the user.

  Create an application in which a user can enter a phone book

Create an application in which a user can enter a phone book entry, including the following elements

  Define two pointers that hold two values of type int

Define a one dimensional array consisting of five cells, and populate the cells with values 0-5 and then print the result of the one dimensional array on the screen.

  Create a console-mode executable class

Create a console-mode executable class (no GUI in this project; let's keep it simple) using the following specifications.

  The purpose of this experiment is to use the masm

The purpose of this experiment is to use the MASM assembler and linker to convert your 80x86 assembly language source files into executable code, such as .EXE and .COM files.

  Write a program to clean up lane9.dat

Write a program to clean up lane9.dat. Write all numbers and spaces to cleanlane9.txt.

  Matlab integration techniques

Use MATLAB integration techniques to determine the total Axial Elongation and explain the theory of Simpson 1/3 rule for integration in detail. Use appropriate examples to demonstrate how it works and how the integration result is computed.

  Explain the interaction framework

Explain the Interaction Framework discussed by Steven Heim (2008). Choose a computing device (like an ATM machine or the self-check-out at a grocery store

  Write program to instantiate objects of inherited classes

X-Y coordinate pairs for four endpoints of Quadrilateral. Write program which instantiates objects of the classes and outputs each object's area.

  Write code to takes input from console

Write code using C++ which takes input from console and displays output on console. You will write program which takes user input, does some basic arithmetic, and displays the results.

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