
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
Create a Python program that:
Displays a GUI window. In the window create:
A textbox to collect a employee's first name
A textbox to collect a employee's last name
A textbox to collect the number of hours worked by that employee that week
A textbox to collect the hourly wage rate for the employee
A button to calculate the employee's gross pay
Overtime pay should be calculated for any hours worked beyond 40
Overtime wage rate is 1.5 times the regular wage rate
A button to create a file to save the data entered and calculated
Save each employee's entry as a separate line or record in the file
In addition to the entered data, save the calculated gross pay
A button to clear the contents of the textboxes and results
A button to close the file
Any labels necessary to display the results and titles for the textboxes
Your program should allow the user to:
Create a file using the Save File Dialog
Enter appropriate data in the textboxes
Click on the appropriate button to calculate the gross pay
Click on a button to save the data for the employee
Click on the button that clears the entered data and results so that the user can enter new data
Click on the button that closes the file when the user has finished entering data
Use variables with meaningful names
Have appropriate comments indicating what each part of the program is doing
Have a comment area at the beginning of the program identifying the author of the program and the class it was created for
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 3 steps with 1 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- showing a User Interface with sample data entered and calculated as well Please use C# in Microsoft Visual Studios and add. Also, please add comments, too! Thank you and have a good one!arrow_forwarddreamweaver creates a library folder in the _____ panel automatically when you set up the libraryarrow_forwardModule main() // Local variables Declare Real budget, spent = 0, amount // Get budgeted amount Call getBudget(budget) // Get amount spent Call getAmount(spent) // display values Call showSpending(budget, spent) End Module // The getBudget module gets amount budgeted for the month Module getBudget(Real Ref inputBudget) Display “Enter amount budgeted for the month: “ Input inputBudget End Module // The getAmount module gets amounts actually spent // terminates on entry of amount = 0 Module getAmount(Real Ref spent) Declare Real inputAmount Do Display “Enter an amount spent: “ Input inputAmount Set spent = spent + inputAmount Until inputAmount == 0 End Module // The showSpending module accepts budget and spent and tells // if over or under budget Module showSpending(Real budget, spent) Display "Budgeted: $", budget Display "Spent: $", spent If budget > spent then Display "Spending less than budget. VERY GOOD!” Else…arrow_forward
- Write a class that uses the command window that displays Programs comments are nonexecuting statements you add to a file for the purpose of documentationarrow_forwardJAVA Create a GUI program that prompts the user to enter the password "Password123". It should grant the user access to a grade book in which they can edit.arrow_forwardModule main() // Local variables Declare Integer feet // Get feet Call getFeet(feet) // display inches Call showInches(feet) End Module // The getFeet mount module gets number of feet Module getFeet(Integer Ref inputFeet) Display “Enter number of feet: “ Input inputFeet End Module // The showInches module displays feet to inches Module showInches(Integer feet) Declare Integer inches Set inches = calcInches(feet) Display "Feet to inches: ", inches End Module // The calcInches function accepts feet and returns inches. Function Integer calcInches(Integer feet) Declare Integer result Set result = feet * 12 Return result End Function flowchart for this pleasearrow_forward
- please make sure it works in visual studio thank you and using user control wpf pleasearrow_forwardjava write a app that prompts the user for the number of miles and outputs the conversion to kilometers. Get input from the user by creating an input form at the top of the UIarrow_forwardA variable should be used to store the results of an application's calculation. What do you think?arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education