Computer Systems

The Internet is a packet-switched, fault-tolerant network governed by open.

What to practice

  • Explain how IP, TCP, UDP, DNS, and HTTP work together in packet-switched networks.
  • Determine the minimum number of failed links or nodes required to disconnect two devices in a network graph.
  • Calculate sequential execution time, parallel execution time, and speedup (T_seq / T_parallel).

1. Core Concept Instruction

The Internet is a packet-switched, fault-tolerant network governed by open, non-proprietary protocols (IETF standards): (1) Packet Switching & Protocols: Messages are split into packets containing a header (source IP, destination IP, packet number) and payload. Routers forward each packet dynamically along whatever path is currently available, so packets may arrive out of order. IP (Internet Protocol) handles addressing and routing; TCP guarantees reliable delivery by requesting retransmission of dropped packets and reassembling them in order; UDP sends packets with minimal overhead and no retransmission (used for live gaming/streaming); DNS translates domain names (skillbyskillprep.com) into IP addresses; and HTTP/HTTPS governs web requests. (2) Redundancy & Fault Tolerance: A network is fault-tolerant if multiple independent paths exist between every pair of nodes so communication continues when a link or router fails. (3) Parallel & Distributed Computing: Sequential time is the sum of all task durations. Parallel time on P processors is determined by the longest-running processor schedule, and Speedup = T_sequential / T_parallel (limited by sequential dependencies according to Amdahl's Law).

2. Worked Examples

Worked Parallel Computing Speedup & Network Graph Fault-Tolerance Analysis

(a) Four independent tasks take 20 s, 30 s, 40 s, and 50 s. Calculate the sequential execution time, minimum parallel execution time on 2 processors, and the speedup. (b) If Task D (50 s) cannot start until Task A (20 s) finishes, what is the new minimum 2-processor time?

Result:

Network Fault Tolerance (Minimum Cut) & TCP Out-of-Order Packet Reassembly

A 12 MB file is split into 3 TCP packets (#1, #2, #3) routed across redundant internet paths, arriving in order #3, #1, #2. The network has routers S, A, B, C and D with links S-A, S-B, S-C, A-D, B-D and C-D. Decide whether S and D stay connected after any 2 links fail.

Result: TCP reassembles packets #1, #2, #3 via sequence numbers; S and D stay connected after any 2 link failures because 3 paths share no links

Core Concept Review

The Internet is a packet-switched, fault-tolerant network governed by open, non-proprietary protocols (IETF standards): (1) Packet Switching & Protocols: Messages are split into packets containing a header (source IP, destination IP, packet number) and payload. Routers forward each packet dynamically along whatever path is currently available, so packets may arrive out of order. IP (Internet Protocol) handles addressing and routing; TCP guarantees reliable delivery by requesting retransmission of dropped packets and reassembling them in order; UDP sends packets with minimal overhead and no retransmission (used for live gaming/streaming); DNS translates domain names (skillbyskillprep.com) into IP addresses; and HTTP/HTTPS governs web requests. (2) Redundancy & Fault Tolerance: A network is fault-tolerant if multiple independent paths exist between every pair of nodes so communication continues when a link or router fails. (3) Parallel & Distributed Computing: Sequential time is the sum of all task durations. Parallel time on P processors is determined by the longest-running processor schedule, and Speedup = T_sequential / T_parallel (limited by sequential dependencies according to Amdahl's Law).

Extended Concept Analysis

The Internet is a packet-switched, fault-tolerant network governed by open, non-proprietary protocols (IETF standards): (1) Packet Switching & Protocols: Messages are split into packets containing a header (source IP, destination IP, packet number) and payload. Routers forward each packet dynamically along whatever path is currently available, so packets may arrive out of order. IP (Internet Protocol) handles addressing and routing; TCP guarantees reliable delivery by requesting retransmission of dropped packets and reassembling them in order; UDP sends packets with minimal overhead and no retransmission (used for live gaming/streaming); DNS translates domain names (skillbyskillprep.com) into IP addresses; and HTTP/HTTPS governs web requests. (2) Redundancy & Fault Tolerance: A network is fault-tolerant if multiple independent paths exist between every pair of nodes so communication continues when a link or router fails. (3) Parallel & Distributed Computing: Sequential time is the sum of all task durations. Parallel time on P processors is determined by the longest-running processor schedule, and Speedup = T_sequential / T_parallel (limited by sequential dependencies according to Amdahl's Law).

Worked Problem Walkthrough

Worked Parallel Computing Speedup & Network Graph Fault-Tolerance Analysis

(a) Four independent tasks take 20 s, 30 s, 40 s, and 50 s. Calculate the sequential execution time, minimum parallel execution time on 2 processors, and the speedup. (b) If Task D (50 s) cannot start until Task A (20 s) finishes, what is the new minimum 2-processor time?

Network Fault Tolerance (Minimum Cut) & TCP Out-of-Order Packet Reassembly

A 12 MB file is split into 3 TCP packets (#1, #2, #3) routed across redundant internet paths, arriving in order #3, #1, #2. In the mesh topology, every node has at least 3 independent links.

Common Exam Traps & How to Avoid Them

  • Assuming that running a program on 4 processors always makes it 4 times as fast (ignoring sequential portions that cannot be parallelized).

  • Thinking that all packets of a file must travel along the exact same router path across the Internet.

Key Vocabulary

  • Fault Tolerance: The ability of a network or system to continue operating properly even when one or more components fail, achieved through routing redundancy.

  • Speedup: The ratio of sequential execution time to parallel execution time: Speedup = T_sequential / T_parallel.

Use this chapter companion

Review the lesson, attempt the original practice, then check the explanation. Your printed study guide remains complete without the website.

Independence

Skill by Skill Prep is independent. SAT® and AP® are trademarks registered by the College Board, which is not affiliated with, and does not endorse, this website or book. PSAT/NMSQT® is a registered trademark of the College Board and the National Merit Scholarship Corporation, which are not affiliated with, and do not endorse, this site. Bluebook™ is a trademark of the College Board. ACT® is a trademark of ACT Education Corp., which is not affiliated with and does not endorse this website or book. Desmos is a trademark of Desmos Studio PBC. Practice results describe these questions, not official scores or admission predictions.

Last updated .