1. Based on Scenario A, the packets should be encapsulated in multiple frames to minimize the re-transmission overhead.
This is because there will be the need to re-transmit the packets because the network environment is not reliable and accurate. Therefore, a single frame may be too costly when the need for re-transmission arises.
2. Based on Scenario B, the packets should be encapsulated in a single frame because of the high level of network reliability and accuracy.
There will not be further need to re-transmit the packets in a highly reliable and accurate network environment. This environment makes a single frame better.
Encapsulation involves the process of wrapping code and data together within a class so that data is protected and access to code is restricted.
With encapsulation, each layer:
- provides a service to the layer above it
- communicates with a corresponding receiving node
Thus, in a reliable and accurate network environment, single frames should be used to enhance transmission and minimize re-transmission overhead.
Learn more about data encapsulation here: brainly.com/question/23382725
The pseudocode :
Pair MaxiMini(array, sizeof_array)
if sizeof_array = 1
return element as both maximum and minimum
else if sizeof_array = 2
do one comparison to find the maximum and minimum
return that pair
else
# sizeof_array > 2
recursion for maximum and minimum of the left half
recursion for maximum and minimum of the right half
one comparison determines the true max of the two elements
one comparison determines the true min of the two elements
return the pair of maximum and minimum
Gimme Brainliest.
--------------------------
The designer could use the measurements in pixels.