Computer Networks Course Syllabus
Computer Networks Course Syllabus
TCP and UDP serve different functions due to their design. TCP provides reliable, ordered, and error-checked delivery of data between applications through mechanisms such as handshaking and flow control, which ensures data integrity but adds overhead, potentially affecting speed. UDP, in contrast, offers faster, connectionless communication without guaranteeing delivery, order, or error correction, making it suitable for real-time applications like video streaming where speed is prioritized over reliability .
When implementing multiple access protocols like ALOHA and CSMA/CD, critical factors include network traffic load, collision probability, and efficiency in using the communication medium. ALOHA is simple but results in a higher collision probability under heavy load, making it suitable for low-traffic scenarios. CSMA/CD reduces collisions by sensing the medium before transmission but requires mechanisms for resolving collisions when they occur, making it more efficient under moderate to high loads. Consideration of network size, media type, and latency requirements is also essential .
The TCP/IP protocol suite is more practical and widely used compared to the OSI model, which is more theoretical. TCP/IP combines the layers of the OSI model into four layers: Network Interface, Internet, Transport, and Application. It is designed to be robust in real-world networking environments, particularly for the internet, and facilitates communications across diverse interconnected networks. The OSI model, while a conceptual framework, was developed to standardize how different network systems could communicate, offering clearer divide of network functionalities .
Cyclic Redundancy Check (CRC) is highly effective for detecting burst errors in data blocks due to its complex polynomial division, outperforming both Hamming code and checksum in this regard. Hamming code provides both error detection and correction but is mainly efficient for single-bit errors. In contrast, checksum is simpler and faster but less reliable for spotting errors, often used where error correction isn’t critical. Therefore, CRC is preferred for higher reliability in error detection, especially in networks requiring robust data integrity .
Each layer of the OSI model has distinct functionalities that contribute to a network's architecture. The Physical Layer manages the transmission of raw bit streams over a physical medium; the Data Link Layer ensures reliable data transfer across the physical network, handling error detection and correction; the Network Layer manages the routing and forwarding of packets through the network; the Transport Layer provides end-to-end communication management; the Session Layer controls dialog between applications; the Presentation Layer ensures that data is in a usable format and is where data encryption occurs; and the Application Layer is where network services are accessible to end users. These layers contribute to modularizing the network's functionality, facilitating interoperability and scalability .
Subnetting involves dividing a large network into smaller, manageable subnetworks. Each subnetwork is given a unique identifier, allowing efficient use of IP addresses and better organization of network resources. It reduces broadcast traffic, easily isolates network issues, and enhances security by limiting broadcast domains. Subnetting requires understanding both classful and classless IP addressing and facilitates dynamic yet efficient allocation of addresses especially in large scale or complex network architectures .
Network congestion control mechanisms include traffic shaping, which regulates data flow at the network edges, and congestion avoidance techniques like Random Early Detection (RED), which intentionally drops packets before congestion becomes significant. Window-based protocols such as TCP’s congestion control adjust the data transmission rate based on current network conditions. These mechanisms work to prevent data overflow, improve end-to-end delay, and maintain manageable network traffic levels, enhancing overall network performance .
DNS (Domain Name System) enhances internet functionality by translating human-readable domain names into IP addresses that computers use to identify each other. This translation allows users to easily access websites without remembering numerical addresses, greatly improving user experience. DNS also supports email routing and other internet services, providing a scalable, distributed database to manage these translations efficiently, crucial for internet usability and navigation .
Guided transmission media include physical conduits like twisted pair cables, coaxial cables, and fiber optic cables that direct signals along a specific path. They are typically used for local area networks and other closed environments due to their reliability and security. Unguided transmission media, like radio waves, microwaves, and infrared, transmit signals freely through the air without the need for a physical path, suitable for mobile and satellite communications, but are more prone to interference and eavesdropping risks .
Routing algorithms such as shortest path use Dijkstra's algorithm to find the path with the least cost between two nodes, thereby minimizing latency and optimizing network resource use. Distance vector routing uses the Bellman-Ford algorithm, which is more scalable for environments where network topology changes frequently, continuously updating router tables with the least cost paths. These algorithms optimize network performance by ensuring efficient data packet delivery while minimizing time and resource costs .