Program to track hourly employee arrival and departure times

Assignment Help Other Subject
Reference no: EM13254523

A company hires you to write a program to track hourly employee arrival and departure times from work. In essence, you are tasked to make an online time clock. The time clock shall keep a history of an employee’s hours for a two-week pay period.  The application shall have the following functionality:

The ‘punch in/out screen’ shall:

· Save the punch in or punch out date and time of the employee to a memory object (or file).

o The date and time, ‘I’ for Punched In or ‘O’ for punched out along with the Employee ID shall be saved to a memory object called timeclock (or file called timeclock.txt).

o The recorded date for ‘punched in’ and ‘punched out’ shall be the method for matching corresponding records.

o The program shall test to ensure that there is a ‘Punched in’ record for the corresponding day before a ‘punched out’ record is saved. If none is found, prompt the user to enter a ‘punched in’ time.

o When the user has punched in or out, the program shall display a message indicating that the employee has punched in or out, the employee ID, date and time.

o In console based applications the screen shall display “Press any key to continue”

o In console based applications the program shall return to the main menu after a key is pressed when the “Press any key to continue” prompt is displayed.

o Optional functionality: Add the day of the week to the data saved.

Reference no: EM13254523

Questions Cloud

Find the magnitude of impulse acting on victim from floor : In a common but dangerous prank, a chair is pulled away as a person is moving downward to sit on it, causing the victim to land hard on the floor. What is the magnitude of the impulse acting on the victim from the floor during the collision
Anaerobic digestion : A sludge has a moisture content of 95% (wet mass basis).The volatile solids content is 60% (dry mass basis). During anaerobic digestion 50% of the organic matter is degraded. What are volatile solids? Calculate the volatile solids content of the slud..
Describe a sample of saturated magnesia is found : A sample of saturated magnesia is found to have [OH1-] = 3.22 x 10-4M. What is the pOH of the solution. Is magnesia acidic (A), basic (B), or neutral (N)
Select the activity with the lowest slope : Given an equal level of risk and the need to reduce overall project duration, why would you not select the activity with the lowest slope in the entire project network to crash first?
Program to track hourly employee arrival and departure times : A company hires you to write a program to track hourly employee arrival and departure times from work. In essence, you are tasked to make an online time clock. The time clock shall keep a history of an employee’s hours for a two-week pay period.  The..
What are the three objectives of the employment relationship : What are the three objectives of the employment relationship according to Budd, and why are they important?
Describe a sample of bananas in water is found : A sample of bananas in water is found to have a [H3O1+] = 2.51 x 10-5M. What is the pH of the solution? Are bananas acidic (A), basic (B), or neutral (N)
At what angle of refraction does the ray penetrate the ice : A ray of sunlight hits a frozen lake at a 43.9° angle of incidence. At what angle of refraction does the ray penetrate the ice
Explain what is the concentration of hydroxide oh1- ions : What is the concentration of hydroxide (OH1-) ions in saturated limewater if the [H3O1+] = 3.98 x 10-13? Is limewater acidic (A), basic (B), or neutral (N)

Reviews

Write a Review

Other Subject Questions & Answers

  Standard and modified proctor tests

Describe the difference between the standard and modified Proctor tests. Describe the S = 100% curve (zero air voids) and why it is important to the evaluation of compaction data.

  Family patterns influenced by ideological structures

In brief discuss the various family patterns influenced by ideological structures of familial, patriarchy, and matriarchy. How do these constructs influence the daily life of families?

  Discuss the necessary elements of an effective program plan

Discuss the necessary elements of an effective program plan from the initial idea through the evaluation stage. What elements are essential to all programs? What special considerations might be necessary?

  Do competitive sports teach valuable life lessons to youth

In “Do Competitive Sports Teach Valuable Life Lessons to Youth?” choose either the “Yes” or “No” article. Identify the author's bias in the article you chose. How do you know this is his bias?

  Examples of errors that affect truth and validity

What are some examples of errors that affect truth and validity? Summarize the steps you would take to evaluate arguments and overcome any errors in truth or validity that they may contain.

  International trade-foreign exchange-balance of payment

What is a current issue that involves international trade, foreign exchange, balance of payment,tariffs, and free trade?

  What are the primary types of evidence

How has your home community (city, town, or neighbourhood where you grew up) changed since you were a child? Have there been significant changes in the community's economic base and in its racial and ethnic profile? Have the community's social proble..

  Traditional economic theory

Traditional economic theory holds that all people work rationally to maximize profit. From an anthropological perspective, do you believe this is true? Why or why not?

  Explain the term social institution-organized crime

Explain the term social institution as it applies to organized crime. Which empirical and speculative theories are most applicable to this perspective as it applies to organized crime and overall criminal behavior.

  Economic growth and tax relief act

Which of the following statements does not accurately characterize Bush's Economic Growth and Tax Relief Act of 2001?

  Important information concerning forgetting

Do you think that more attention to the information makes forgetting intentionally difficult or impossible?

  Processing corporate record

Should former employees also be compelled to produce corporate record in their possession? Why or why not?

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