Algorithms and Data Structures Programming Assignment

Assignment Help Other Subject
Reference no: EM132412680

Algorithms and Data Structures - Practical Programming Assignment

Introduction - You are to develop objects for a computer system. This assignment is divided up into separate parts to help you with your development.

Part A -

Using Eclipse you should create a new System project.

Within the project, create a Systemxxxxx class, where your exam ID forms part of the class name - for example System_xxxx, where xxxx is your exam ID.

Attached is the class diagram for the System class.

Within your project create another class called SystemTest_xxxxxx, (where xxxxxx is your exam id).

Create a 'main' method, which should create a Systemxxxxxx object and test all the methods.

You should 'set' the details within the code.

Compile and run the SystemTest class from the command line.

Evidence your source code and output in your assignment report.

Note - Your program should run from the command line i.e. independently of Eclipse.

Part B - System properties

As you know Java provides a System class with many useful static methods (e.g. System.out.println()).

One of the methods provided in the System class is getProperty(argument).

Add a 'displaySystemProperties()' method to your Systemxxxxx class. This method should display (in appropriate format) the following properties:

Operating System Architecture

Operating System Name

Operating System Version

User Account Name

Java Version.

The method should also output a positive message if the Operation System equals 'Windows 10', a negative message if the Operating System equals 'Linux' and a neutral message for the rest of the operating systems.

Test the displaySystemProperties() method by calling it from the test class you wrote in part A.

Part C - Test class with textual menu

Amend your test class so that, after it initialises a Systemxxxx object, it presents the user with the following textual menu in the console (use as many options as you have implemented).

Choice 1 - Print System Details

Choice 2 - Diagnose System

Choice 3 - Set Details

Choice 4 - Quit the program

This menu should be repeated until the user quits.

When Choice 3 is chosen, the memory size and hard disk size of the computer should be interactively set e.g. prompt to take in user input.

Part D - Upgrade to a GUI interface

Within your project create another class called SystemTestGUI_xxxxxx, (where xxxxxx is your exam id).

Create a 'main' method, which should create a Systemxxxxxx object and test all the methods.

Create a graphical menu based on the structure of your textual menu in Part C, providing appropriate user interaction for input and output.

You should explore the range of GUI components available to you. This may be a simple series of screens using JOptionPane (Figure 1) or a hierarchical navigation structure with appropriate layouts (Figure 2. Advanced GUI with multiple screens and elements.). Note: these figures are only provided as examples, your design does not need to match them.

Make sure you carefully consider what type of data (information) you want the user to input and that your selected components support this (consider the data types in the class diagram).

Credit will be given for appropriateness, diversity (hierarchical navigation, choice of components where applicable) and clarity of arrangement (intuitive interface, clear indication of input required, concise display of output).

Attachment:- Algorithms and Data Structures - Practical Programming Assignment File.rar

Reference no: EM132412680

Questions Cloud

Biochemical reactions in aerobic metabolism : As one keeps increasing workload biochemical reactions in aerobic metabolism become less efficient. Think of this as if you keep trying to catch a ball
Lamarckian and darwinian theories of evolution : Compare and contrast Lamarckian and Darwinian theories of evolution. What are some examples of each of their own theories?
What is another example of lamarckian theory : What is another example of Lamarckian theory instead of giraffes? I can not use giraffes, birds, humans squirrels, snakes lizards, etc.
Grouped together simply for convenience : The protists are grouped together simply for convenience. Why are they not considered to be in a specific taxon such as a kingdom or a phylum?
Algorithms and Data Structures Programming Assignment : Algorithms and Data Structures - Practical Programming Assignment - You are to develop objects for a computer system
Describe two types of compounds from living things : Describe two types of compounds from living things that are used as medications and Please provide proper citations for your references.
Specific species of plant and the benefit you chose : In addition to providing most of the oxygen for land animals, plants do many other things for us discussing a specific species of plant and the benefit
Success of crossing over and population survival : Pertaining to Arts: Correlate the success of crossing over and population survival to the use of social media and its ease to increase communication on a global
What does the term professionalism mean to you : What does the term Professionalism mean to you? What Professional Quality do you think is most important for a student and a OT( occupational Therapy) have

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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