0% found this document useful (0 votes)
13 views

Test1-solution-april-2022(2) - Tagged

The document is a test for the course ITNE 231: Computer Networks I at the University of Bahrain, focusing on various aspects of computer networking. It includes questions on the OSI model, network devices, protocols, IP addressing, and network traffic analysis. The test consists of multiple-choice, matching, and short answer questions, with a total score of 30 marks.

Uploaded by

grumpsonu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Test1-solution-april-2022(2) - Tagged

The document is a test for the course ITNE 231: Computer Networks I at the University of Bahrain, focusing on various aspects of computer networking. It includes questions on the OSI model, network devices, protocols, IP addressing, and network traffic analysis. The test consists of multiple-choice, matching, and short answer questions, with a total score of 30 marks.

Uploaded by

grumpsonu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

University of Bahrain

College of Information technology


Department of Computer Engineering
ITNE 231
Computer Networks I
Dr. Amal AbuHassan
Test 1
5/4/2022
Duration: 1 Hour
Name:
ID:
CILOs Q1 Q2 Q3 Q4 Q5 Q6 7
1. Examine the layers of the OSI model &
TCP/IP, and explain the function(s) of 
each layer.
2. Identify the different types of network
devices and their functions within a 
network
3. Demonstrate an understanding of the
significance and purpose of protocols

and their key elements and use in
networking.
4. Explain and demonstrate the mechanics
associated with IP addressing, device 
interface, subnetting and supernetting.
5. Analyzing network traffic and protocols
 
using appropriate tools.

Question Mark Mark attained

1 10

2 5

3 5

4 4

5 6

Total 30
Question 1 [10 marks]
Choose the correct answers
1- Which of the following physical layer technologies has the highest transmission rate and
loweat error rate in practice:
a- Co-coaxial cable
b- WiFI radio channel
b- Satelitte channel
c- Twisted pair
d- Fiber optic cable

2- To deliver a message to the correct application program running on a host, the _______
address must be consulted
a. IP
b. MAC
c. Port
d. None of the mentioned

3- Which of the following devices operates at Network layer level ?

a. Hub
b. Switch
c. Router
d. Switch

4- Which of the following is not defined by the protocols implemented at the different layers
of the Internet model?
a. message syntax
b. message semantics
c. transmission rate of the message
d. size of the message
e. the message type, request/response

5- What is the purpose of the HTTP Get command?

a- Used for a web client to post an object on a web server.

b- Used by a web client to request a web server to send the requested


object from the server to the client.
c- Sent by a web server to a web client to get identity of the web
client.

d- Sent by a web server to a web client to get the next request from
the web client.

6- Which of the characteristi cs below are associated with a client-server approach


to structuring network applicati ons? Check all that apply

a. There is a server that is always on.


b. A process requests service from those it contacts and will provide service to
processes that contact it.
c. There is not a server that is always on.
d. There is a server with a well known server IP address.
e. HTTP uses this applicati on structure.

7- Which of the characteristi cs below are associated with a P2P approach to


structuring network applicati ons ? Check all that apply

a. There is a server that is always on.


b. A process requests service from those it contacts and will provide service to
processes that contact it.
c. There is not a server that is always on.
d. There is a server with a well known server IP address.
e. HTTP uses this applicati on structure.

8- Which of the followings function is performed by Top Level Domain servers in the
DNS hierarchy:

a. Provide authoritative hostname to IP mappings for organization’s named hosts.


b. Replie to DNS query by local host, by contacting other DNS servers to answer
the query.
c. Responsible for a domain (e.g., *.com, *.edu); knows how to contact
authoritative name servers.
d. Highest level of the DNS hierarchy, knows how to reach servers responsible for a
given domain (e.g., *.com, *.edu).

9- Which of the following functions is performed by Local DNS server in the DNS
hierarchy:

a. Provide authoritative hostname to IP mappings for organization’s named hosts.


b. Replie to DNS query by local host, by contacting other DNS servers to answer
the query.
c. Responsible for a domain (e.g., *.com, *.edu); knows how to contact
authoritative name servers.
d. Highest level of the DNS hierarchy, knows how to reach servers responsible for a
given domain (e.g., *.com, *.edu).

10- When an applicati on uses a TCP socket, what transport services are provided to
the applicati on by TCP? Check all that apply.
a. Best eff ort service
b. Congesti on control.
c. Flow Control.
d. Throughput guarantee.
e. Loss-free data transfer. .
f. Real-ti me delivery.
.

Question 2 [5 marks]
Match the name of an internet layer (on the left) with unit of data that is exchanged among protocol
entities at that layer (on the right).

Application layer Datagram Network layer

Transport layer Bit Physical layer

Network layer Segment Transport layer

Link layer Frame Link layer

Physical layer Message Application layer


Question 3 [5 marks]

Which of the following functions correspond to packet switching or circuit switching.


Add in the table packet switching or circuit switching.

Reserves resources needed for a call Circuit


from source to destination. switching
Resources are used on demand not Packet
reserved on advance. switching
Data may be queued before being Packet
transmitted due to other users’ data switching
that ‘s also queueing for transmission.
FDM and TDM are two ways to Circuit
implement this approach. switching
Congestion and packet loss are Packet
possible. switching

Question 4 [4 marks]
Any application provided by the application layer uses the services provided by the
transport layer that are UDP or TCP, explain based on which criteria the choice
between UDP or TCP is made, give examples supporting your answer.

TCP is chosen if the application requires reliability, and it is not time sensitive
UDP in case of time sensitive application that do not require reliability. For example,
file transfer requires reliability but it does not have strict timing requirements,
whereas video streaming can tolerate some lo9ss but it is sensitive to timing.
Question 5 [6 Marks]

Consider the figure below with the three links, each with a specified transmission rate
and length. The length of the packet is 8000 bits and the speed propagation of the light
signal on each link is 3x108 m/s.

Calculate the total delay of each link.

Link 1 transmission delay = L/R = 8000 bits / 100 Mbps = 0.08 msec

Link 1 propagation delay = d/s = 1000m / 3*10^8 m/sec = 0.0033 msec

Link 1 total delay = 0.0803 msec

Link 2 transmission delay = L/R = 8000 bits / 10 Mbps = 0.8 msec

Link 2 propagation delay = d/s = 5 10^6 / 3*10^8 m/sec = 16.6 ms

Link 2 total delay = 17.4 msec

Link 3 transmission delay = L/R = 8000 bits / 1000 Mbps = 0.008 msec

Link 3 propagation delay = d/s = 3000 / 3*10^8 m/sec = 0.01 msec

Link 3 total delay = d_t + d_p = 0.008 msec + 0.01msec = 0.018 msec

You might also like