Create an employee class

Assignment Help Software Engineering
Reference no: EM1379963

Create an Employee class that has fields for the given pieces of information:

* Employee Name
* Employee Number

Also design a class named ProductionWorker that extends the Employee class. The ProductionWorker class should have fields to hold the following information:

* Shift Number (an integer, such as 1, 2, or 3)
* Hourly Pay Rate

The workday is divided into two shifts: day and night. The shift field will hold an integer value representing the shift that the employee works. The day shift is shift 1 and the night shift is shift 2. Design the appropriate accessor and mutator methods for each class.

After having designed the classes, design a program that creates an object of the
Production Worker class and prompts the user to enter data for each of the object's fields. Store
the data in the object and then use the object's accessor methods to retrieve it and display it on
the screen. Please provide a Flowchart, and a Pseudocode following the guidelines of good
program design, like meaningful variable names and thoroughly commented code.

After having designed the classes, design a program that creates an object of the ProductionWorker class and prompts the user to enter data for each of the object's fields. Store the data in the object and then use the object's accessor methods to retrieve it and display it on the screen. Please provide a Flowchart, and a Pseudocode following the guidelines of good program design, like meaningful variable names and thoroughly commented code.

Reference no: EM1379963

Questions Cloud

What does it express us about capitalism : Is Wal-Mart's rapid increase to retail dominance a positive or a negative development for our society? What does it express us about capitalism, globalization and the plight of workers?
Determine the screen output of code segment : Determine the screen output of the following code segment? Explain your answer.
Jarret owns city of savannah promises with an adjusted basis : Jarret owns city of Savannah promises with an adjusted basis of $100000. During the year he receives interest payments of $3000. Jarret partially financed the purchase of the bonds by borrowing $80000 at 5% interest
Research about dining facilities at the grand hyatt seattle : As a meeting planner you want choices for meals. Please research about dining facilities at the Grand Hyatt Seattle. You need to know what sites will be interesting to your attendees
Create an employee class : Create an Employee class that has fields for the given pieces of data, Also create a class named ProductionWorker that extends the Employee class.
One manufacturer of dictating machines recruits : One manufacturer of dictating machines recruits merely experienced people and doesn't recruit among graduating college students. A competitor recruits extensively amongst colleges in its search for salespeople
What are the assistances of these perspectives to modern : What are the assistances of these perspectives to modern day management? What are the bequests of these perspectives in today's organizations?
Develop a project management plan : CASE STUDY:  The Royal Children's Hospital Education Institute iPad Project,  As stated by Schwalbe (2013) a project management plan (PMP) is a document used to coordinate all project planning documents and help to guide a project's execution and co..
Creating flowchart and pseudocode using control breaks : Shemrock Corporation is a brake pad manufacturing firm. This corporation uses raw materials, such as carbon powder, iron, ash, and resin.

Reviews

Write a Review

Software Engineering Questions & Answers

  Systems analysis and design requirements

Systems Analysis and Design requirements

  Main building modules of entity relationship model

What are the main building modules of the Entity Relationship model? Discuss each one. What is a weak entity, and how is it represented in an E-R diagram? Give an example.

  Sketch er diagram to keep track of employees and projects

Sketch ER diagram for the following situation and write any assumptions you think you have to make to develop a complete diagram. Company requires the operational database to keep track of all employees, departments, and projects.

  Prepare a data flow diagram for computing the volume

Prepare a data flow diagram for computing the volume and surface area of a cylinder. Inputs are height and radius of cylinder.

  Conducting unit testing of code

Suppose you are writing a program and you will start to conduct testing on your code as it becomes completed and operational. This is generally called unit testing.

  Draw class diagram for computing machine

Each problem reported by a distinct user is assigned a unique problem number (even if different users call in to report the same problem). Draw a class diagram that accurately reflects the system's requirements.

  Describe relationship between different types of software

Describe the relationship between different types of software and the type of machine with which they are compatible.

  How formal communication plan save a project

Discuss and explain how a formal communication plan can save a project when end users fail to engage, or when they have not been involved to similar level as sponsors and executives.

  Question about c programming

Construct a conditional that assigns 10,000 to the variable bonus if the value of the variable goodsSold is greater than 500,000.

  Analyzing project management

This solution utilizes the example of a specific project to install a complex, one hundred computer network for a corporation

  Diffie hellman key agreement

Assume that users Alice and Bob carry out the Diffie-Hellman key agreement protocol with p = 50147 and g = 5. Assume that Alice chooses x = 1367 and Bob chooses y = 3789.

  Investigate and analyse the effect of applying cmmi practice

ITECH3501- 6501 Principles of Software Engineering:  Investigate and analyse the effect of applying CMMI practices/processes in an Agile environment in terms of business performance improvement and the limitations/restrictions of using both, and writ..

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