Docsity

Computer Networking comprehesive Exam Review 2026, Exams of Computer Science

Toggle sidebar
bg1
Computer Networking comprehesive Exam Review
2026|||questions and answers with
rationales/graded A+/2026 update/100% correct
/instant download
Computer Networking – Comprehensive Exam Review (250 Questions)
Full Coverage Topics
• OSI & TCP/IP Models (Layers, encapsulation, PDUs)
• Physical Layer (signals, encoding, media, bandwidth)
• Data Link Layer (MAC, Ethernet, switches, VLANs, error detection)
• Network Layer (IP addressing, subnetting, routing, NAT, ICMP, IPv6)
• Transport Layer (TCP/UDP, ports, congestion control, flow control)
• Application Layer (HTTP/HTTPS, DNS, SMTP, FTP, DHCP, TLS)
• Network Security (firewalls, VPNs, IDS/IPS, attacks, mitigation)
• Wireless & Mobile (802.11, Bluetooth, cellular, 5G)
• Multimedia & QoS (VoIP, streaming, jitter, latency)
• Network Management (SNMP, NetFlow, SDN)
• Advanced Topics (BGP, MPLS, CDN, IoT networking)
Q1. Which layer of the OSI model is responsible for reliable data delivery and error recovery?
A) Network
B) Transport
C) Data Link
D) Session
Answer: B
Rationale: The Transport Layer (Layer 4) provides end-to-end reliability (TCP).
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41

Partial preview of the text

Download Computer Networking comprehesive Exam Review 2026 and more Exams Computer Science in PDF only on Docsity!

Computer Networking comprehesive Exam Review

2026|||questions and answers with

rationales/graded A+/2026 update/100% correct

/instant download

Computer Networking – Comprehensive Exam Review (250 Questions) Full Coverage Topics

  • OSI & TCP/IP Models (Layers, encapsulation, PDUs)
  • Physical Layer (signals, encoding, media, bandwidth)
  • Data Link Layer (MAC, Ethernet, switches, VLANs, error detection)
  • Network Layer (IP addressing, subnetting, routing, NAT, ICMP, IPv6)
  • Transport Layer (TCP/UDP, ports, congestion control, flow control)
  • Application Layer (HTTP/HTTPS, DNS, SMTP, FTP, DHCP, TLS)
  • Network Security (firewalls, VPNs, IDS/IPS, attacks, mitigation)
  • Wireless & Mobile (802.11, Bluetooth, cellular, 5G)
  • Multimedia & QoS (VoIP, streaming, jitter, latency)
  • Network Management (SNMP, NetFlow, SDN)
  • Advanced Topics (BGP, MPLS, CDN, IoT networking) Q1. Which layer of the OSI model is responsible for reliable data delivery and error recovery? A) Network B) Transport C) Data Link D) Session Answer: B Rationale: The Transport Layer (Layer 4) provides end-to-end reliability (TCP).

Q2. What is the PDU at the Network Layer? A) Frame B) Packet C) Segment D) Bit Answer: B Rationale: Network layer PDU is a packet (IP datagram). Q3. Which OSI layer is responsible for frame delimiting and MAC addressing? A) Physical B) Data Link C) Network D) Transport Answer: B Rationale: The Data Link Layer (Layer 2) handles framing, MAC addresses, and error detection. Q4. The TCP/IP Application Layer maps to which OSI layers? A) Application, Presentation, Session B) Session only C) Presentation only D) Application only Answer: A Rationale: TCP/IP combines session, presentation, and application into one layer. Q5. Which of the following is NOT a function of the Session Layer? A) Session establishment and teardown B) Checkpointing and recovery C) Encryption D) Dialog control (half-duplex/full-duplex) Answer: C Rationale: Encryption is typically a Presentation Layer function.

Q10. Which guided medium is most resistant to electromagnetic interference (EMI)? A) Unshielded twisted pair (UTP) B) Shielded twisted pair (STP) C) Coaxial cable D) Fiber optic Answer: D Rationale: Fiber optic uses light, not electricity, so it is immune to EMI. Q11. Which encoding scheme is used in 10Base-T Ethernet? A) Manchester B) NRZ C) 4B/5B D) 8B/10B Answer: A Rationale: Manchester encoding ensures clock recovery with a transition every bit period. Q12. What is the maximum length of a 10Base-T segment? A) 100 meters B) 185 meters C) 500 meters D) 2 kilometers Answer: A Rationale: 10Base-T (twisted pair) maximum length is 100 meters. Q13. What is CSMA/CD in Ethernet? A) Listen before transmitting, detect collision, jam, and back off B) Avoid collisions by using RTS/CTS C) Token passing D) Centralized polling Answer: A Rationale: CSMA/CD is used in half-duplex Ethernet (now largely obsolete due to switches).

