Programming Homework Help

Programming Homework Help. Week 5 discussion

Part 1


Driver’s License Exam

Prior to beginning this interactive assignment, read Chapter 9: Exceptions and Chapter 10: Files in the course text.

Students: Be sure to download and save a PDF version of your textbook for future reference. It will be used in later courses within your program, including the final, capstone course. Zybooks limits online access to your course textbooks to a 12-month period. (Zybook Download Instructions)

For this interactive assignment, you will create an application that grades the written portion of the driver’s license exam. The exam has 20 multiple-choice questions. Here are the correct answers:

  1. B 2. D 3. A 4. A 5. B 6. A 7. B 8. A 9. C 10. D
  2. B 12. C 13. D 14. A 15. D 16. C 17. C 18. B 19. D 20. A

Your program should store these correct answers in a list. The program should read the student’s answers for each of the 20 questions from a text file and store the answers in another list. (Create your own answer text file to test the application.) After the student’s answers have been read from the text file, the program should display a message indicating whether the student passed or failed the exam. (A student must correctly answer 15 of the 20 questions to pass the exam.) It should then display the total number of correctly answered questions, the total number of incorrectly answered questions, and a list showing the question numbers.

Once you have completed the program, take a screen shot of the completed functionality (including the input and the output) and save it in a word document, along with the script.

In your initial post,

  • Attach your Word document.
  • Describe your process in developing the program.

Part 2


Employee Management System – Functionality 5

Prior to beginning this interactive assignment, read Chapter 9: Exceptions and Chapter 10: Files in the course text.

Students: Be sure to download and save a PDF version of your textbook for future reference. It will be used in later courses within your program, including the final, capstone course. Zybooks limits online access to your course textbooks to a 12-month period. (Zybook Download Instructions)

For this interactive assignment, you will apply all the concepts you learned in previous weeks and apply the use of sequential input and output operations to add two new functionalities to your Employee Management System.

  • Export employees’ information to text file: This functionality will allow the user to save the employee information saved in the list to the file system. Each list entry should be saved into a new line. You may notice by now that closing the script will cost your Employee Management System to lose all entered employees’ information. Exporting the current system data into a file system will help you to save this information permanently on the hard disk and be able to use it at later time.
  • Import employees’ information from text file: This functionality will help you to import preexisting employee information from a text file saved on the file system. Each line in the text should be saved as a new list entry. When you run your Employee Management System for the first time you should be able to populate the system with preexisting employee information, if there are any, instead of adding this information manually to the system.

Once you have completed the functionalities, provide the following in your initial post:

  • One screen shot of each completed functionality.
  • An explanation of how you applied the use of sequential input and output operations to add the two new functionalities to the Employee Management System.
  • A brief description the purpose of this functionality.
  • The script for each functionality.
  • The attached zip folder that contains the running source code. Your instructor will run your source code to ensure that the functionality runs correctly.

Programming Homework Help

 
"Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!"