Comp. Net. MCQ GPT MIDDTERM
Comp. Net. MCQ GPT MIDDTERM
─────────────────────────────────────────────
4. The primary difference between packet switching and circuit switching is that packet
switching:
A. Requires a dedicated circuit to be established before any data is transmitted.
B. Transmits data in fixed time slots regardless of data availability.
C. Divides messages into packets that are transmitted independently over shared network
resources.
D. Guarantees circuit-like performance for each connection.
Answer: C
5. Which of the following lists the layers of the TCP/IP model in the correct order from top to
bottom?
A. Application, Transport, Network, Link
B. Application, Network, Transport, Physical
C. Transport, Application, Link, Network
D. Network, Transport, Application, Link
Answer: A
6. In the context of network protocols, which element is typically found in the header of an IP
packet?
A. The encryption key for the payload
B. The source and destination addresses
C. The complete routing table of the sender
D. A checksum for the entire network
Answer: B
7. Which pair of delays is correctly defined as follows: “Transmission delay is the time
required to push all the packet’s bits onto the link, while propagation delay is the time
required for a bit to traverse the link”?
A. dqueue and dproc
B. dproc and dtrans
C. dtrans and dprop
D. dqueue and dprop
Answer: C
8. In a packet-switched network, the delay incurred while packets wait in a router’s buffer for
their turn to be transmitted is known as:
A. Propagation delay
B. Processing delay
C. Queuing delay
D. Transmission delay
Answer: C
9. Which of the following best describes the role of a router in a packet-switched network?
A. It establishes dedicated circuits for each communication session.
B. It performs both local forwarding of packets based on headers and global routing
decisions via routing algorithms.
C. It exclusively manages wireless access points.
D. It only provides physical connectivity between two devices.
Answer: B
10. Which trio of performance metrics is most commonly used to evaluate a network’s
effectiveness?
A. Delay, packet reordering, and jitter
B. Loss, delay, and throughput
C. Bandwidth, modulation, and encryption
D. Signal strength, latency, and coding rate
Answer: B
11. In comparing the OSI and TCP/IP models, which of the following is true regarding the
TCP/IP stack?
A. It includes a dedicated presentation layer that the OSI model does not have.
B. It has four layers and does not include separate presentation and session layers as
defined in the OSI model.
C. It is identical to the OSI model in terms of the number of layers and their functions.
D. It replaces the application layer with the physical layer.
Answer: B
14. In circuit-switched networks, which of the following techniques is used to allow multiple
users to share the same transmission medium?
A. Packet fragmentation
B. Frequency Division Multiplexing (FDM) and Time Division Multiplexing (TDM)
C. Error correction coding
D. Dynamic routing protocols
Answer: B
15. The primary purpose of using a simulation framework like OMNeT++ in computer
network research is to:
A. Replace all physical network infrastructure in production systems.
B. Model and analyze network behaviors and protocols in a controlled, risk-free
environment.
C. Guarantee real-time performance in live networks.
D. Automatically generate network security policies without human intervention.
Answer: B
─────────────────────────────────────────────
16. A packet of size L = 10 Kbits is transmitted over a link with rate R = 100 Mbps. What is
the one-hop transmission delay (in milliseconds)?
A. 0.1 ms
B. 1 ms
C. 10 ms
D. 0.01 ms
Answer: A
17. Given the propagation delay formula dₚ = d/s, where d is the distance and s is the
propagation speed, calculate the propagation delay if d = 1,000 km and s = 2×10⁸ m/s.
A. 5 ms
B. 50 ms
C. 0.5 ms
D. 500 ms
Answer: A
18. If the average packet arrival rate to a link is 10,000 bits/sec and the link’s transmission
rate is 100 Mbps, what is the traffic intensity (La/R)?
A. 0.0001
B. 0.1
C. 0.01
D. 1
Answer: A
19. In a simplified queueing model (M/M/1 queue), the average number of packets in the
system is given by L = λ/(μ − λ). If the arrival rate λ = 0.8 packets/sec and the service rate μ =
1 packet/sec, what is L?
A. 4 packets
B. 2 packets
C. 0.8 packets
D. 8 packets
Answer: A
20. Consider a simplified model for a network buffer where the number of packets N(t)
changes according to the differential equation
dN/dt = λ − μN(t),
with a constant arrival rate λ = 5 packets/sec, a constant departure rate μ = 1 sec⁻¹ per packet,
and an initial condition N(0) = 0. Which of the following is the solution for N(t) for t ≥ 0?
A. N(t) = 5(1 – e^(–t))
B. N(t) = 5e^(–t)
C. N(t) = 5t
D. N(t) = 5te^(–t)
Answer: A
─────────────────────────────────────────────
1. Which of the following scenarios is most appropriately modeled using a discrete event
simulator (DES)?
A. Monitoring continuous temperature changes in a chemical reactor.
B. Simulating the arrival of vehicles at a traffic intersection at distinct times.
C. Modeling gradual changes in water levels in a reservoir.
D. Analyzing the continuous flow of electric current in a conductor.
Answer: B
4. In the TCP/IP model, which layer is primarily responsible for ensuring reliable, end-to-end
data delivery?
A. Application layer
B. Transport layer
C. Network layer
D. Link layer
Answer: B
5. A network packet of length L bits is transmitted over a link with a transmission rate of R
bits per second. Which expression correctly represents the transmission delay?
A. R / L
B. L / R
C. L × R
D. R – L
Answer: B
8. What is the primary function of an Internet Exchange Point (IXP) within the network of
networks?
A. To allocate IP addresses to end users.
B. To interconnect multiple ISPs, facilitating efficient exchange of traffic.
C. To serve as the central repository for global routing tables.
D. To act as a dedicated gateway for secure communications.
Answer: B
10. In the context of network security, what is the primary objective of IP spoofing?
A. To increase the encryption strength of transmitted packets.
B. To disguise the true source of a packet by falsifying its source IP address.
C. To create dedicated secure channels between routers.
D. To optimize routing efficiency across the network.
Answer: B
─────────────────────────────────────────────
3. Which simulation framework is widely used for modeling communication networks using a
discrete event approach?
A. NS-2
B. OMNeT++
C. MATLAB/Simulink
D. OPNET
Answer: B
7. In the TCP/IP model, which layer is responsible for providing end-to-end reliability?
A. Application layer
B. Transport layer
C. Network layer
D. Link layer
Answer: B
9. A packet is 1500 bytes in length. When transmitted over a link with a rate of 100 Mbps,
what is the transmission delay (in microseconds)?
A. 120 µs
B. 12 µs
C. 1.2 µs
D. 15 µs
Answer: A
(Hint: 1500 bytes = 12,000 bits)
13. For an M/M/1 queue with λ = 800 packets/sec and μ = 1000 packets/sec, the average
number of packets in the system L is given by L = λ/(μ − λ). What is L?
A. 4 packets
B. 2 packets
C. 0.8 packets
D. 1.25 packets
Answer: A
21. Based on the model in Question 20, what is the steady-state (long-term) number of
packets in the buffer?
A. 0 packets
B. 2.5 packets
C. 5 packets
D. Infinity
Answer: C
23. In a packet-switched network, if the traffic intensity (λ/μ) approaches 1, you can expect:
A. Minimal queuing delay and zero packet loss.
B. Stable operation with constant throughput.
C. Exponential increases in queuing delay and a higher likelihood of packet loss.
D. A sudden drop in transmission delay.
Answer: C
─────────────────────────────────────────────
6. In the TCP/IP model, which layer is primarily responsible for end-to-end error detection
and reliability?
A. Application layer
B. Transport layer
C. Network layer
D. Link layer
Answer: B
9. Which factor does NOT directly affect the propagation delay on a link?
A. Distance between endpoints.
B. Propagation speed in the medium.
C. Packet length in bits.
D. Physical medium type.
Answer: C
13. In an M/M/1 queue with λ = 50 packets/sec and μ = 100 packets/sec, the average number
of packets in the system L is given by L = λ/(μ – λ). What is L?
A. 1 packet
B. 0.5 packets
C. 2 packets
D. 50 packets
Answer: A
15. As t → ∞ in Question 14’s model, the buffer reaches a steady state of:
A. 0 packets
B. 2 packets
C. 3 packets
D. 6 packets
Answer: C
21. In the OSI model, the layer responsible for routing packets between networks is the:
A. Application layer
B. Session layer
C. Network layer
D. Physical layer
Answer: C
22. HTTP is a protocol that operates at which layer of the TCP/IP model?
A. Application layer
B. Transport layer
C. Network layer
D. Link layer
Answer: A