0% found this document useful (0 votes)
11 views6 pages

CS322 Midterm Sp2024

The document outlines the midterm exam for the Computer Networks course at October University for Modern Sciences & Arts for Spring 2024, detailing the exam structure, time allowed, and mark distribution across four questions. It includes multiple-choice questions, short answer questions, and practical application scenarios related to network concepts. Additionally, it specifies that no external materials are permitted in the exam room.

Uploaded by

wawex88450
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)
11 views6 pages

CS322 Midterm Sp2024

The document outlines the midterm exam for the Computer Networks course at October University for Modern Sciences & Arts for Spring 2024, detailing the exam structure, time allowed, and mark distribution across four questions. It includes multiple-choice questions, short answer questions, and practical application scenarios related to network concepts. Additionally, it specifies that no external materials are permitted in the exam room.

Uploaded by

wawex88450
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

October University for Modern Sciences & Arts

CS322 / CS216

Computer Networks

Midterm Exam
Faculty Computer Science
Semester Spring 2024
Time Allowed 90 Min.
Total Mark 100
Mark Distribution Question 1: 10 marks (assessing LO No. 1, 2, 3 & 4)
Question 2: 30 marks (assessing LO No. 1, 2,3,4,8 & 9)
Question 3: 30 marks (assessing LO No. 1, 2, 3,7, 8 &9)
Question 4: 30 marks (assessing LO No. 3 & 4)
No. of Pages (including 6
cover page)
Material provided
Equipment permitted
Additional Instructions

No books, paper or electronic devices are permitted to be brought into the examination
room other than those specified above.
October University for Modern Sciences & Arts Module Code:CS322
Faculty of Computer Science Module Title: Computer Networks
Mid Term - Spring 2024 Time Allowed: 90 Min.

Answer all the following questions:


Question 1: Choose the correct answer: (10*1= 10 Marks)
1. What will a Layer 2 switch do when the destination MAC address of a received frame is not in its
MAC address table?
a) It initiates an ARP request.
b) It broadcasts the frame out of all ports on the switch.
c) It notifies the sending host that the frame cannot be delivered.
d) It forwards the frame out of all ports except for the port at which the frame was received.
2. Which address is used by the OSI transport layer to identify a process on a host (PC or server)?
a. physical address.
b. logical address.
c. port address.
d. specific address.
3. Which transmission media provides the highest transmission speed in a network?
a. coaxial cable.
b. twisted pair cable.
c. optical fiber cable.
d. electrical cable.
4. You want to implement a mechanism that automates the IP configuration for network hosts,
including the IP address, subnet mask, default gateway, and DNS information. Which protocol
will you use to accomplish this?
a. Transmission Control Protocol (TCP).
b. Dynamic Host Configuration Protocol (DHCP).
c. Simple Network Management Protocol (SNMP).
d. Address Resolution Protocol (ARP).
5. What type of information is contained in an ARP table?
a. IP address to MAC address mappings.
b. switch ports associated with destination MAC addresses.
c. domain name to IP address mappings.
d. routes to reach destination networks.
6. What method can be used by two computers to ensure that packets are not dropped because too
much data is being sent too quickly?
a. Encapsulation.
b. Flow control.
c. Access method.
d. Response timeout.
7. The Protocol Data Unit (PDU) at the network layer of the OSI model is called:
a. Bits.
b. Frames.
c. Packets.
d. Segments.
Page 2 of 6
October University for Modern Sciences & Arts Module Code:CS322
Faculty of Computer Science Module Title: Computer Networks
Mid Term - Spring 2024 Time Allowed: 90 Min.

8. What is the purpose of the spanning tree protocol (STP) in switches on the network?
a. To avoid layer 2 loops.
b. To save network bandwidth.
c. To create trunks.
d. To create VLANs.
9. The switch sends the frame out to the port that is associated with that destination MAC address in
the CAM table. This process is called.
a. Filtering.
b. Flooding.
c. Forwarding.
d. None of above.
10. How are IP addressing designs affected by VLAN implementations?
a) Each VLAN must have a different network number.
b) VLANs do not use a broadcast address.
c) VLANs do not support VLSM.
d) Each VLAN must have a different subnet mask.

