A router <span>should be used for enabling a host to communicate with another host on a different network.</span>
Answer:
Option: Making a choice
Explanation:
In a problem solving process, it starts with defining a problem which is the first step that we need to identify the issue.
After that, we should gather the information on the issue that we identify. For example, we are root cause of the problem, what are the possible solutions etc.
Next, we evaluate the information that we collect (e.g. pro and cons of a particular solution).
Next, we make a choice on the solution that we are going to take after further evaluation on all the options we have.
Only after we make a choice, then we can take action based on our chosen solution to solve the problem.
Answer:
Five times
Explanation:
Given the codes as follows:
- int upperCaseLetters = 0;
- String str = "abcdEfghI";
- boolean found = false;
-
- for (int i = 0; i < str.length() && !found; i++)
- {
- char ch = str.charAt(i);
-
- if (Character.isUpperCase(ch))
- {
- found = true;
- }
- }
The for loop will stop when the first uppercase letter is found in the str. This condition is set in the for loop condition ( i < str.length() && !found)
Since the the first upper case letter is the fifth character in the given str, the for loop will run for five rounds. In the fifth round the condition in the if statement (Line 9) will be evaluated to true and then set the true value to found variable (Line 11). This will terminate the loop in the next iteration.
Answer:
B)tracert
Explanation:
Tracery Command can be regarded as
network diagnostic tool, it is used in tracking process of pathway of packet ranging from source to destination on IP network. It as well allows to know real time of each hops that are been taken by a packet as it enroutes to it's destination. The traceroute can be run by following these steps:
✓Open the run window
✓Open Command prompt, this can be done by enter "cmd" then enter.
✓ input" tracert" then destination ( Ip address or web address)
It should be noted that Tracery command issued from the command prompt will show the route that a packet travels from the issuing computer to another computer.