Display the averaged measurements every time

Assignment Help Database Management System
Reference no: EM13324924

The XYZZY Widget Company has identified weather station management as an area of future interest for the company. You have been contracted to design a simulation system that the company can use to exercise prototype versions of their software. A simple simulator has already been constructed and embedded in a very basic sensing application - it is available here. The application uses hash tables - for a brief introduction, refer tothese slides . While the approach used by the simulator is very basic (using a dilated simulation clock), it is has been deemed sufficient for the purpose at hand.

The application to assist the company in understanding weather station management issues. The system needs to model the following entities:

1.     A weather information system

2.     A weather station and

3.     The instruments associated with the weather station.

A weather station is configured with one or more instruments to measure

1.     Rainfall (mm)

2.     Wind direction (degrees from north)

3.     Ground temperature (degrees celsius)

4.     Air temperature (degrees celsius)

5.     Air pressure (pascals)

Each instrument is configured with its own sampling interval and will have a read() method which will be invoked by the simulator at regular intervals. Details of how reading is to be modelled will be provided for the next assignment. However, note that reading may fail.

The weather station persists instrument data to a database at regular intervals - this interval is specified when the weather station is configured. The values that are persisted are the averages for the instrument readings over the current persistence interval.

The weather information system will initially be modelled as a GUI form with functionality limited to the following:

1.     Start the simulation

2.     Display the time as measured by the simulation time at each clock tick

3.     Display the averaged measurements every time they are persisted to the database

4.     Stop the simulation

Refer to the provided application for a simplified version of such a form. These four items form the initial requirements for the system.

In the future, it is anticipated that the weather information system will be extended to allow its users to query the persisted measurements. In this regard, assignment 1 provides indicative queries. Also, it is expected that the range of instruments will be extended (for example, instruments to measure humidity and water runoff). There is also interest in remote control of the instruments, so the ability to start and stop instruments and to reset faulty instruments will be required. In your design, you are not expected to provide sequence diagrams for these future requirements, but you are expected to indicate how your design could be extended (if necessary) to accommodate these additional requirements with minimal impact on the original design.

As with assignment 1, a sophisticated GUI is not required. However, the design must conform to the Model View Presenter (MVP) pattern.

Submissions

Submit your design document as a Microsoft Word document. The document is to be structured according to the Assessment criteria below.

Assessment Criteria

 Criteria

Explanation

Marks Available

Software architecture

What are the layers in your application (I expect to see model view and presenter layers, but you may have more). What is the interaction between layers?

 

Database design

Provide ER diagrams for all tables.

 

User interface design

Use the NetBeans GUI builder to build form mock ups and present the screenshots.

 

Class diagram

Include all the non-library classes that will appear in the application.

 

Sequence diagrams

For the 4 listed requirements, provide a sequence diagram for each requirement.  The sequence diagrams are to include all method calls required to realise the requirement.

 

Mapping of classes to layers

For each of the classes that you have specified in your class diagram, indicate to which layer of your software architecture diagram they belong

 

Acceptance tests

Indicate what will need to be tested for a customer to sign off on the completed application. Detailed test descriptions are not required.

 

Note that submission is a three-stage process of (i) uploading the file(s) (ii) saving the file(s) and then (iii) submitting the saved file(s) for marking. Please use the 'Upload files' button below to select and upload your file(s) for this assessment. You must then click the 'Save changes' button after you've uploaded the file(s) to ensure they are added to your draft submission.

Note that, once uploaded and saved, all compatible files will be sent to Turnitin.com for originality checking. If you wait for half an hour or so after uploading your draft submission, you can return and check the Turnitin similarity report for your uploaded file(s) to see whether you want to submit them for marking, or whether you want to delete the file(s), revise and resubmit. For further details, please click here.

Please note, when viewing any feedback files for your submission, it is strongly recommended you use appropriate/compatible software applications which correctly open the type of file provided. This will ensure feedback content is displayed as intended.

Reference no: EM13324924

Questions Cloud

Explain what three events occur during the light reactions : What three events occur during the light reactions of photosynthesis. A. Reduction of oxygen, oxidation of NADPH, formation of ATP B. Oxidation of water, reduction of NADP+
Brief discussion for problem : Brief discussion for Problem - What does the following transcript teach us
Impact of the islamic culture on modern western culture : Consider the impact of the Islamic culture on modern western culture? How has contemporary culture been influenced by these cultures?
Explain diffusible throughout the matrix of the mitochondria : In the intermembrane space, attached to the inner mitochondrial membrane. C. In the intermembrane space, attached to the outer mitochondrial membrane D. On the cytosolic side of the outer mitochondrial membrane E. Freely diffusible throughout the ..
Display the averaged measurements every time : The application uses hash tables - for a brief introduction, refer tothese slides . While the approach used by the simulator is very basic (using a dilated simulation clock), it is has been deemed sufficient for the purpose at hand.
Show tic-tac-toe game scenario diagram : The assignment is not to implement this game in Ruby. Rather, the assignment is to use scenario diagrams to discover the objects, their responsibilities, and the messages they respond to
Explain a mitochondrion is producing atp at a constant rate : A mitochondrion is producing ATP at a constant rate and, then, a chemical uncoupler is added. Compared to before the uncoupler was added
How long will it take her to run a mile at this speed : While running a marathon, a long-distance runner uses a stopwatch to time herself over a distance of 100. How long will it take her to run a mile at this speed
How to calculate the ph of sodium formate solution : Given 217 mL of a buffer solution that is 0.46 M formic acid and 0.27 M sodium formate, calculate the pH of this solution after the addition of 2.8 mL of 6.3 M hydrochloric acid. The Ka of formic acid is 1.8x10-4

Reviews

Write a Review

Database Management System Questions & Answers

  Prepare table which is in first normal form

Prepare the example of table which is in first normal form but not in second normal form and example of a table which is in second normal form but not in third normal form.

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Explain database models-hierarchical and relational

Explain each of three database models, hierarchical, relational, and object-oriented, and provide specific referenced example of each of these model types implemented in a functioning database

  Explain relational database and metadata

Which is not a factor to consider in software evaluation and explain relational database and Metadata - Build an entity relationship model

  Write select statement which returns three columns

Write a SELECT statement which returns three columns: VendorName, InvoiceCount, and InvoiceSum. InvoiceCount is the count of the number of invoices, and InvoiceSum is the sum of the InvoiceTotal column.

  Develop new user and new role for assistant dba

You need to develop new user named ASSOCDBA1 and new ROLE named JRDBA1 which can be used for assistant DBA. You wish the new role to contain DBA role that the SYSTEM user ha

  Write problems and issues associated with internet databases

Over 70% of web applications use database to store persistent data. Write some of the problems and issues associated with internet databases?

  Create an external dtd that dictates a relational model

Create an external DTD that dictates a relational model-like data structure for XML documents.

  Database for university keep track of its course offerings

Assume you are making a database to help university keep track of its course offerings. You might have following entities in database, as they are distinct items in real life.

  Sketch dfsa for identifiers-contain only letters and digits

Sketch a DFSA for identifiers which contain only letters and digits, where identifier should have at least one letter, but it need not be first character.

  Create a dtd file and an xsd file that specify the schemas

Create an XML file that describes 3 product elements; each product has three sub-elements: id, name, and description.

  Design updateable database for storing customer and sales

Design an updateable database for storing customer and sales data. Explain how to deal with the problems of missing data.

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