Answer:
FOR i% = 1 TO 100
IF ((i%\3) = i%/3) AND ((i%\7) = i%/7) THEN
PRINT i%
END IF
NEXT i%
Explanation:
Of course using MOD would be cleaner, but another way to check if a number is integer divisable is to compare the outcome of an integer division to the outcome of a floating-point division. If they are equal, the division is an integer division.
The program outputs:
21
42
63
84
Answer:
RTT1+ RTT2+..... RTTn
Explanation:
The total estimated time to get the IP address is
RTT1+ RTT2+..... RTTn
Once the IP address is known, O RTT elapses to set up the TCP connection and another O RTT elapses to request and receive the small object. The total response time is
2RTT0+RTT1+RTT2+.....RTTn
Answer:
Reliability feature in transport layer ensures correct order.
Explanation:
TCP (Transmission Control Protocol) is a communication protocol over network. TCP has a layered architecture and transport layer controls the data transmitted arrives in correct form. This is called reliability feature.
Control data header at transport layer ensures correct delivery. It tracks the transmitted data and re-transmits in case of en error.
Answer:
I believe the answer is D. var = var + 1
Explanation: