Basic CS [TCS Placement]: Sample Questions 177 - 178 of 196
Get unlimited access to the best preparation resource for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.
Question 177
Explanation
- In networking a task begun before the previous task has ended is known as pipelining.
- Pipelining in a processor allows storing and executing many instructions in an orderly way. Here multiple instructions are overlapped during execution.
- Pipeline is divided into stages connected with one another. Like a pipe instructions enter from one end and exit from another end. Each “stage” of pipeline consists of an input register followed by a combinational circuit. The register holds data and combinational circuit performs operations on it. The output of combinational circuit is applied to the input register of the next segment.
- Pipeline system like the modern day assembly line setup in factories increases the overall instruction throughput.
Question 178
Explanation
- Framing in data link layer separates a message from one source to a destination, or from other messages to other destinations, by adding a sender address and a destination address.
- The destination address defines where the packet has to go and the sender address helps recipient acknowledge the receipt.
- The efficiency of any error detection scheme decreases as the length of the data increases. Thus, small frames increase the reliability.
- Types:-
- Fixed Size Framing: Here boundaries to the frame are not provided as length of the frame is known.
- Variable Size Framing: Requires end of frame marker. For this character oriented and bit oriented approach is used.
- Character oriented
ASCII characters are sent- byte stuffing is required
- Bit oriented
Bits are sent in this- bit stuffing is required
- Character oriented