Maintain complex programs using design patterns

Assignment Help C/C++ Programming
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

Reference no: EM133230393

Questions Cloud

Why did google change from a private limited company : Why did google change from a private limited company to a public limited company?
Hypothetical case for business : Please form a hypothetical case for a business being sued in a civil litigation matter.
Product Liability Cases Based on Negligence : Product Liability Cases Based on Negligence. Discuss how you might apply what your learned to your personal or professional life.
Why business management research does not deliver : What do you think are the reasons why business management research does not deliver its expected outcomes?
Maintain complex programs using design patterns : IT502 Programming - Diploma in Information Technology Software Development - control structures in programming. Students will develop skills to design
Principles of risk management to personal risk : RMI 370 Principles of Risk and Insurance Assignment - Risk Management Process Discussion, Eastern Kentucky University - Objectives of risk management
What is the sales manager asking the sales reps to do : Translate this into everyday English: What is the sales manager asking the sales reps to do? Please refer to the Boston Consulting Group Matrix in the textbook.
How a perception misunderstanding caused problems : How a perception misunderstanding caused problems in communication? The examples could be drawings, words, culturally different perceptions, differences between
Outline the key points regarding to concerns : Nowadays, many organisations using AI algorithms when they hiring. However this process have concerns in terms of ethical, privacy and legal issues. Outline the

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Derive the expression for variance of the continuous uniform

Derive the expression for variance of the continuous uniform probability distribution (we derived the expression for mean in class). Show your work.

  Simulate a game of blackjack

Design and implement a C++ program to simulate a game of Blackjack between two to four players. Your program must incorporate a two-dimensional array to represent the suit and the value of each card dealt to a player

  Write a for loop header that will count backwards

Write a statement to call a function named getAge that returns an integer and takes no parameters. Assign the returned value to the already declared variable child.

  Create a program that represents a savings account

In C++, create a program that represents a savings account. The program should be written. Create a class named SavingsAccount.

  What is stored in mylist after the following c++ code

Set the value of the twelfth component of beta to four times the value of the eighth component of beta minus 15.

  Determine where functions could be used

Determine where functions could be used in place of existing code in main to make the code easier to read and maintain. Also, before making changes, note all the code behaviors you think need improving

  What is the difference between a while loop and a do while

Every switch statement can be rewritten as a series of nested if statements. Is the reverse true? Give an example of a set of nested loops that could not be implemented as a switch statement?

  You are to create a text adventure game that uses pointers

you are to create a text adventure game that uses pointers. you have a rich eccentric uncle billy who is soon to be

  Write a program to estimate your water bill

Write a C++ program to estimate your water bill for next month. Your water meter measures the volume of water you use in hundreds of cubic feet (CCF).

  Overall process of programming

How does the process of debugging fit into the overall process of programming and how is it used to identify potential problems with the program?

  C -programming in what ways are the

in what ways are the initializationrepetition testand update steps alike for a sentinel-controlled loop and an

  Store the numbers in an array

You need to write a program that will read the file 'unumbers.dat', store the numbers in an array, and then prompt the user to search the list for a number.

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