Compare TCP, UDP, and ICMP communications.
What will be an ideal response?
TCP communications are connection-oriented, while UDP and ICMP connections are connectionless. While TCP connection-oriented sessions check for errors, neither UDP nor ICMP communications are designed to do any error-checking on their own. UDP and ICMP differ in that UDP communications can contain multiple packets, while an ICMP message is limited to a single packet.
You might also like to view...
Answer the following statements true (T) or false (F)
1. Subscripts are used to identify specific elements in an array. 2. Unlike variables, arrays need to be initialized separately from the declaration. 3. Array bounds checking happens at runtime. 4. The first step when calculating the average of all values in an array is to get the sum of all the values.
Which of the following statements is false?
a. Classes (and their objects) encapsulate, i.e., encase, their attributes and methods. b. A class’s (and its object’s) attributes and methods are intimately related. c. For objects to communicate effectively with one another, each must know how the other object is implemented. d. Information hiding is crucial to good software engineering.
Which of the following will create a polygon that is a square?
Consider the Java code segment below: ``` Polygon poly2 = new Polygon(); poly2.addPoint(100, 30); poly2.addPoint(100, 130); ``` a. poly2.addPoint(100, 60); poly2.addPoint(100, 130); b. poly2.addPoint(200, 130); poly2.addPoint(200, 30); c. poly2.addPoint(200, 60); poly2.addPoint(200, 130); d. poly2.addPoint(100, 130); poly2.addPoint(100, 230);
Software programs that are designed with malicious intent are called ________
A) XML B) patches C) feed aggregators D) malware