Reference no: EM133230393
Programming:
Course Aim: This course provides students with the basic concepts of programming, and different data and control structures in programming. Students will develop skills to design, write, test and debug computer programs and progress on to intermediate level.
Purpose
The purpose of the assessment is to assess students' ability to develop programs to perform I/O operations for problem solving and apply error and exception handling techniques to ensure robustness in computer programs.
Learning Outcome 1: Develop programs to perform I/O operations for problem solving.
Learning Outcome 2: Apply error and exception handling techniques to ensure robustness in computer programs.
1 Analyse requirements, apply appropriate modelling tools, SDLC and HCI principles, to design and document software solutions for a range of problems in an organisational context, including creating accurate and clear technical and user documentation/resources.
2 Write and maintain complex programs using design patterns, data structures and algorithms to meet specifications and software development standards.
3 Apply a range of software quality assurance techniques, including designing and executing a variety of tests, to verify correctness of systems on a range of platforms to meet requirements, and document results.
The Assessment is based on the case study which allows seeing the features of C# implemented on the Hotel Management Application System for the client "LANGHAM Hotels".
LANGHAM Hotels is a chain of luxury hotels and a subsidiary of the Elite Hotels Company Limited, headquartered in Queen Street Auckland and having hotels in major cities of New Zealand.
Previously, LANGHAM approached R J Tech Services company to develop the software application that helps them in their day-to-day operations like the Allocation of Rooms, Deallocation of Rooms, Displaying the status of Rooms, and other functionality. But due to an unavoidable circumstance, the project development is stopped at the initial stage. To meet the project delivery deadline, they are planning to hire a programmer as an independent contractor who could work on the project remotely - using their existing GitHub repository and the project files. Assume that you are hired as the programmer who will be using the C# programming skills to create the console-based application that also implements the Input/Output (I/O) operations (including exceptional handling). This project would be considered a pilot project and in future, it will be integrated with the database system, based on the success of this version.
Task 1 (Environment Setting)
Connect Visual Studio with GitHub
ProjectCode.txt file contains the initial code for building LANGHAM Hotel Management System. Use the initial code from the given file and create your new Visual Studio Project, but the code is not producing the required output for the Client as it is in the initial stage of development. Configure the Visual Studio project with the necessary settings and link it to your GitHub account.
Task 2 (Functionality Implementation)
Following are the functions that need to be implemented in the pilot version of the software, test your code to verify whether it is giving you the correct result.
a. Hotel Management Functions Menu (1-6 and 9)
Add Rooms, Display Rooms, Allocate Rooms, De-Allocate Rooms, Display Room Allocation Details and Exit. Billing is not included in the current version but when the user chooses the Billing option from the menu, they will see a message saying "Billing Feature is Under Construction and will be added soon...!!!.
b. Hotel Management Functions Menu
You need to implement "Save The Room Allocation to a File" and "Show the Room Allocation from a File" in the application Menu using the File Handling I/O concept.
Write the required code that will:
• Create a new text file called "lhms_studentid.txt" if not exists.
• Store the data generated by the Application's operations in a text file with the
timestamp.
• Reads the content of the file and displays it on the screen.
• Add the Backup Menu option and implement the functionality - "Read the content of the file and append it to another file called "lhms_studentid_backup.txt" and delete the content of the "lhms_studentid.txt" file".
• Close the file after the I/O operation(‘s).
Task 3 (Exceptional Handling)
Implement exception handling in your application coding by using try, catch and finally methods.
a. FormatException - Example situation given below; an error occurs when the datatype is not matching.
b. InvalidOperationException - Example situation is given below; an error occurs when the entered value is not matching in the list.
c. FileNotFoundException - Example situation given below; an error occurs when the file is not found in the system/given path.
d. UnauthorizedAccessException - Example situation given below; an error occurs when the file has only read permission but the program is trying to write in the file.
Task 4 (End User Documentation) (20 marks)
Include the following details in the word document.
a. Final Source Code (with all functionalities) and Output Screenshots.
b. Implemented Input/Output (I/O) Operations Screenshots
c. Exceptional Handling Screenshots
d. Identified & fixed any problem('s)
e. What changes were made to the program and why?
Attachment:- Programming.rar