Loops are frequently used to<u> validate data </u>that is, to make sure it is meaningful and useful.
<h3>What are common blunders made by programmers in coding loops?</h3>
Forgetting to initialize and alter the loop control variable are common mistakes that programmers occasionally make. One set of instructions operates on multiple, separate sets of data. Initialized before joining a while loop.
<h3>What are the three steps that should occur in every loop?</h3>
- Provide a starting value for the variable that will contain the loop.
- Test the loop control variable to decide whether the loop body executes.
- Alter the loop rule variable.
To learn more about Loops , refer
brainly.com/question/19344465
#SPJ4
Answer:
Stack
Explanation:
Any function that call itself can be regarded as recursive function, it should be noted that Recursion is a natural use for a stack, especially in the area of book keeping.
Recursion is very important because some of problems are usually recursive in nature such as Graph and others, and when dealing with recursion , only base and recursive case is needed to be defined.
Some areas where recursion is used are in sorting and searching.
Answer:
Transport layer:
- data packets are segment to smaller chunks.
- gives sequence number to segment.
- identifies the source and destination port number.
- initiates data transmission between nodes.
- rearrange and identifies the application, the transmitted data is meant for.
Explanation:
The transport layer is the fourth layer in the OSI network model. Protocols like TCP and UDP are found in this layer. It segment data packets and for a connection oriented protocol like TCP, it creates an established session between source and destination host (the session layer can also do this, but it is more defined in the transport layer).
The network and data-link layer can also transmit data packets.