Q14. In CSMA/CD, what is the jam signal? A) 32-bit signal to ensure all nodes detect collision B) Start of frame C) End of frame D) Idle signal Answer: A Rationale: Jam signal (32 bits) ensures collision is recognized by all. Q15. What is the binary exponential backoff in Ethernet? A) Random delay after collision, doubling the range with each retry B) Fixed delay C) No delay D) Exponential increase in transmission rate Answer: A Rationale: Backoff reduces collision probability on subsequent attempts. Q16. A MAC address is typically represented in which format? A) 12 hexadecimal digits (e.g., 00:1A:2B:3C:4D:5E) B) 8 hexadecimal digits C) 32 binary digits D) 128 binary digits Answer: A Rationale: MAC addresses are 48 bits, written as 6 groups of 2 hex digits. Q17. Which bit in a MAC address indicates a broadcast or multicast? A) Least significant bit of the first octet (I/G bit) B) Most significant bit of the first octet (U/L bit) C) All bits D) No such bit Answer: A Rationale: I/G = 0 for unicast, 1 for multicast/broadcast.

Q22. What is Spanning Tree Protocol (STP)? A) Prevents loops in redundant switched networks by blocking ports B) Routing protocol C) Encryption protocol D) VLAN protocol Answer: A Rationale: STP (802.1D) creates a loop-free logical topology. Q23. What is a root bridge in STP? A) Bridge with lowest bridge ID, used as reference for path calculation B) Bridge with highest priority C) Any bridge D) The switch with the most ports Answer: A Rationale: Root bridge is the center of the STP tree. Q24. What are the STP port states? A) Blocking, Listening, Learning, Forwarding, Disabled B) Up, Down C) Open, Closed D) Active, Inactive Answer: A Rationale: Ports transition through states before forwarding. Q25. What is Rapid Spanning Tree Protocol (RSTP, 802.1w)? A) Faster convergence than STP (seconds → sub-second) B) Slower than STP C) Same as STP D) Only for VLANs Answer: A Rationale: RSTP reduces convergence time significantly.

Q26. What is a VLAN? A) Logical segmentation of a switch into multiple isolated broadcast domains B) Physical network segment C) Type of router D) Security protocol Answer: A Rationale: VLANs improve security and reduce broadcast traffic. Q27. How many VLANs are possible with 802.1Q? A) 4096 (12-bit VLAN ID, 0–4095, 1–4094 usable) B) 256 C) 1024 D) 65536 Answer: A Rationale: 802.1Q uses a 12-bit VLAN ID field. Q28. What is a trunk port in VLANs? A) Carries traffic for multiple VLANs with 802.1Q tagging B) Access port for a single VLAN C) Router port D) WAN port Answer: A Rationale: Trunk ports add VLAN tags to frames. Q29. What is an access port in VLANs? A) Carries traffic for a single untagged VLAN B) Carries multiple VLANs C) Trunk port D) Router port Answer: A Rationale: Access ports remove tags before sending to end devices.

Q34. What is the subnet mask for a Class C network? A) 255.255.255. B) 255.0.0. C) 255.255.0. D) 255.255.255. Answer: A Rationale: Class C default mask is /24. Q35. How many usable host addresses are in a /24 network? A) 254 B) 256 C) 255 D) 253 Answer: A Rationale: 2⁸ = 256 minus network (0) and broadcast (255) = 254. Q36. What is CIDR notation for subnet mask 255.255.254.0? A) / B) / C) / D) / Answer: A Rationale: 255.255.254.0 has 23 bits: 8+8+7=23. Q37. What is the network address for 192.168.10.45/28? A) 192.168.10. B) 192.168.10. C) 192.168.10. D) 192.168.10. Answer: A Rationale: /28 = 16 addresses per subnet (0–15, 16–31, 32–47, 48–63). 45 is in 32–47 range, so network 32.

Q38. What is the broadcast address for 192.168.10.45/28? A) 192.168.10. B) 192.168.10. C) 192.168.10. D) 192.168.10. Answer: A Rationale: Subnet 192.168.10.32/28: addresses 32–47, broadcast is last = 47. Q39. What is private IP address range for Class C? A) 192.168.0.0 – 192.168.255. B) 10.0.0.0 – 10.255.255. C) 172.16.0.0 – 172.31.255. D) 169.254.0.0 – 169.254.255. Answer: A Rationale: Private ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16. Q40. What is APIPA (Automatic Private IP Addressing)? A) 169.254.0.0/16, assigned when DHCP fails B) Loopback C) Multicast D) Broadcast Answer: A Rationale: APIPA allows link-local communication without DHCP. Q41. What is NAT overload (PAT)? A) Multiple private IPs mapped to a single public IP using different source ports B) One-to-one NAT C) Static NAT D) Twice NAT Answer: A Rationale: PAT is the most common form of home router NAT.

