diff_months: 20

Submit a programming assignment on Design and Implementation of real-world Internet Applications.

Download Solution Now
Added on: 2022-10-06 05:52:33
Order Code: 468767
Question Task Id: 0

Programming Portfolio

(The submission portal on ilearn will close at 14:00 UK time on the date of submission)

Arden University © reserves all rights of copyright and all other intellectual property rights in the learning materials and this publication. No part of any of the learning materials or this publication may be reproduced, shared (including in private social media groups), stored in a retrieval system or transmitted in any form or means, including without limitation electronic, mechanical, photocopying, recording or otherwise, without the prior written consent of Arden University. To find out more about the use and distribution of programme materials please see the Arden Student Terms and Conditions.

Assignment Brief

As part of the formal assessment for the programme you are required to submit a Programming assignment. Please refer to your Student Handbook for full details of the programme assessment scheme and general information on preparing and submitting assignments.

Assignment Task Introduction

This assignment is aimed at allowing you to demonstrate a holistic set of skills in object- oriented programming and systems engineering as required for the design and implementation of real-world Internet applications. This includes the adoption of UML- based systems design concepts and Java-based coding techniques ensuring professional software development. You are required to complete a portfolio of tasks related to a specific case study described below. These tasks constitute a comprehensive design of an electronic system to support the core system’s functionality. Consider yourself a senior software engineer delivering this assignment as a stand-alone project for your organisation.

Case study 

A hotel wants to introduce an online booking system service for its guests. To make their offer is as widely available as possible, they need to implement booking solution allowing customers to browse the availability of the rooms, view pictures of the facilities and other amenities such as parking and place orders online. The hotel also provides discounts to members (frequent guests) and regularly emails members about special offers including discounts.

The solution needs to support the following functionality.

  1. On the admin side:
    1. Arranging offline system into room categories such Double, Executive, etc. ensuring rooms under modifications/unusable are removed from the booking
    2. Uploading pictures of the rooms and other facilities on offer.
    3. Creating reports on the room bookings for management.
  1. On the customer side:
    1. Browsing the hotel system with rooms available for
    2. Making a selection and booking of rooms
    3. Entering their information as a member or non-member
    4. Entering payment details and placing the order
    5. Leaving customer

Task 1

Answer the following questions: 

a.    Draw a UML Class diagram to capture the classes/objects, class hierarchy and relationships between the classes for the system described in the case- study. Make sure to specify multiplicities for all associations shown in your diagrams.

(15 marks)

b.    Sketch a UML sequence and activity diagram for the scenario where the customer enters the payment details and places their order (book room(s) for stay).

(15 marks)

Task 2

Implement the class diagram you have created  for the case-study in Java. Add appropriate methods to set and get the instance variables in the classes. 

(15 marks)

Task 3

a. Using the class and object diagram created in response to task 1a, select an appropriate class as the base class. Write the Java code for this base class and up to three derived classes and implement this hierarchy in Java.

(15 marks)

b. For this assignment consider the database to be text files. In these text files, include dummy data showing the availability of rooms and prices for each per day. Demonstrate one example of the functionality on the customer side of the system (selecting a room(s) and number of days) and passing them to the class where the price is calculated. Implement this interaction in Java.

(15 marks)

c. Select the price calculation functionality as an abstract method defined in an abstract class/interface. Demonstrate how the full functionality of this abstract method can be implemented in

 (15 marks)

Task 4 

Write a program that asks the user to enter a minimum of twenty-five positive integers greater than zero and less than 1000. The program should stop asking the user for input when they enter a zero or a negative number. The program then prints out: 

  1. The number of positive integers whose value is less than 10
  2. The number of positive integers whose value is equal to or greater than 10 but less than 100
  3. The number of positive integers whose value is equal to or greater than 100 but less than 1000

The program should cater for a wrong input: if the user enters a wrong input (a value which is not an integer) the program should notify the user that invalid input has been entered and ask the user to enter positive integers again.

(10 marks)

  • Uploaded By : Katthy Wills
  • Posted on : October 06th, 2022
  • Downloads : 0
  • Views : 144

Download Solution Now

Can't find what you're looking for?

Whatsapp Tap to ChatGet instant assistance

Choose a Plan

Premium

80 USD
  • All in Gold, plus:
  • 30-minute live one-to-one session with an expert
    • Understanding Marking Rubric
    • Understanding task requirements
    • Structuring & Formatting
    • Referencing & Citing
Most
Popular

Gold

30 50 USD
  • Get the Full Used Solution
    (Solution is already submitted and 100% plagiarised.
    Can only be used for reference purposes)
Save 33%

Silver

20 USD
  • Journals
  • Peer-Reviewed Articles
  • Books
  • Various other Data Sources – ProQuest, Informit, Scopus, Academic Search Complete, EBSCO, Exerpta Medica Database, and more