Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please give me all necessary screenshot and comments . (I use Eclipse) Thanks Introduction Your assignment is to design and build a program for a

Please give me all necessary screenshot and comments. (I use Eclipse) Thanks

Introduction

Your assignment is to design and build a program for a scientific study that is collecting data from a variety of remote sites. Field agents will use the software to record data they have collected. It will be evaluated against the following requirements:

1. The software shall read a file that is in JSON format containing various readings.

2. The software shall support 4 different types of items in the input file: humidity reading,

temperature reading, barometric pressure, and particulate counts.

3. The software shall read and store the item ID for each entry and associate it with the

specified location ID.

4. The software shall read and store the associated metadata for each item.

5. The software shall support the following commands for each site: add reading, start site

collection, and end site collection.

6. The software shall only allow adding adding readings to a site that has data collection in

process.

7. The software shall keep records for a site that has ended data collection, but will disregard

new readings.

8. The software shall be able to export all the readings into a single JSON file

9. The software shall show the list of associated readings for each site.

Usage of the Java standard libraries or other libraries as part of your program is expected. Make sure you include external jar files with your source when you submit it. Documentation of the program is expected as well. Be sure to include a class diagram of the program and a sequence diagram of the start and end site collection process.

I will attempt to build/execute your code as soon as possible after I receive it, so if you turn it in early and I cant get it to work, you can re-submit (within reason).

Format

As a group deliver the code as a git repo including all the necessary code to execute it including libraries (excluding the Java runtime). If you used an IDE, please tell me which one you used and include necessary files for opening your project in that IDE. Include class diagrams of the code you created.

As an individual, submit a 1 paragraph write up of what you contributed to the project and what you learned.

Submission

The individual portion can be submitted via D2L to the professor prior to or on the due date.

The group portion can be submitted via email to the professor prior to or on the due date.

Evaluation

This assignment will be evaluated/graded based on:

1) Functionality - Does the program meet the requirements?

2) Design - Were good design principles used in the construction of the program?

3) Style - Do you have comments and well written code?

4) Documentation - Do the diagrams indicate how the software is structured?

5) Self Evaluation - Did you contribute, did you learn anything?

Example JSON input file:

{

"site_readings":[

{

"site_id":"12513",

"reading_type":"humidity",

"reading_id":"48934j",

"reading_value": 84,

"reading_date": 1515354694451

},

{

"site_id":"15566",

"reading_type":"particulate",

"reading_id":"1adf4",

"reading_value":354,

"reading_date": 1515354694451

},

{

"site_id":"15566",

"reading_type":"temp",

"reading_id":"1a545",

"reading_value": 20.6,

"reading_date": 1515354694451

},

{

"site_id":"336558",

"reading_type":"bar_press",

"reading_id":"85545",

"reading_value": 760,

"reading_date": 1515354694451

}

]

}

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Analytics Systems Engineering Cybersecurity Project Management

Authors: Christopher Greco

1st Edition

168392648X, 978-1683926481

More Books

Students also viewed these Databases questions

Question

6. What do I hope will result from discussing this ambivalence?

Answered: 1 week ago