Develop applications involving complex component technology

Assignment Help JAVA Programming
Reference no: EM131480501

Individual Assignment

Overview

This assignment requires you to analyse a problem and to design and implement a solution. The tasks require you to demonstrate your understanding of the programming concepts covered in Weeks 1-4 of the course: Setting the foundations and a brief introduction to the course and to the Java programming language, and Exceptions, I/O and Multithreading.

Learning Outcomes Assessed

1. Describe elements of a common object oriented programming language suitable for web based application development

2. Develop applications involving complex component technology

3. Design and implement technical solutions addressing connectivity between components

Assessment Details

Consider a company XXX sells electronic products. There are three types of products they sell, namely (i) Smart Phone, (ii) Television and (iii) Laptop. The following table lists the product descriptions that are stored for each individual product type.

Smart Phone

Television

Laptop

Warranty

Warranty

Warranty

Brand Name

Brand Name

Brand Name

Screen Size

Screen Size

Screen Size

Storage

Energy Rating

RAM

 

Weight

Operating System

Task 1: Create an appropriate hierarchy of classes using Inheritance. Place the product description fields in super class or subclass, where it is appropriate. Define constructors and proper get and set methods for all the fields.

The company XXX maintains a stock of their products. It imposes restrictions on the quantity of each individual product they stock as well as an overall restriction on the total number of products they can store. While stocking the products in the storage, they maintain a digital repository. The repository can be populated using a file or can be manually entered from the console. Consider the file "Stocks.txt" as the template for populating the repository.

Task 2: Define a class "Stocks" whose object can be used as the repository. Moreover define an Interface "StockLimit" that will define the maximum number of each products and the maximum number of total stock that XXX can store in its repository.

Task 3: Define a method to read the text file "Stocks.txt" and generate objects of the corresponding type of product using the corresponding classes' constructor. You are to create as many objects as indicated by "Quantity" in "Stocks.txt".

Task 4: Maintain the current level of stocks for each element and check it with the maximum limit (as defined in Task 2) before creating the product objects in Task 3. Moreover, define an exception class "StockLimitException" and throw it when the total stock limit is reached to abort further attempt to create product objects. Also include appropriate try-catch block.

Task 5: Similarly, define a method to populate the product objects from Console using the same format as described in "Stocks.txt"

Task 6: Save the current repository in a file (ex., "Repository.txt"). Create one record for each product in your digital repository and write the quantity field as 1.

Task 7: Define an appropriate test class with main function to demonstrate the functionalities of your code.

Your assignment should be completed according to the General Guidelines for Presentation of Academic Work.
The following criteria will be used when marking your assignment:
- successful completion of the required tasks
- quality of code that adheres to the programming standards for the course including:
- comments and documentation
- code layout
- meaningful variable names
- use of constants

You are required to provide documentation, contained in an appropriate file, which includes:

a front page - indicating your name, a statement of what has been completed and acknowledgement of the names of all people (including other students and people outside of the university) who have assisted you and details on what parts of the assignment that they have assisted you with.

Attachment:- Java.rar

Verified Expert

This is an electronic shop stock management system in java programming language. It is implemented using all object oriented concepts such as inheritance, polymorphism, class object, etc.. the documentation file is provided with all classes details which are implemented for this project.

Reference no: EM131480501

Questions Cloud

Describe the legal and cultural challenges of each country : Describe the Legal and Cultural challenges of each country. Explain your chosen Market Entry strategy in each country with reason.
What has happened to the average standard of living : Compare your standard of living with that of your parents when they were the same age as you are now. Ask them or somebody you know around their age to recall.
Can you think of a similar example from your life : Suppose that Colombia is good at growing coffee but not very good at making computer software, and that Canada is good at making computer software.
Discussion topic in multimedia systems development : Explain the traditional cel animation and its major advantigies and challengaies compared to other traditional methods, and how digital cel animation overcome.
Develop applications involving complex component technology : Enterprise Programming - Describe elements of a common object oriented programming language suitable for web based application development
Describe the effectiveness of an e-commerce web site : Evaluate the effectiveness of an e-commerce Web site. Explain the security and threats in e-commerce environment. Evaluate the characteristics of e-commerce.
Develop a suitable forecasting model using arima methodology : Suppose you want to forecast employment at the national level. Collect quarterly employment data and develop a suitable forecasting model using ARIMA.
Explain the various di-agnostic tests : Develop a suitable ARIMA model to forecast the labor force participation rate for females and males separately. What considerations would you take into account.
Set architecture based on the number of explicit operands : List and explain different types of instruction formats in instruction Set Architecture based on the number of explicit operands.

Reviews

len1480501

5/1/2017 7:27:15 AM

Tasks Allocated Marks Task 1 10 Task 2 10 Task 3 15 Task 4 15 Task 5 10 Task 6 10 Task 7 10 Report 10 Overall Quality of coding including proper naming of class, variables and methods and code indentation, etc. 10

len1480501

5/1/2017 7:27:08 AM

Describe elements of a common object oriented programming language suitable for web based application development Develop applications involving complex component technology Design and implement technical solutions addressing connectivity between components

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