Create a prototype of a simple home automation bot

Assignment Help JAVA Programming
Reference no: EM132358546

Introduction To Programming Assignment - HomeAutoBot

Introduction - You must create a prototype of a simple home automation bot named "Fraizr" (fictional name) that demonstrates the exact behaviours shown in the following video: COSC1519 ITP A1 - Introduction (see attached file).

The code that you write does not need to control any appliances. Fraizr has a list of appliances that it can either turn on or turn off (see video above). You are given marks on your ability to follow all requirements on this document as well as on your ability to match behaviours in the video.

Note: When clients explain their requirements, it is normal for the programmer to refer to the presentation several times and ask questions as needed.

Functional and Development Requirements -

Develop Fraizr in a .java file named HomeAutoBot.java. This is the file that you will submit. Fraizr must be developed in 3 stages discussed further below; Each stage will guide you correctly to the next stage so it is crucial that you follow this sequence. However, only the final stage that you complete must be included in the HomeAutoBot.java file.

All 3 stages follow the following algorithm (identify the steps from the lecture 1 video):

A. Show welcome message.

B. Do appliance count or/and name input mode.

C. Listen for instructions mode until user chooses to exit by selecting the cancel button.

1. Display appliances and their current states (exactly as shown in video) and ask for input

2.1 If user input starts with "turn on" or "turn off" followed by an appliance name, display confirmation and update state variable/array element.

2.2 If user input starts with "turn on" or "turn off" followed by an unknown appliance name, display "I can only control: ..." followed by all appliances and their states.

2.3 If the user input does not start with "turn on" or "turn off", display "please say turn on or off for the following: ..." and display all appliances and their states.

D. Show goodbye message.

Development Stage 1: Fixed to 4 appliances. Appliance names are entered by the user. Does not use arrays; variables must be created for appliance names and appliance states (on/off). Comments are added to the code explaining where each algorithm step is located in the code.

Development Stage 2: Fixed to 4 appliances. Appliance names are entered by the user. Must use 2 arrays: one for appliance names, one for appliance states. Comments are added to the code explaining where each algorithm step is located in the code then discusses coding approach.

Development Stage 3: At the start, asks user the number of appliances and then takes name inputs for that many appliances. Must use 2 arrays (see stage 2) and each array's length matches the number of appliances entered. Comments are added to the code explaining where each algorithm step is located in the code then discusses coding approach and evalauates against alternatives.

Attachment:- Introduction To Programming Assignment File.rar

Verified Expert

The task of the program is to develop the java program.The java program is to develop a HomeAutoBot system. The program is developed in 3 stages. The program displays the welcome message, then appliance count or/and name are received from the user, application then listens until user chooses to exit by selecting the cancel button, the command is received from the user and the appliance is updated and displayed to the user.

Reference no: EM132358546

Questions Cloud

Idea fits within the context of entrepreneurship : Critique their justifications of how their concept or idea fits within the context of entrepreneurship or intrapreneurship to create change.
Bibliographies demonstrating substantial progress : This week post 3 annotated bibliographies demonstrating substantial progress in researching essential elements of your study.
Change in organization are often formidable : The forces opposed to change in an organization are often formidable, and they sometimes derail the change entirely.
Crisis management plan is sign of poor leadership : Some people believe that a crisis management plan is a sign of poor leadership. Why would this be a view of crisis management?
Create a prototype of a simple home automation bot : COSC1519 Introduction To Programming Assignment - HomeAutoBot, Royal Melbourne Institute of Technology, Australia. Create a prototype of simple home automation
New submission final revision of the rationale : Title your new submission Final Revision of the Rationale, Definitions, and Assumptions and Limitations.
Detail the complete design of employee training program : Create a written proposal in which you detail the complete design of an employee training program. Develop the training objective for this program based
Develop comprehensive global human resource strategy : Develop a comprehensive global human resource (HR) strategy for your company. Develop a comprehensive operations management strategy for your company.
Referendum calling for national value-added tax : An interview conducted with mayors of a sample of cities in Florida. A poll of voters regarding a referendum calling for a national value-added tax.

Reviews

len2358546

8/18/2019 9:52:18 PM

Note: You are awarded marks based on your ability to follow and fulfill the given requirements of this assignment. Every word in this document matters. If it is not written, it is not a requirement but you must use the necessary concepts shown in class materials as the list of things you must not do is too long to list.

len2358546

8/18/2019 9:52:12 PM

Delivery/Submission Requirements - You to perform two deliveries of your work. There are three important dates/actions to remember. Delivery 1: Submit a partially complete HomeAutoBot.java just before your allocated practical class and demo it during your allocated practical in week. Completion of Delivery 1 attracts 3.75 marks. Your demo instructor will ask you questions related to your work. Delivery 2: Submit a fully complete set of files by Sunday of week 5 then demo the work that you have done after delivery 1, during your allocated practical in week 6. The obtainable marks for Delivery 2 is as follows: 6.25 marks if HomeAutoBot.java stage 3 requirements completed in final submission and demo’ed in week 6. 3 marks if only up to and including stage 2 requirements completed, submitted in HomeAutoBot.java via Canvas and demo’ed in week 6. Or 1.5 marks if only up to and including stage 1 requirements completed, submitted in HomeAutoBot.java via Canvas and demo’ed in week 6.

len2358546

8/18/2019 9:52:05 PM

Important note: If there is no submission, you will not get a turn to demo. You will need to bring your own laptop to the demo. Code with any invalid Java (e.g. red dots in Eclipse) will receive 0. Code that crashes at runtime will receive a 50% penalty of the eligible mark of that delivery. Late submissions: Late submissions incur a standard 10% penalty for each working day late for that delivery; submissions will not be accepted after 5 working days from deadline. If you wish to organise special consideration, please contact RMIT special consideration.

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