Question 2: give an answer to each of the following questions: (10*3=30 Marks)


1. Write the protocol name used to obtain a specific MAC address when an IPv4 address is known.
2. To build an efficient and reliable network architecture, the network infrastructure must manage IP
phone traffic, suggest a network protocol to handle audio traffic inside the LAN with minimum
latency, and ensure that priorities match the type of communication and its importance to the
organization.
3. A network that an organization might use to provide secure access to its network for individuals
who work for different organizations and need access to data on the network.
4. What is the tool that can be used to determine the number of hops to a destination and the round-
trip time (RTT) for each hop?
5. One of the main characteristics of the network architecture is that it allows the network to expand
quickly and easily to support new users and applications without impacting the performance of
services for existing users.
6. On which OSI layer does the router network device operate?
7. What information is used to forward frames in a Layer 2 switch?
8. A communication link between two switches combines the bandwidth of multiple
Ethernet ports into a single logical link.
9. The system that translates the domain names into IP addresses so browsers can load Internet
resources.
10. Which OSI layer does IP rely on to determine whether packets have been lost and to request
retransmission.
Page 3 of 6
October University for Modern Sciences & Arts Module Code:CS322
Faculty of Computer Science Module Title: Computer Networks
Mid Term - Spring 2024 Time Allowed: 90 Min.

Question 3: (30 marks)


Using the below network topology diagram and the configuration information for the network devices,
answer the following questions.

1. Host B on the Students subnet transmits a packet to Host D on the Staff subnet. Which Layer 2
and Layer 3 addresses are contained in the network frames that are transmitted from Host B to
Host D?
(4marks)
2. How many broadcast and collision domains are shown in the graphic, assuming only the default
VLAN is configured on the switches? (4marks)
3. Which default gateway IP address should be configured on Host C? (2marks)
4. If Host A sends a message with the destination IP address 255.255.255.255, who will receive this
message? (2marks)
5. If the router MSA-Router is replaced by a layer 2 switch, can students subnet communicate with Staff
subnet and why? (2marks)
6. What are the contents of the MAC address table of switch A? (6 Marks)
7. Host F can communicate with hosts C and D (the staff subnet), but it can’t communicate with any host in
the other subnet (the student subnet). Why and how can you fix this issue? (4 marks)
8. Host A can communicate with all hosts in the two subnets, but he can’t browse any website using the
browser, how can you fix the problem? (2 marks)
9. What is the Windows command used to check connectivity between Host A and Host F? (2 marks)
10. What is the IP range that can be assigned to hosts in staff students. (2 marks)

Page 4 of 6
October University for Modern Sciences & Arts Module Code:CS322
Faculty of Computer Science Module Title: Computer Networks
Mid Term - Spring 2024 Time Allowed: 90 Min.

Question 4 (30marks)
A. For the following network diagram, calculate the best path for each switch to the root bridge,
indicating: (12 marks)
• The root bridge (4marks)
• The status of each port for all switches. (8 marks)

B. For the following network diagram: (18 mark)

1. What type of the ports that (2*2=4 marks)


a. Connecting the two switches (Fa0/3).
b. Connecting PCs to the switches (Fa0/1 and Fa0/2).

Page 5 of 6
October University for Modern Sciences & Arts Module Code:CS322
Faculty of Computer Science Module Title: Computer Networks
Mid Term - Spring 2024 Time Allowed: 90 Min.

2. Configure the name of switch 1 to (sw-1). (4 marks)


3. On Switch 2, write the commands to create VLAN 10 and assign port Fa0/2 to it. (5
Marks)
4. On switches 1 and 2, write the configuration of port Fa0/3 to transmit the data of VLAN1
and VLAN2. (5 Marks)

Page 6 of 6

You might also like