Answer:
The conclusion is incorrect; using the test case [0, 1, 4, 5] is not sufficient to conclude the program is correct.
Explanation:
From the code snippet given, we cannot conclude that the test case is sufficient.
One of the reasons is because the test case contains only integer variables.
Tests need to be carried out for other large and floating points numerical data types such as decimal, double, float, etc. except that when it's known that the inputs will be of type integer only else, we can't rush into any conclusion about the code snippet
Another reason is that input are not gotten at runtime. Input gotten from runtime environment makes the program flexible enough.
Lastly, the array length of the array in the code segment is limited to 4. Flexible length needs to be tested before we can arrive at a reasonable conclusion.
I believe the answer could be the first choice. I'm not quite sure, though
Answer:
The Layer 4 (Transport layer)
Explanation:
The transport layer is the fourth layer of the OSI (Open Systems Interconnection) model that is responsible for transmitting data between networking devices. Some of its other functions are;
i. It maintains flow control so that the destination station does not receive more packets than it can handle or process at a particular time.
ii. it also maintains error control so that the entire message (data) sent arrives at the layer without any error due to incompleteness, loss, damage or duplication.
Answer:
Your program is correct.
Explanation:
<u>You have this requeriments:</u>
- James doesn't want to sit next to Jill.
- Betty and Herb are dating and want to sit next to each other.
- Bob must sit on an aisle.
- Aisle on either end.
<u>Your answer:</u>
public class Seating{
public static void main (String [] args)
{ String James;
String Jill;
String Betty;
String Herb;
String Bob;
system.output.println(Bob + "," + Jill + "," + Herb + "," + Betty + "," + James + "."; } <em>//Bob is an aisle. James is not sit next to Jill. Betty and Herb are sit together.</em>
}