Answer:
a; circuit-switched network.
b; No, it does not need congestion control.
Explanation:
For A;
A circuit-switched network is a better option for this application. This is because of the fact that the application is made up of long sessions with smooth data transfer capacity needs.
The transmission rate is known, and does not transmit in short intervals(short signals), every application session can have a bandwidth reserved without significant bandwidth wastage.
Also, the overhead expenses of setting up and tearing down connections are canceled out over the extensive period of running an application session.
For B;
If the packet-switched network is used, and traffic in the network comes from the said application. Even if every applications transmit one or more network connections. Still, we already know that every connection has enough transmission capacity to handle majority of the application data rates, no congestion(insignificant queuing) will happen.
This goes to say that no congestion control will be needed given such broad-based connection.
Python is actually an easy language to learn and use. IDLE is an iffy IDE to use. One thing about IDLE that drives me nuts is that when it saves a file, it converts tabs to spaces (you can adjust how many in the prefs). This causes impossible to find indentation errors because several spaces are NOT the same as a tab, but you can't see the difference on the screen.
# the standard way to put the main function after declaring functions and
# classes
if( __name__ == "__main__" ):
import sys
# check that the program was called with the correct number of arguments
if( len( sys.argv ) != 2 ):
sys.stderr.write( "\nusage: %s <argument>\n" % ( sys.argv[ 0 ] ) )
sys.exit( 1 )
else:
# do something nifty
sys.exit( 0 )
The answer is true as it will change on its own
Answer:
public class TextMessage
{
private String message;
private String sender;
private String receiver;
public TextMessage(String from, String to, String theMessage)
{
sender = from;
receiver = to;
message = theMessage;
}
public String toString()
{
return sender + " texted " + receiver + ": " + message;
}
}