CMSC203 Assignment Details Assignment #1 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: Wi-Fi Diagnosis (Start We all need internet connectivity in this age of lockdowns. What steps should you go through when you do not have connectivity? Reboot the computer and try to connect lssignment Deseription Did that fix the problem? Yes 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. Reboot the router and try to connect Concepts tested by this aIssignment Did that fix the problem? • Creation of a driver class • Pseudo-code Java fundamentals, including decision structures • Following a flow-chart • Command-line processing No Yes Make sure the cables connecting the router are firmly plugged in and power is getting to the router Did that fix the problem? No Yes Classes Move the computer closer to the router and try to connect Class - WiEiDiagnosis Source code - WiFiDiagnosis.java Did that Yes No fix the problem? Contact vour ISP Done 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. Deliverables

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

hint for the java assignment below:

First line of your program:

import  java.util.Scanner;

To use math symbols:

π : Math.PI

en : Math.pow(Math.E,n)

To read input from the keyboard:

Scanner userInput = new Scanner(System.in);

x = userInput.nextInt();

To write to the console:

System.out.println(x);

System.out.println(“something to print”);

### CMISC203 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?

---

### 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:

#### Flow-chart Explanation

(Start)
1. **Step 1:** Reboot the computer and try to connect.
    - If it works: Done
    - If it doesn't work: Proceed to step 2

2. **Step 2:** Reboot the router and try to connect.
    - If it works: Done
    - If it doesn't work: Proceed to step 3

3. **Step 3:** Make sure the cables connecting the router are firmly plugged in and power is getting to the router.
    - If it works: Done
    - If it doesn't work: Proceed to step 4

4. **Step 4:** Move the computer closer to the router and try to connect.
    - If it works: Done
    - If it doesn't work: Proceed to step 5

5. **Step 5:** Contact your ISP.

Prompt the user at each step, and if they respond that the step they took fixed the problem, exit the program.

---

### Deliverables

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.
Transcribed Image Text:### CMISC203 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? --- ### 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: #### Flow-chart Explanation (Start) 1. **Step 1:** Reboot the computer and try to connect. - If it works: Done - If it doesn't work: Proceed to step 2 2. **Step 2:** Reboot the router and try to connect. - If it works: Done - If it doesn't work: Proceed to step 3 3. **Step 3:** Make sure the cables connecting the router are firmly plugged in and power is getting to the router. - If it works: Done - If it doesn't work: Proceed to step 4 4. **Step 4:** Move the computer closer to the router and try to connect. - If it works: Done - If it doesn't work: Proceed to step 5 5. **Step 5:** Contact your ISP. Prompt the user at each step, and if they respond that the step they took fixed the problem, exit the program. --- ### Deliverables 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.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 6 images

Blurred answer
Knowledge Booster
Random Class and its operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education