Independent Preparation Bank for Pakistani Computing Graduates • 100% Free • No Signup
NSCTPrep.
Computer Networks & Cloud ComputingTopic #2 of 439 MCQs Available

Data Link Layer

Comprehensive question bank, step-by-step rationales, and dedicated timed quiz for Data Link Layer.

Launch Quiz Mode ↗

Data Link Layer Question Bank

Showing 39 questions of 39 with verified answers

9Multiple Choice

(Conceptual) What happens to a frame if the CRC check fails at the receiver? [Dest MAC]: FF:FF:FF:FF:FF:FF [Source MAC]: 00:0A:95:9D:68:16 [EtherType]: 0x0800 (IPv4)

10Multiple Choice

(Conceptual) Which device operates at Layer 2 and maintains a "CAM Table" (Content Addressable Memory) to map MAC addresses to physical ports?

11Multiple Choice

(Scenario-Based) In the Data Link Layer, what is "Framing"?

12Multiple Choice

(Comparison) Compare Stop-and-Wait and Sliding Window flow control.

13Multiple Choice

(Conceptual) What is an "Address Resolution Protocol" (ARP) packet used for?

14Multiple Choice

(Conceptual) What is the Broadcast Address in Ethernet?

15Multiple Choice

(Scenario-Based) A network uses VLANs (Virtual LANs). At which OSI layer does this tagging occur?

16Multiple Choice

(Calculation) If a system uses 1-bit parity for error detection, what is the limitation?

17Multiple Choice

(Conceptual) What is Transparent Bridging?

18Multiple Choice

(Conceptual) What is the Preamble in an Ethernet frame?

19Multiple Choice

(Scenario-Based) What is the purpose of the Inter-Frame Gap (IFG) in Ethernet?

20Multiple Choice

(Conceptual) Which of these is a Random Access MAC protocol?

1Multiple Choice

(Calculation) You have an IP address 192.168.1.0/26. How many usable host IP addresses are available in this subnet?

2Multiple Choice

(Conceptual) Which field in the IPv4 header is primarily responsible for preventing packets from looping indefinitely in a network?

3Multiple Choice

(Code/Console Logic) A network admin checks the routing table. Based on the output below, what is the next hop for a packet destined for 10.0.5.1? netstat -rn Destination Gateway Genmask 10.0.0.0 192.168.1.1 255.255.0.0 10.0.5.0 192.168.1.254 255.255.255.0 default 192.168.1.1 0.0.0.0

4Multiple Choice

(Conceptual) Which of the following is a Link-State routing protocol?

5Multiple Choice

(Scenario-Based) An IPv4 packet arrives at a router. The packet size is 2000 bytes, but the next link's MTU (Maximum Transmission Unit) is 1500 bytes. What must the router do?

6Multiple Choice

(Conceptual) What is the role of ICMP (Internet Control Message Protocol)?

7Multiple Choice

(Comparison) What is the primary advantage of IPv6 over IPv4?

8Multiple Choice

(Calculation) What is the decimal representation of the CIDR prefix /24 in a subnet mask?

9Multiple Choice

(Conceptual) In the context of the Network Layer, what is "Convergence"?

10Multiple Choice

(Code/Logic) Given a subnet mask 255.255.255.224, how many bits are used for the host portion?

11Multiple Choice

(Comparison) What is the difference between Unicast, Multicast, and Broadcast?

12Multiple Choice

(Scenario-Based) An IP address 169.254.0.1 is assigned to a device when it cannot reach a DHCP server. This is known as:

13Multiple Choice

(Conceptual) What is a Default Route (0.0.0.0/0)?

14Multiple Choice

(Calculation) Which IP addresses are Private (RFC 1918) and cannot be routed on the public Internet?

15Multiple Choice

(Comparison) What is the main purpose of NAT (Network Address Translation)?

16Multiple Choice

(Scenario-Based) A router receives a packet with TTL = 1. What will the router do?

17Multiple Choice

(Conceptual) What is the "Default Gateway"?

18Multiple Choice

(Conceptual) Which field in the IP header is used for Quality of Service (QoS) labeling?

19Multiple Choice

(Scenario-Based) How does an IP address 224.0.0.1 behave differently than a normal IP?

20Multiple Choice

(Code/Logic) Looking at this ping output, what is the most significant network diagnostic info? ping -c 4 google.com 64 bytes from 142.250.190.46: icmp_seq=1 ttl=115 time=24.5 ms 64 bytes from 142.250.190.46: icmp_seq=2 ttl=115 time=23.8 ms

1Multiple Choice

(Conceptual) Which field in the TCP header is primarily responsible for ensuring that segments arrive at the destination in the correct order?

2Multiple Choice

(Scenario-Based) A VoIP (Voice over IP) application needs to be fast and is willing to sacrifice some packet loss for lower latency. Which protocol is the best choice?

3Multiple Choice

(Code/Logic) In the TCP 3-way handshake, if the client sends a SYN, what is the server's expected response?

4Multiple Choice

(Calculation) If a TCP window size is 64KB and the round-trip time is 100ms, what is the maximum throughput (ignoring overhead)?

5Multiple Choice

(Conceptual) What is the "Slow Start" mechanism in TCP Congestion Control?

6Multiple Choice

(Code/Logic) Look at this socket state snapshot. Which state indicates the connection is being closed gracefully?

29Multiple Choice

Which protocol is responsible for resolving a known Network layer IPv4 address into a Data Link layer MAC address on a local area network?