$30
CMSC 203 Assignment 1
Wi-Fi Diagnosis
We all need internet connectivity in this age of lockdowns. What steps should you go through when you do not have connectivity?
Build an application that will step through some possible problems to restore internet connectivity. Assume that your computer uses wi-fi to connect to a router which connects to an Internet Service Provider (ISP) which connects to the Internet.
• Creation of a driver class
• Pseudo-code
• Java fundamentals, including decision structures
• Following a flow-chart
• Command-line processing
• Class - WiFiDiagnosis
• Source code - WiFiDiagnosis.java
• Write a program based on the following flow-chart
• This class should contain a main method.
• The diagnosis will be based on the following flow-chart:
Prompt the user at each step, and if they respond that the step they took fixed the problem, exit the program.
You are required to run the application from the command line and from an IDE (like Eclipse). Take screenshots of two runs of your program with different inputs, one from the command line and one from your IDE.
If you have a problem with internet connectivity, this WiFi Diagnosis might work.
First step: reboot your computer
Are you able to connect with the internet? (yes or no)
no
Second step: reboot your router
Now are you able to connect with the internet? (yes or no)
no
Third step: make sure the cables to your router are plugged in firmly and your router is getting power
Now are you able to connect with the internet? (yes or no)
yes
Checking the router's cables seemed to work
If you have a problem with internet connectivity, this WiFi Diagnosis might work.
First step: reboot your computer
Are you able to connect with the internet? (yes or no)
yes
Rebooting your computer seemed to work
If you have a problem with internet connectivity, this WiFi Diagnosis might work.
First step: reboot your computer
Are you able to connect with the internet? (yes or no)
no
Second step: reboot your router
Now are you able to connect with the internet? (yes or no)
no
Third step: make sure the cables to your router are plugged in firmly and your router is getting power
Now are you able to connect with the internet? (yes or no)
no
Fourth step: move your computer closer to your router
Now are you able to connect with the internet? (yes or no)
no
Fifth step: contact your ISP
Make sure your ISP is hooked up to your router.
Deliverables / Submissions and Deliverable format:
The Java application must compile and run correctly, otherwise Project grade will be 0.
The deliverables will be packaged as follows. Two compressed files in the following formats:
• FirstInitialLastName_Assignment1_Complete.zip, a compressed file in the zip format, with the following:
• Source Code: WiFiDiagnosis.java
• Word document that includes (use provided template):
• Design: pseudo-code
• Test Plan (test cases, for each test case provide screenshot of the running application)
• Screenshots:
o One screenshot of the application running from the command prompt.
o One screenshot of the application running in your IDE.
o Screen shot of Java file (WiFiDiagnosis.java) in your GitHub repository
• Lessons Learned: Provide answers to the questions listed below:
o Write about your Learning Experience, highlighting your lessons learned and learning experience from working on this project.
o What have you learned?
o What did you struggle with?
o What would you do differently on your next project?
o What parts of this assignment were you successful with, and what parts (if any) were you not successful with?
o Provide any additional resources/links/videos you used to while working on this assignment/project.
• FirstInitialLastName_Assignment1_Moss.zip, a compressed file containing one or more Java files (This folder should contain Java source file only):
• Source Code: WiFiDiagnosis.java
Documentation within a source code should include
o comments for each method.
o additional Comments to clarify a code.
o one block comment at the top of each program containing the course name, the project number, your name, the date, and platform/compiler that you used to develop the project, for example:
/*
* Class: CMSC203
* Instructor:
* Description: (Give a brief description for each Class)
* Due: 2/09/2021
* Platform/compiler:
* I pledge that I have completed the programming assignment independently.
I have not copied the code from a student or any source.
I have not given my code to any student.
Print your Name here: __________
*/
Grading Rubric
CMSC203 Grading Rubric - Template Possible total Grade: 100 Points Earned:
Name
TESTING
Project must compile. If it doesn't compile 0
Project must run. If it's run time error 0
Follows assignment document instructions 25
Passes private instructor tests 75
Possible Sub-total 100
REQUIREMENTS (Subtracts from TESTING total)
Documentation:
Documentation within a source code is missing or incorrect
Header comments at the top of the program are missing -5
Comments for each method are missing -5
Additional comments should be provided to clarify a code -5
Description of what class is missing -5
Design: Pseudocode/algorithm missing or incorrect -5
Javadoc is mission (if Applicable) -5
Required output screenshots are missing -5
Lessons Learned are missing or incomplete -10
MOSS zip file is missing -5
GitHub screenshot is missing -5
Programming Style:
Incorrect use of indentation, naming convention, etc: -5
see coding/style standards
User interface
Not clear to user how data is to be entered -4
Output is not easy to understand -4
Design:
Does not follow the given flow-chart -6
Does not print application header -4
Does not print the Programmer's name at the end -4
Possible decrements: -82
Possible total grade: 100 Points Earned: