Basic CS-Networks [TCS Placement]: Sample Questions 109 - 110 of 133

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 109

Networks
Edit

Describe in Detail

Essay▾

What is flow control?

Explanation

  • Flow control ensures rate at which a sender is transmitting is in proportion with the receiver՚s receiving capabilities.
  • Flow control manages the flow of data/packets, especially where sending device can send data much faster than the receiver can digest.
  • Too much data arriving before a device can handle it causes data overflow- data is either lost or must be retransmitted.
  • For serial data transmission locally or in a network, the Xon/Xoff protocol is used. For modem connections, either Xon/Xoff or CTS/RTS (Clear to Send/Ready to Send) commands are used to control data flow.
  • In a network, flow control can also be applied by refusing additional device connections until the flow of traffic has subsided.
Given the Image is Define the Flow Control

Question 110

Networks
Edit

Write in Short

Short Answer▾

What is difference between System. String and System. StringBuilder classes?

Explanation

Difference between System. String and System. String Builder
System. StringSystem. StringBuilder
String is immutableString builder is mutable
Immutable means once we create string object we cannot modifyMutable means once we create string builder object we can perform any operation like insert, replace or append without creating new instance for every time.
String doesn՚t have append keywordStringBuilder has append keyword
String belongs to System namespaceStringBulider belongs to System. Text namespace

Developed by: