Answered You can buy a ready-made answer or pick a professional tutor to order an original one.

QUESTION

A pet store owner needs a weekly sales report. The output consists of a printed report titled PET SALES, with column headings

1.         A pet store owner needs a weekly sales report. The output consists of a printed report titled PET SALES, with column headings TYPE OF ANIMAL and PRICE. Fields printed on output are: type of animal and price. After all records print, a footer line END OF REPORT prints. The input file description is shown below.

File name: PETS

                                   FIELD DESCRIPTION                                    POSITIONS          DATA TYPE         DECIMALS

                                   Type of Animal                                                 1–20                       Character

Price of Animal                                                  21–26                    Numeric                 2

a.Design the print chart for this program.

b.Draw the hierarchy chart for this program.

c.Draw the flowchart for this program.

d.Write the pseudocode for this program.

2.        An employer wants to produce a personnel report.  The output consists of a printed report entitled   ACTIVE PERSONNEL.  Fields printed on output are: last name of employee, first name of employee, and weekly salary. Include appropriate column headings and a footer. The input file description is shown below.

File name:  PERSONNEL

      FIELD DESCRIPTION   POSITIONS   DATA TYPE              DECIMALS

      Last Name                         1-15                             Character

      First Name                                    16-30                           Character

      Soc. Sec. Number             31-39                           Numeric          0

      Department                       40-41                           Numeric          0

      Weekly Salary                   42-47                           Numeric          2

a. Design the print chart for this program.

b.Draw the hierarchy chart for this program.

c.Draw the flowchart for this program.

d.Write the pseudocode for this program.

  1. An employer wants to produce a personnel report that shows the end result if she gives everyone a 10 percent raise in salary. The output consists of a printed report entitled PROJECTED RAISES. Fields printed on output are: last name of employee, first name of employee, current salary, and projected salary. The input file description is shown below.

File name: PERSONNEL

FIELD DESCRIPTION     POSITIONS             DATA TYPE         DECIMALS

Last Name                            1–15                         Character

First Name                            16–30                      Character

Soc. Sec. Number                31–39                      Numeric                 0

Department                          40–41                      Numeric                 0

Current Salary                      42–47                      Numeric                 2

a. Design the print chart for this program.

b.Draw the hierarchy chart for this program.

c.Draw the flowchart for this program.

d.Write the pseudocode for this program.

4.     A furniture store maintains an inventory file that includes data about every item it sells. The manager wants a report that lists each stock number, description, and profit, which is the retail price minus the wholesale price. The fields include a stock number, description, wholesale price, and retail price. The input file description is shown below.

File name: FURNITURE

FIELD DESCRIPTION                                        POSITIONS          DATA TYPE         DECIMALS

Stock Number                                                        1–4                         Numeric                 0

Description                                                             5-29                        Character             

Wholesale Price                                                     30–35                    Numeric                 2

Retail Price                                                             36–41                    Numeric                 2

a.Design the print chart for this program.

b.Draw the hierarchy chart for this program

c.Draw the flowchart for this program.

d.Write the pseudocode for this program.

  1. A summer camp keeps a record for every camper, including first name, last name, birth date, and skill scores that range from 1 to 10 in four areas: swimming, tennis, horsemanship, and crafts. (The birth date is stored in the format MMDDYYYY without any punctuation.) The camp wants a printed report listing each camper’s data, plus a total score that is the sum of the camper’s four skill scores. The input file description is shown below.

File name: CAMPERS

FIELD DESCRIPTION          POSITIONS          DATA TYPE         DECIMALS

First Name                                1-15                        Character

Last Name                                16-30                     Character

Birth Date                                 31-38                     Numeric                 0

Swimming Skill                        39-40                     Numeric                 0

Tennis Skill                               41-42                     Numeric                 0

Horsemanship Skill                 43-44                     Numeric                 0

Crafts Skill                                45-46                     Numeric                 0

a.Design the print chart for this program.

b.Draw the hierarchy chart for this program.

c.Draw the flowchart for this program.

d.Write the pseudocode for this program.

6.         An employer needs to determine how much tax to withhold for each employee. This withholding amount computes as 20 percent of each employee’s weekly pay. The output consists of a printed report entitled WITHHOLDING FOR EACH EMPLOYEE. Fields printed on output are: last name of employee, first name of employee, hourly pay, weekly pay based on a 40-hour work week, and withholding amount per week. The input file description is shown below.

File name: EMPLOYEES

FIELD DESCRIPTION                                    POSITIONS          DATA TYPE         DECIMALS

Company ID                                                      1–5                         Numeric                 0

First Name                                                          6–17                       Character

Last Name                                                          18–29                    Character

Hourly Rate                                                       30–34                    Numeric                 2

a.Design the print chart for this program.

b.Draw the hierarchy chart for this program.

c.Draw the flowchart for this program.

d.Write the pseudocode for this program

7.         A baseball team manager wants a report showing her players’ batting statistics. A batting average is computed as hits divided by at-bats and is usually expressed to three decimal positions, for example: .235. The output consists of a printed report entitled TEAM STATISTICS. Fields printed on output are: player number, last name, first name, and batting average. The input file description is shown below.

