Demonstrate the systems dynamic view

Assignment Help JAVA Programming
Reference no: EM133011125

Assignment Tasks - Portfolio

Task 1
Write a program to find the solution for the following problems using Recursion.

1.1 Input n values into an array a[] using the scanner class. Find the maximum of an array. If n= 1, a[0] is the only number in the array and so, maximum = a[0]. If n > 1, then find the maximum of n-1 entries of the array.

1.2 Print n (choose n > 10) Fibonacci numbers. The first five Fibonacci numbers are F0=0, F1 = 1, F2 = 1, F3 = 2, F4 = 3.
(800 words)

Task 2

System design
A retail store wants to introduce a home delivery service for its customers. To make their offer is as widely available as possible, they need to implement an online ordering solution allowing customers to browse their online retail store and place orders via their website. The solution needs to support the following functionality.

1. On the admin side:
i) Arranging online store into department/categories such as confectionary, frozen, dairy, drinks etc.
ii) Populating the website database with items available for home delivery.
iii) Creating reports on the ordered items for a selected period of time.

2. On the customer side:
i) Browsing the online store with limited necessary items
ii) Making a selection of items and adding the selection into the shopping basket
iii) Entering their delivery address
iv) Entering payment details and placing the order
v) Leaving customer reviews.

a) Using UML class diagrams demonstrate the static view of the system. The diagrams should depict an unambiguous class hierarchy and relationships between the classes.

b) Using UML sequence or activity diagrams demonstrate the system's dynamic view. The diagrams should represent key interactions between methods involved in the various processes of its functionality.

Task 3
Consider this UML class diagram showing part of a program to manage the membership information for a professional society:

2468_figure.jpg

a) Write a Java version of the class diagram shown above.

b) Assume the standard membership fee is fixed at £50. For a senior member the membership fee is set when a SeniorMember object is created. Create a text file in the path cAjava\memberships.txt with some dummy membership data. Check whether the text file exists using the command exists(), isDirectory(), isFile(), getName() and getAbsolutePath().

c) Discuss the methods (if required) that need to be added to each class to write to the data file.

d) Test your application by creating a new membership record. Include a test log.

Reference no: EM133011125

Questions Cloud

Create a model to calculate the profits : What is the expected value of the profit from your experiments - Create a model to calculate the profits for a company making this product.
What the interest expense for the third year : Alex Limited issued its 7%, 20-year debentures payable at a price of 846720 (maturity value is $ 960 000). What the interest expense for the third year
Explain the requirements for moral judgments : Explain the differences between the two approaches: Utilitarian and Libertarian - Explain the differences between the two approaches
Calculate mr norris minimum federal tax payable : Mr. Norris is married and his wife, Susan, has Net Income for Tax Purposes of $4,500. In each Case, calculate Mr. Norris' minimum federal Tax Payable for 2019
Demonstrate the systems dynamic view : Demonstrate the systems dynamic view. The diagrams should represent key interactions between methods involved in the various processes of its functionality
How much is the effect on the profit or loss : How much is the effect on the profit or loss section of the statement of comprehensive income relating to transactions for the year 2023
Compute the anticipated value of the dividends : The dividend is expected to grow at a constant rate of 7 percent over the next four years. Compute the anticipated value of the dividends
What is the total market value of its equity : Consolidated Pasta is currently expected to pay annual dividends of $10 a share. What is the total market value of its equity
BAFI3252 Modelling in Finance Assignment : BAFI3252 Modelling in Finance Assignment Help and Solution, RMIT University - Assessment Writing Service

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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