Question
In Data Communication, what protocol is used to ensure
reliable transmission of data over a network?Solution
The Transmission Control Protocol (TCP) is a reliable, connection-oriented protocol that ensures the complete delivery of data between two devices over a network. It manages data transmission with error checking, flow control, and acknowledgment mechanisms to ensure that data is delivered accurately and in the correct sequence. UDP : The User Datagram Protocol is faster but unreliable, as it does not guarantee the delivery of data or check for errors. IP : The Internet Protocol handles routing but does not guarantee the reliability of the data transmission. HTTP : Hypertext Transfer Protocol is used for transferring web pages but relies on TCP for reliable data transfer. FTP : File Transfer Protocol is used to transfer files over a network, but it also relies on TCP for ensuring reliable transmission.
In a binary tree, if the number of leaf nodes is L, what is the number of nodes with two children?
Which algorithm is best suited to find the shortest path in a graph with negative edge weights but no negative cycles?
What is the time complexity of inserting an element in a heap?
Which traversal method in a binary search tree retrieves nodes in sorted order?
Worst case is the worst case time complexity of Prim’s algorithm if adjacency matrix is used?
A sorting algorithm is considered "stable" if it maintains the relative order of records with equal keys. Which of the following algorithms is generally...
Which of the following protocols is most commonly used in IoT devices to enable communication between smart devices?
Which sorting algorithm has an average-case time complexity of O(n log n) and is known for its efficiency, often using a divide-and-conquer approach?
Which data structure is used for implementing recursive function calls?
Which of the following algorithms is best suited for finding the shortest path in a weighted graph where some edges may have negative weights but no neg...