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?
Assignment Description |
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.
Concepts tested by this assignment |
- Creation of a driver class
- Pseudo-code
- Java fundamentals, including decision structures
- Following a flow-chart
- Command-line processing
Classes |
- Class WiFiDiagnosis
- Source code WiFiDiagnosis.java
Assignment Details |
- 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.
Examples/Sample Runs |
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 routers 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.
Reviews
There are no reviews yet.