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

DCN II Numericals Topics

The document provides examples of numerical problems related to networking concepts across the network, transport, and application layers. The problems involve calculating subnetting details, IP addressing information, routing next hops, transport layer throughput and timeouts, application layer data sizes and encoding efficiencies. Solving these types of problems enhances understanding of key networking and protocol concepts.

Uploaded by

qk.35757
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)
27 views4 pages

DCN II Numericals Topics

The document provides examples of numerical problems related to networking concepts across the network, transport, and application layers. The problems involve calculating subnetting details, IP addressing information, routing next hops, transport layer throughput and timeouts, application layer data sizes and encoding efficiencies. Solving these types of problems enhances understanding of key networking and protocol concepts.

Uploaded by

qk.35757
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

NETWORK LAYER NUMERICALS:

Subnetting:
Given a network address and a subnet mask, calculate the number of subnets and hosts per subnet.

Example: Given IP address 192.168.10.0 with a subnet mask of 255.255.255.192, how many subnets
are possible, and how many hosts can each subnet have?

IP Addressing:
Calculate the network and broadcast addresses for a given IP address and subnet mask.

Example: Given IP address 172.16.25.35 with a subnet mask of 255.255.255.224, calculate the network
and broadcast addresses.

CIDR Notation:
Convert an IP address and subnet mask into CIDR notation.

Example: Convert the IP address 10.20.30.40 with subnet mask 255.255.255.192 into CIDR notation.

Routing Table:
Given a routing table, determine the next-hop for a specific destination IP address.

Example: If a router has the following entries in its routing table:

192.168.1.0/24 via 10.0.0.1

192.168.2.0/24 via 10.0.0.2

0.0.0.0/0 via 10.0.0.3

What is the next-hop for the destination IP address 192.168.2.15?

Distance Vector Routing:


Given a distance vector table, perform one iteration of the Bellman-Ford algorithm.

Example: If routers A, B, and C have the following distance vector tables:

A: B(2), C(4)

B: A(1), C(3)

C: A(1), B(2)

Perform one iteration of the Bellman-Ford algorithm.

Subnet Mask Calculation:


Given a certain number of required subnets or hosts, find the appropriate subnet mask.
Example: If you need at least 8 subnets, what is the minimum subnet mask you should use?

These numerical problems cover various aspects of the transport layer, including throughput,
congestion control, checksum calculation, and connection establishment. Practice solving similar
problems to enhance your understanding of transport layer concepts.

TRANSPORT LAYER:
Throughput Calculation:
Calculate the throughput of a TCP connection given the round-trip time (RTT) and the size of the
window.

Example: If the RTT is 100 ms, and the window size is 10 KB, what is the throughput?

Timeout Calculation:
Given the round-trip time (RTT) and a certain factor (e.g., 2), calculate the timeout value for a TCP
connection.

Example: If the RTT is 50 ms and the safety factor is 2, what is the timeout value?

TCP Sliding Window:

Calculate the number of bits in the sequence number space for a TCP connection with a certain
window size.

Example: If the window size is 1000, how many bits are needed for the sequence number space?

UDP Checksum Calculation:


Given a message and a checksum algorithm, calculate the UDP checksum.

Example: If the UDP message is 1101101010101 and the checksum algorithm is one's complement,
what is the checksum?

TCP Connection Establishment:


Given the three-way handshake process, determine the sequence of steps in establishing a TCP
connection.

Example: Describe the steps involved in the three-way handshake for establishing a TCP connection.

TCP Congestion Window Adjustment:


Given the current congestion window size, round-trip time, and acknowledgment information,
calculate the new congestion window size using TCP's congestion control algorithm (e.g., Additive
Increase, Multiplicative Decrease).
Example: If the current congestion window size is 20, the round-trip time is 100 ms, and an
acknowledgment is received, calculate the new congestion window size.

UDP Port Numbers:


Given a scenario with multiple UDP connections, determine the source and destination port numbers.

Example: If a computer is sending DNS requests, what are the source and destination port numbers in
the UDP header?

APPLICATION LAYER NUMERICALS:


HTTP Request/Response:
Given the size of an HTTP request and the size of an HTTP response, calculate the total data
transferred over the network.

Example: If an HTTP request is 200 bytes and the corresponding response is 5000 bytes, what is the
total data transferred?

DNS Resolution Time:


Calculate the time taken for DNS resolution given the round-trip time (RTT) to the DNS server and the
number of DNS servers in the hierarchy.

Example: If the RTT to the local DNS server is 20 ms, and there are two additional DNS servers in the
hierarchy with RTTs of 30 ms and 40 ms, calculate the total DNS resolution time.

FTP Transfer Time:


Given the file size and the transfer rate of an FTP connection, calculate the time it takes to transfer the
file.

Example: If a file is 5 MB and the FTP transfer rate is 100 KB/s, what is the transfer time?

SMTP Communication:
Given the size of an email message and the overhead of the SMTP protocol, calculate the total size of
data transmitted.

Example: If an email message is 2 KB and the SMTP protocol adds an overhead of 200 bytes, what is
the total size of data transmitted?

Web Page Load Time:


Calculate the time it takes to load a web page given the number of objects on the page, the size of
each object, and the round-trip time (RTT).
Example: If a web page has 10 objects, each of size 50 KB, and the RTT is 50 ms, calculate the total
page load time.

TCP/IP Overhead:
Given the size of application-layer data and the TCP/IP header size, calculate the total size of the
packet transmitted over the network.

Example: If the application data is 1000 bytes and the TCP/IP header adds an overhead of 200 bytes,
what is the total size of the transmitted packet?

Encoding Efficiency:
Calculate the efficiency of a data encoding scheme given the original data size and the encoded data
size.

Example: If the original data size is 800 bytes and the encoded data size is 600 bytes, calculate the
encoding efficiency.

These numerical problems cover various aspects of the application layer, including protocols like
HTTP, DNS, FTP, SMTP, and performance-related metrics. Practice solving similar problems to
reinforce your understanding of application layer concepts.

You might also like