CGS 4285 - Final Exam
What is the main function of the data plane of the network layer? - ANS-Move packets from
router inputs to appropriate outputs
Identify the components for a router. - ANS-Input ports
Routing processor
Output ports
Switching fabric
Given the following forwarding table, determine the outgoing link interface for the destination
address 11001000 00010111 00011000 10101010. - ANS-1
If a packet needs to be sent to every host in the network, which transmission mode should be
used? - ANS-Broadcast
In the subnet 11.22.33.44/24 represented using the CIDR notation, how many IP addresses are
available? - ANS-256
In the abstraction of a network, routers are represented as vertices, and links are represented
as edges. What might be the cost of a link in real life? - ANS-Bandwidth
Distance
Delay
Apply Dijkstra's algorithm to the network below using node e as the source. The algorithm will
be initialized as follows:
Since D(c) is the minimum among all the nodes not in N', c will be added to the N'. After adding
c to N', what will be the updated value for D(d)? - ANS-17
Apply the distance vector algorithm to the network below. Assume the node a receives the
following distance vector from node b:
and the following distance vector from node d:
After node a updates its distance vector, what is it's distance to e? - ANS-60
What is not a reason for hierarchical routing? - ANS-To find shorter paths
Consider the network shown below with four autonomous systems. Suppose AS3 and AS2 are
running OSPF for the intra-AS routing protocol. Suppose AS1 and AS4 are running RIP for their
What is the main function of the data plane of the network layer? - ANS-Move packets from
router inputs to appropriate outputs
Identify the components for a router. - ANS-Input ports
Routing processor
Output ports
Switching fabric
Given the following forwarding table, determine the outgoing link interface for the destination
address 11001000 00010111 00011000 10101010. - ANS-1
If a packet needs to be sent to every host in the network, which transmission mode should be
used? - ANS-Broadcast
In the subnet 11.22.33.44/24 represented using the CIDR notation, how many IP addresses are
available? - ANS-256
In the abstraction of a network, routers are represented as vertices, and links are represented
as edges. What might be the cost of a link in real life? - ANS-Bandwidth
Distance
Delay
Apply Dijkstra's algorithm to the network below using node e as the source. The algorithm will
be initialized as follows:
Since D(c) is the minimum among all the nodes not in N', c will be added to the N'. After adding
c to N', what will be the updated value for D(d)? - ANS-17
Apply the distance vector algorithm to the network below. Assume the node a receives the
following distance vector from node b:
and the following distance vector from node d:
After node a updates its distance vector, what is it's distance to e? - ANS-60
What is not a reason for hierarchical routing? - ANS-To find shorter paths
Consider the network shown below with four autonomous systems. Suppose AS3 and AS2 are
running OSPF for the intra-AS routing protocol. Suppose AS1 and AS4 are running RIP for their