Q46. What is the loopback address in IPv6? A) :: B) 127.0.0. C) 0.0.0. D) :: Answer: A Rationale: ::1 is the IPv6 equivalent of 127.0.0.1. Q47. What is an IPv6 link-local address? A) FE80::/10, used only on a single link (not routed) B) Global unicast C) Unique local D) Multicast Answer: A Rationale: Link-local addresses are automatically configured. Q48. What is IPv6 SLAAC? A) Stateless Address Autoconfiguration (without DHCP) B) Stateful DHCPv C) Manual configuration D) NAT Answer: A Rationale: SLAAC uses router advertisements and EUI-64. Q49. What is EUI-64 in IPv6? A) Interface identifier derived from MAC address (insert 0xFFFE) B) Global prefix C) Subnet ID D) Multicast address Answer: A Rationale: Example: MAC 00:1A:2B:3C:4D:5E becomes 021A:2BFF:FE3C:4D5E.

Q50. What is NDP (Neighbor Discovery Protocol) in IPv6? A) Replaces ARP, ICMPv6-based B) Routing protocol C) DHCPv D) DNS Answer: A Rationale: NDP handles neighbor solicitation, router solicitation, and duplicate address detection. Q51. What is IPv6 multicast address for all nodes? A) FF02:: B) FF02:: C) FF02::1:FF00/ D) FF02::FB Answer: A Rationale: FF02::1 all nodes, FF02::2 all routers. Q52. What is the IPv6 solicited-node multicast address used for? A) Efficient address resolution (replaces ARP broadcast) B) Routing C) DHCP D) DNS Answer: A Rationale: Solicited-node multicast is FF02::1:FFXX:XXXX. Q53. What is IPv6 unique local address (ULA)? A) FD00::/8, similar to IPv4 private addresses B) Global unicast C) Link-local D) Multicast Answer: A Rationale: ULAs are not routed on the global internet.

Q58. What is an iterative DNS query? A) Server returns a referral (next server to ask) B) Server fully resolves C) Client does no work D) Same as recursive Answer: A Rationale: Root servers use iterative responses. Q59. What is a DNS zone? A) A portion of the DNS namespace managed by a specific authority B) A physical server C) A TLD D) A root server Answer: A Rationale: Zones delegate authority for subdomains. Q60. What is an A record? A) Maps domain to IPv4 address B) Maps domain to IPv6 address C) Alias (CNAME) D) Mail exchanger Answer: A Rationale: A = address record. Q61. What is an AAAA record? A) Maps domain to IPv6 address B) IPv4 mapping C) CNAME D) MX Answer: A Rationale: Quad-A for IPv6.

Q62. What is a CNAME record? A) Canonical name (alias for another domain) B) IPv6 address C) Mail server D) Name server Answer: A Rationale: CNAME points to another domain name, not IP. Q63. What is an MX record? A) Mail exchange, specifies mail server with priority B) IP address C) Alias D) Name server Answer: A Rationale: MX records have priority (lower is higher priority). Q64. What is a PTR record? A) Reverse DNS mapping (IP to domain) B) Forward mapping C) Alias D) Mail Answer: A Rationale: PTR records live in in-addr.arpa (IPv4) or ip6.arpa (IPv6). Q65. What is an NS record? A) Name server for the zone B) IP address C) Mail server D) Alias Answer: A Rationale: NS records delegate authority.

Q70. What is DNS over HTTPS (DoH)? A) Encrypting DNS queries within HTTPS to prevent eavesdropping B) Unencrypted DNS C) Using HTTP for DNS D) Routing Answer: A Rationale: DoH uses port 443; bypasses local DNS filtering. Q71. What is DNS over TLS (DoT)? A) DNS over TLS connection (port 853) B) Unencrypted C) UDP only D) Same as DoH Answer: A Rationale: DoT uses dedicated port; DoH uses HTTP. Q72. What is a DNS amplification attack? A) Sending small queries to open resolvers with spoofed source, causing large responses to victim B) Flooding with SYN C) ARP poisoning D) MAC flooding Answer: A Rationale: DNS amplification is a DDoS attack. Q73. What is SMTP used for? A) Sending email between mail servers B) Retrieving email C) Web browsing D) File transfer Answer: A Rationale: SMTP (port 25) is for outgoing mail.

Q74. What is POP3? A) Post Office Protocol version 3 (downloads email, deletes from server) B) Web browsing C) File transfer D) Routing Answer: A Rationale: POP3 (port 110) is simple but not good for multiple devices. Q75. What is IMAP? A) Internet Message Access Protocol (keeps email on server, folders) B) Sending email C) Web browsing D) File transfer Answer: A Rationale: IMAP (port 143, 993 for IMAPS) is preferred for multi-device access. Q76. What is MIME? A) Multipurpose Internet Mail Extensions (attachments, non-ASCII) B) Mail server C) Encryption D) Routing Answer: A Rationale: MIME extends SMTP to support attachments. Q77. What is SMTPS? A) SMTP over TLS (port 465 or 587 with STARTTLS) B) Unencrypted SMTP C) POP D) IMAP Answer: A Rationale: Port 587 is recommended for submission.