0% found this document useful (0 votes)
13 views4 pages

2nd Exam EC433 Questions 20.07.2024

Uploaded by

Alaaeee
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 views4 pages

2nd Exam EC433 Questions 20.07.2024

Uploaded by

Alaaeee
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/ 4

TRIPOLI UNIVERSITY

COMPUTER ENGINEER DEPARTMENT

July 2024

COMPUTER NETWORK EC433

Time allowed 1 hour and 20 minutes

Answer all the questions (Except Q5 choose either I or II)

Examiner: Dr. Suad El-Geder

Student Name: ________________________________________

Student Registration number: _____________________________

Question1: Answer the following questions:

1. Write the difference between public IP and private IP. (1 mark)

2. What does MTU stand for? What is the default size? (1 mark)
3. What is NAT? (1 mark)
4. Why is RIP known as Distance Vector? (1 mark)
5. What is the function of the MAC Layer? (2 mark)

Question2.

A (7,4) Hamming code is known to use even parity and is shown with its bits in the order
7...1, (7 on the left, 1 on the right).Decode and comment on the following codewords,
recovering the correct information if possible 1111101 (2 marks)
Question 3.

I. Consider the following undirected, weighted graph:

a. Step through Dijkstra's algorithm to calculate the single-source shortest paths


from A to every other vertex. Show your steps. Also list the vertices in the order
which you marked them known.
b. Finally, indicate the lowest-cast path from node A to node F. (2 mark)

II. Consider sending a 2400-byte datagram into a link that has MTU of 700 bytes. Suppose
the original datagram is stamped with the identification number 422.
a. How many fragments are generated?
b. What are the values in the various fields in the IP datagram(s) generated related to
fragmentation? ( 2 marks)

Question 4. Choose the correct answer:

1. ICMP is primarily used for __________


a. Error and diagnostic functions
b. Addressing
c. Forwarding
d. Routing (0.5 mark)
2. What is the purpose of ARP (Address Resolution Protocol)?
a. To assign IP addresses to device.
b. To resolves domain names to IP addresses
c. To map MAC addresses to IP addresses
d. More than one of the above (0.5 mark)
3. A device used to connect two or more different networks called:
a. Switch
b. Hub
c. Gateway
d. Repeater (0.5 mark)
4. "Parity bits" are used for which of the following purposes?

a. Encryption of data
b. To transmit faster
c. To detect errors
d. To identify the user (0.5 mark)

5. Which algorithm is run by link- state routing protocols to calculate the shortest path to
destination network?
a. Dijkstra.
b. Bellmen-Ford
c. Diffie- Helman
d. None of the above. (0.5 mark)
6. Open Shortest Path First (OSPF) is also called as _____________
a. Link state protocol
b. Distance vector protocol
c. Routing information protocol
d. Path vector protocol (0.5 mark)
7. ___________________ implies that all subnets obtained from the same subnet mask.
a. Static subnetting
b. Dynamic subnetting
c. Variable Length subnetting
d. None of the above. (0.5 mark)
8. The length of an IPv6 address is?
a. 32 bits
b. 64 bits
c. 128 bits
d. 256 bits (0.5 mark)
9. What is the standard form of CIDR?
a. Classless Inter Domain Routing
b. Class Inter Domain Routing
c. Classless Interior Domain Routing
d. None of the above. (0.5 mark)
10. DHCP uses UDP port _________ for sending data to the server
a. 66
b. 67
c. 68
d. 69 (0.5 mark)
Question 5 (choose I or II to answer) (3 marks)
I. A host has the IP address 192.168.4.0/24
a. Create 8 subnets

b. Write down the new subnet mask

c. Write down the number of Hosts in one subnet

d. Write down the subnet ranges

II. A host has the IP address 83.215.25.70/23.


a. What are the network address, broadcast address, and valid host addresses for the
IP subnet of which the host is a member of?
b. What is the IP address for the next subnet?

Good Luck

You might also like