DCSD 20.2F Computer Networks
DCSD 20.2F Computer Networks
2 FT
Subject: Computer Networks
The exam has Two (Part A and Part B) Parts. You must answer both parts.
Calculators are not allowed.
Date:16-11-2021 | Time:1300-1600 H
Duration:3 Hours
Part A
1. At which layer of the OSI model would a logical address be added during encapsulation?
a) physical layer
b) data link layer
c) network layer
d) transport layer
2. Which type of address does a switch use to build the MAC address table?
a) destination IP address
b) source IP address
c) destination MAC address
d) source MAC address
3. A host needs to reach another host on a remote network, but the ARP cache has no mapping
entries. To what destination address will the host send an ARP request?
a) the unicast IP address of the remote host
b) the unicast MAC address of the remote host
c) the subnet broadcast IP address
d) the broadcast MAC address
4. A computer has to send a packet to a destination host in the same LAN. How will the packet
be sent?
a) The packet will be sent to the default gateway first, and then, depending on the response
from the gateway, it may be sent to the destination host.
b) The packet will be sent directly to the destination host.
c) The packet will first be sent to the default gateway, and then from the default gateway it
will be sent directly to the destination host.
d) The packet will be sent only to the default gateway.
Page 1 of 6
5. If the default gateway is configured incorrectly on the host, what is the impact on
communications?
10. A network administrator establishes a connection to a switch via SSH. What characteristic
uniquely describes the SSH connection?
a) out-of-band access to a switch through the use of a virtual terminal with password
authentication
b) remote access to the switch through the use of a telephone dialup connection
Page 2 of 6
c) on-site access to a switch through the use of a directly connected PC and a console
cable
d) remote access to a switch where data is encrypted during the session
e) direct access to the switch through the use of a terminal emulation program
11. A user is unable to reach the web site when typing http://www.abc.com in a web browser but
can reach the same site by typing http://72.163.4.161. What is the issue?
12. What will a host on an Ethernet network do if it receives a frame with a destination MAC
address that does not match its own MAC address?
a) It will discard the frame.
b) It will forward the frame to the next host.
c) It will remove the frame from the media.
d) It will strip off the data-link frame to check the destination IP address.
14. A PC obtains its IP address from a DHCP server. If the PC is taken off the network for
repair, what happens to the IP address configuration?
15. Why do streaming audio and video applications use UDP instead of TCP?
a) Streaming audio and video applications require receipt of all packets regardless of delay.
b) The three-way handshake used in UDP speeds up the audio and video streams.
c) Streaming audio and video applications cannot tolerate the delay caused by
retransmission.
d) UDP provides guaranteed segment delivery to provide reliable audio and video streams.
16. Which technology is used to uniquely identify a WLAN network?
Page 3 of 6
17. How many hosts are addressable on a network that has a mask of 255.255.255.248?
a) 2 e) 16
b) 6 f) 254
c) 8
d) 14
18. Which three pieces of information are revealed by the ipconfig command (without the /all ) ?
(Choose three.)
a) IP address d) default gateway
b) DHCP server e) DNS server
c) subnet mask f) MAC address
20. Which two protocols are used in the process of sending and receiving emails? (Choose
two.)
a) HTTP
b) POP
c) SSH
d) SMTP
e) FTP
Part B
The marks given in brackets are indicative of the weight given to each part of the
question
B1) a) Compare the layers of TCP/IP model with OSI model (Using Diagram)? (5 marks)
d) What is the main difference between Private IP and Public IP? (2 marks)
Page 2 of 6
2) Router (2 marks)
c) A host was given the IP addresses 150.10.10.68 /18. Consider this address and
indicate:
1.The network address to which the host belongs.
2.The network broadcast address to which the host belongs.
3.The total number of hosts available in the network (3x1=3 marks)
1) 2001:0DB8:0000:000A:0000:0000:0000:0200 (2 marks)
2) FE80:0000:0000:0000:0000:0000:0000:000A (2 marks)
B3)
a) Figure 1 shows a small-scale network comprising one switch and one router. A personal
computer is connected to the switch and a server is connected to the router. All switch and
router ports are IEEE 802.3 CSMA/CD.
For this network, consider data being sent from the personal computer to the server and
indicate the values of the source and destination address fields of the frame and the IP header
for each segment. (12 marks)
B4)
a) What is the difference in the service offered to applications by the TCP and UDP
protocols? (5 marks)
Page 2 of 6
b) Briefly explain each of the following networking protocols (6 marks)
1) FTP
2) DNS
4) DHCP
c) For each of the following applications determine whether you would use TCP or
UDP? (4 marks)
i. File transfer
ii. Watching a real time streamed video
iii. Web browsing
iv. A Voice over IP (VoIP) telephone conversation
Page 3 of 6