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

  Write a java program that asks the user to enter two times

This program should have two classes, substing, parsing . Write a Java program that asks the user to enter two times.

  Design and implement an applet that plays a simple game

Design and implement an Applet that plays a simple game to help teach a child to read. The game displays a picture on the left hand side of the Applet and a word on the right hand side. Below the pictures are two buttons for the child to click--on..

  Describe the graphical coordinate system in java

Describe the graphical coordinate system in Java. Where is the origin? What units apply to the x,y coordinates? How would you use the Graphics class to draw a line between 2 specific points? Give an example

  Write a javascript program that will print prime numbers

Write a JavaScript program that will print all the prime numbers between 1 and 100. You will need to use looping and functions.

  Implement a javascript program for the validation case

Write a JavaScript program for the validation case using the RegExp method - implement a JavaScript program for the validation case

  Solve computer science java validation problem

Computer Science, Operating Systems - Year 1Description:java validationProblem: Using NetBeans 7.2

  Write a program to display the customer''s name

Write a program that prompts the salesperson for the name of the customer and the price of the textbooks sold to that customer.• The program should display the customer's name and the total compensation

  INFS1609 Fundamentals of Business Programming Assignment

INFS1609 Fundamentals of Business Programming Assignment Help and Solution - University of New South Wales, Australia. Part 1 - Tutorials Marks

  Create a project and make modifications on strategy pattern

Download the ducksim-starter-src archive, create a project from it, and make the following modifications: Strategy Pattern and Decoy Duck

  Creation of a virtual world java application

Implement classes that meet the given specifications of object instance variables and behaviors and create operative algorithms using sequential logic structures, decision control structures, and loops

  Maximum number of processes

The amount of disk space that must be available for page storage is related to the maximum number of processes, n, the number of bytes in the virtual address space, v, and the number of bytes of RAM, r. Give an expression for the worst-case disk-spac..

  Difference between multiple processes and multiple threads

What is the difference between multiple processes and multiple threads

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