Basics of Network Simulation

1. What information do you get from the sixth field of a tracefile

Packet type

Packet size

Packet id

2. What is the code to view the simulation of the network in NAM ?

nam <namfilename>

$ns nam <namfilename>

$ns nam

3. What is the function of trace-all ?

Traces some specific events

Traces all the events in a specific format

Traces some specific events in some specific format

4. At what point of program the 'finish' procedure should be called ?

At the end of the program

At the top of the program

It can be called at anypoint in the program

5. Sink can

only recieve packets

send packets

send acknowledgement and recieve packets

6. What is the default packet size of tcp in NS2 ?




Decrease font size Increase font size List of experiments