File name: BASEBALL

FIELD DESCRIPTION                                    POSITIONS          DATA TYPE         DECIMALS

Player Number                                                   1–2                         Numeric                 0

First Name                                                          3–18                       Character

Last Name                                                          19–35                    Character

At-bats                                                                36–38                    Numeric                 0

Hits                                                                      39–41                    Numeric                 0

a.Design the print chart for this program.

b.Draw the hierarchy chart for this program.

  1. Draw the flowchart for this program.
  2. Write the pseudocode for this program
Show more
  • @
  • 154 orders completed
ANSWER

Tutor has posted answer for $22.00. See answer's preview

$22.00

*********** ** Exercises 1 * pet ***** ***** ***** * weekly ***** ****** *** ****** consists ** * ******* ****** ****** *** SALES with ****** headings **** OF ****** *** PRICE ****** ******* on ****** **** **** of animal *** ***** ***** *** ******* ***** * footer line *** OF REPORT prints *** ***** **** *********** is ***** below File ***** **** ***** DESCRIPTION POSITIONS **** **** DECIMALS **** of Animal ****** CharacterPrice ** ****** ******* ******* **** ****** *** ***** chart *** **** ******** **** the ********* ***** for this ******** **** the flowchart *** this ******** ***** the ********** for **** program  a Print ******** *** ********* ***************************************** **********   d ****************** ******* ************* * ***** *** *** ******* ********* ) ******** ******* ********* )stop housekeeping( * ******* variables petRec **** ********** *** *********** **** ***** * "PET SALES" **** ***** * "TYPE ** ANIMAL ****** footer * **** ** REPORT" open ***** **** ******* ******* headings( ) **** petRecreturn mainLoop( * ***** animalType *********** **** *********************** * ***** ****** ***** ***** PETS ************************ * ***** ***** print head2return   2 ** ******** wants ** produce * ********* ****** The ****** ******** of * ******* report entitled ACTIVE ********* ****** printed on output **** **** **** ** ******** ***** **** ** ******** *** ****** ****** ******* *********** ****** ******** and * ****** *** ***** **** description is ***** *********** name: ********* ***** *********** ********* **** **** ******** **** **** **** Character ***** **** ***** ********* *** *** ****** ***** ******* ********** ***** ******* ****** ****** ***** ******* **** ****** *** print ***** *** **** ******** **** the ********* chart *** this programc Draw *** ********* *** this programd ***** *** ********** *** **** ************ ***** chart:  b ********* *************** ********** *** ************************* housekeeping( )while *** ********** mainLoop( **************** ********* ******************** * ******* ********* persRec **** ******** char ********* num ******* *** ******** *** ******* **** ***** * ******* ********** **** head2 * ***** NAME ***** **** ******* char footer = "END ** ******* **** files ********* ******* perform headings( * **** ************************ * print ******** ********* ******* **** ************************ * print footerclose ***** ********* ************************ * print ***** print **************** ** ******** ***** ** ******* * personnel ****** **** shows the *** ****** ** *** ***** ******** * ** percent ***** ** salary *** ****** ******** ** a ******* ****** entitled ********* RAISES Fields ******* on output are: **** **** ** ******** ***** **** ** ******** current ****** *** ********* salary *** ***** **** *********** is ***** *********** name: ************** *********** ********* **** **** ************ **** ****** ************** **** ******* ************ *** ****** ******* Numeric *********** ******* ******* ******** Salary ******* Numeric **** ****** *** ***** chart *** this ******** Draw the ********* ***** for this ******** Draw the ********* for **** ******** ***** *** pseudocode *** **** ********** ***** ******* ********* chart:      c ********** *** ************************* housekeeping( ****** *** ********** mainLoop( * endwhileperform finishUp( ******************** * ******* variablespersRec **** persLast char ********* num ******* *** persDept *** persSal *** ****** **** ***** = "PROJECTED ******* **** ***** = ***** NAME ***** **** ****** ******** **** ****** = **** OF REPORT" open files ********* ******* ******* ********* * **** ************************ * ****** * ******* * ** print ******** ********* ******* ****** **** persRecreturn finishUp( * ***** *********** ***** ********* Printerreturn headings( ) ***** ***** print **************** A ********* ***** ********* ** inventory file that ******** data ***** ***** **** ** ***** *** ******* wants a ****** **** ***** each ***** ****** *********** *** profit ***** is the ****** ***** minus *** wholesale ***** The fields include a ***** ****** description ********* ***** *** ****** price *** ***** file *********** ** ***** below File ***** ************** DESCRIPTION ********* **** TYPE ************* ****** ***** ******* ************ **** ****************** ***** 30–35 Numeric ******* Price ******* ******* **** Design *** ***** ***** *** **** ******** **** *** ********* ***** *** **** ******** **** *** flowchart *** **** ******** ***** *** ********** *** **** ************ Print chart: finishUp( ) mainLoop( **************** ************ ) main( ) b Hierarchy ***************************** **********  d ************************* ************* ****** *** ********** ********* **************** ********* ******************** * ******* ********* furnRec *** furnStockNo **** *********** *** furnWholesale *** ********** char ***** * ********** STORE ****** ******* char head2 * ******* **** head3 * ******* ITEM *********** ******* **** footer * “END ** ********* num profit open files FURNITURE Printer perform ********* * read furnRecreturn mainLoop( * ****** = ********** * furnWholesaleprint *********** *********** ****** **** ************************ * ***** *********** ***** ********* ************************ * print head1 ***** ***** print head3return   5 * summer **** ***** * record for ***** ****** including ***** **** last name ***** **** and ***** ****** **** ***** **** * ** 10 ** four areas: swimming tennis ************ *** ****** (The ***** date ** ****** ** the ****** ******** ******* any ************ The **** ***** * printed ****** ******* **** ********** **** **** a ***** ***** that ** *** *** ** the ********** **** ***** ****** *** ***** **** *********** is ***** *********** ***** ************ *********** POSITIONS **** **** DECIMALSFirst **** **** CharacterLast **** ***** ************** Date ***** Numeric 0Swimming Skill ***** ******* 0Tennis ***** ***** Numeric ************* ***** ***** ******* ******* Skill 45-46 ******* 0 a ****** the ***** ***** *** this ******** **** the hierarchy chart *** **** ******** **** *** ********* *** **** ******** Write *** ********** for this ************ ***** ******* ********* ************* ************* ************************* ************* ****** not eof perform mainLoop( )endwhileperform ********* ******************** ) ******* ********* campRec char campFirst **** ******** num ************* *** campSwimScore *** campTennisScore *** campHorseScore *** *************** **** ***** * ******* ***** ******* **** ***** * "FIRST NAME LAST **** **** TENNIS ***** ****** TOTAL " char ****** * "END ** REPORT" num ********** **** ***** CAMPERS ******* perform ********* * read ************************ * ********** * ************* * *************** + ************** + campCraftsScoreprint ********* ******** **************************** campHorseScore campCraftsScore ********** read ************************ ) ***** footerclose files ******* ************************ ) ***** ***** print **************** An ******** ***** ** ********* how much *** to withhold *** **** ******** **** *********** ****** ******** ** ** percent of **** ************ weekly pay *** ****** ******** ** * printed ****** ******** *********** *** EACH EMPLOYEE ****** ******* ** output are: **** **** ** ******** ***** **** ** ******** ****** *** ****** *** ***** ** a ******* **** week and *********** ****** *** week The ***** file *********** is ***** belowFile name: EMPLOYEESFIELD *********** ********* DATA **** *************** ID ***** ******* 0First Name ****** ************* **** ******* *************** **** ******* ******* 2 a ****** the print ***** for this ******** **** the ********* ***** *** **** ******** Draw the flowchart for **** programd Write *** pseudocode *** **** program a Print *********** ********* chart:        c ********** ******* *********************** ************* ****** *** ********** mainLoop( * endwhileperform ********* )stop housekeeping( * ******* ********* ****** *** empID **** ******** char empLast *** empHourly **** ***** * ************ FOR **** ********* **** head2 * ***** **** ***** **** **** **** **** *** ********* **** ****** = "END ** ******* *** ******* *** withHold num **** * *** num ******** * ** open ***** ********* Printer ******* headings( * **** *********************** * ******* * ********* * fullWeekwithHold * ******* * ********* empLast empFirst ********* ******* ******** **** *********************** ****** *********** files ********* ************************ * ***** ***** ***** **************** * ******** **** manager ***** * report ******* her ********** batting statistics A ******* ******* is ******** as **** ******* ** ******* and is usually ********* ** ***** ******* positions *** ******** *** *** ****** consists ** * printed ****** entitled **** STATISTICS ****** ******* ** output **** ****** number **** **** ***** name *** ******* average *** ***** file description ** ***** ********* ***** ************* *********** POSITIONS **** TYPE DECIMALSPlayer ****** ***** Numeric ****** **** 3–18 ************* **** 19–35 **************** ******* ******* ***** 39–41 ******* **** ****** *** ***** ***** for this ******** **** *** ********* ***** *** this ******** Draw the ********* *** **** programd ***** *** pseudocode *** **** program a Print *************** ********* ************* ************* Pseudocode: startperform ************* ****** not eofperform ********* **************** ********* ******************** * declare ********* ***** *** ***** **** ******* **** bbLast *** bbAtBats *** ****** **** head1 * ***** *********** **** ***** * ******* ******** **** ***** = "NO **** NAME ***** **** ******** char ****** * **** OF ******* *** ******* open files ******** ******* ******* ********* ) **** ********************** ) ******* * ****** * bbAtBatsprint ***** ****** bbFirst ******* read ********************** ****** *********** ***** BASEBALL ************************ * ***** ***** ***** head2 ***** ***************

Click here to download attached files: Solutions.doc
or Buy custom answer
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question