Computer Networking Fundamentals
- 77Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
Why do computers represent information using numbers?
Computer systems process information as binary data, so text, images, and other information can be encoded as numbers and then as bits.
Or swipe the card
77 cards
Why do computers represent information using numbers?
Computer systems process information as binary data, so text, images, and other information can be encoded as numbers and then as bits.
How can text be represented as numbers?
Assign a number to each character according to an encoding scheme; the resulting numbers can be represented in binary.
What is an image in the pixel-based representation described?
A grid of pixels, with each pixel represented by numeric color values.
What do the three values in an RGB pixel represent?
The intensities of red, green, and blue light for that pixel.
If RGB components are stored in 8 bits each, what range can each component represent?
Values from 0 to 255.
What does an RGB value of (255,255,255) indicate in the described representation?
Red, green, and blue are all at their maximum intensity.
How is a video represented in the basic model described?
As a sequence of images, with timing information indicating when frames should appear.
What is a bit, and how does it relate to binary data?
A bit is a binary digit that has one of two values: 0 or 1.
How can a physical property represent a bit?
Use two distinguishable physical states to represent 0 and 1.
How does the content illustrate representing binary data with voltage?
A voltage at or above a chosen threshold represents 1, while a voltage below it represents 0.
How does the content illustrate storing bits in RAM capacitors?
A charged capacitor represents 1, while an uncharged capacitor represents 0.
How does the content illustrate storing bits on a magnetic disk?
Different magnetic orientations are used to represent the two binary states.
What was one limitation of transferring computer files using removable disks?
The receiving computer needed compatible hardware and software to read the disk, and someone had to transport it.
What communication problem did telegraph lines help address?
They enabled information to be sent electrically between distant points instead of relying on a person to carry a message.
What is the basic idea of sending data over a wired computer connection?
Represent bits as electrical signals on a cable and have the receiving hardware interpret those signals.
How does a simple voltage-based transmission encode a sequence of bits?
The sender changes the wire's voltage according to the bit sequence, and the receiver measures the voltage and decodes the bits.
What role does a NIC play in transmitting data?
A network interface card (NIC) provides hardware for connecting a computer to a network and sending or receiving network signals.
How can a Wi-Fi connection carry binary data through the air?
It uses radio waves whose properties are modulated to represent data.
What are amplitude, frequency, and phase modulation examples of?
Ways of varying a signal to encode information.
How can fiber-optic links represent bits?
By transmitting patterns of light pulses through the fiber.
Why can different frequencies on a shared medium support simultaneous transmissions?
Different devices can use separate frequency channels, allowing signals to be carried at the same time.
Why is connecting every computer directly to every other computer impractical at scale?
Each computer would need a separate connection to every other computer, requiring many cables and ports.
What problem does a switch solve in a local network?
It provides a central connection point and forwards data between connected devices.
Why would sending every message to every device on a network be undesirable?
Unintended devices would receive the data, creating unnecessary traffic and potential privacy or security concerns.
What is a MAC address in the basic networking model?
A link-layer address associated with a device's network interface.
What information does the simplified frame described in the content include?
A destination MAC address, a source MAC address, and the data being carried.
What is a frame?
A link-level unit of data that carries payload along with link-layer information such as MAC addresses.
How does a switch use a MAC address table?
It maps MAC addresses to the ports where devices are reachable, then uses that mapping to forward frames.
How can a switch learn which port leads to a device?
When it receives a frame, it can learn the source MAC address and the port on which the frame arrived.
What does a switch do when it knows the destination MAC address?
It forwards the frame through the port associated with that MAC address.
What does a switch typically do with a frame whose destination MAC address is unknown?
It floods the frame out other ports, rather than sending it back through the port where it arrived.
How do switches learn about a device connected through another switch?
Frames and replies passing between switches can reveal the device's MAC address and the port leading toward it.
How do MAC addresses and IP addresses differ in the network model described?
MAC addresses support delivery on a local link, while IP addresses identify devices across interconnected networks.
Why is a hierarchical address useful for reaching devices on distant networks?
It identifies a network as well as a device within that network, so traffic can be directed toward the correct network without checking every device.
What does the illustrative address
C.8represent in the content?Device 8 in network C.
What is an IP address?
An address used by the Internet Protocol to identify a network destination for routing data.
What is ARP used for in the local-network example?
It helps discover the MAC address associated with a known IP address.
How does an ARP request find a device's MAC address?
The request is broadcast on the local network asking which device has the target IP address; that device can reply with its MAC address.
What destination MAC address does a computer use when sending to a device on its own local network?
The destination device's MAC address.
What destination MAC address does a computer use when sending to a device on another network?
The MAC address of its local router or gateway.
Does a sender generally need the remote destination's MAC address to send data across routers?
No. It sends the frame to its local router's MAC address; routers handle forwarding toward the remote network.
What problem does ARP solve for a computer communicating with a local device?
It avoids requiring the user to manually look up the local device's MAC address.
What is the main role of a router?
To forward data between networks using destination IP addresses and routing information.
Why are routers needed in addition to switches?
Switches forward traffic within local networks using MAC addresses, while routers forward traffic between networks using IP addresses.
What does a routing table contain?
Information about how to reach destination networks, including which route or outgoing interface to use.
What is a hop in the routing example?
A step through a router on the path toward a destination network.
How can routers learn routes to other networks?
They exchange routing information with one another using routing protocols.
What addressing information does a router examine to forward an IP packet?
The destination IP address.
What happens to the link-layer MAC addresses as data passes through routers?
The frame's MAC addresses are updated for each local link, while the IP addresses identify the end-to-end source and destination.
What does it mean for a destination network to be directly connected to a router?
The router can reach that network through one of its own interfaces without forwarding through another router first.
Why is routing more scalable than flooding traffic through every device in a large network?
Routers use hierarchical IP destinations and routing tables to direct traffic toward networks instead of checking every device.
What is the benefit of dividing a large file into smaller data units for transmission?
If an error affects one unit, only that unit may need to be retransmitted rather than the entire file.
What is a packet in the content's simplified explanation?
A chunk of data packaged for transmission, with addressing and other control information.
How can sequence numbers help a receiver reassemble packets?
They identify the order of the chunks so the receiver can put the data back together correctly.
What can a receiver do if it detects that one transmitted chunk is corrupted?
Request retransmission of the affected chunk rather than the whole file.
What can an error-detection method tell a receiver about corrupted data?
It can indicate that data is corrupted, though it may not identify exactly which bits were changed.
How can packetization allow multiple computers to share a link?
A computer can send a packet or group of packets, then another computer can transmit before the first resumes.
How do a packet and a frame differ in the simplified model?
A packet is the network-layer data unit; a frame carries that packet across a local link with link-layer information such as MAC addresses.
Why do real packets and frames contain more than just addresses and payload?
They include additional headers or fields used for tasks such as identifying data and checking for errors.
Why is binary data alone insufficient for an application to interpret a message?
The receiver also needs rules for interpreting what the bits mean, such as whether they represent text or another kind of content.
What is an application-layer protocol?
A set of rules and a message format that applications use to exchange and interpret data.
What does HTTP help a web client and server do?
Exchange web requests and responses in a defined format.
What is SMTP used for?
Sending email between systems using a defined protocol.
Why might a server reject a message that does not follow the expected protocol format?
The server may be unable to interpret it because it does not match the agreed message rules.
What does a web browser do when communicating with a website?
It creates and sends appropriately formatted web requests, so the user usually does not have to write the protocol message manually.
How does application data become transmittable by network hardware?
It is encoded as binary data and then packaged with protocol information for delivery through the network.
Why does an operating system sit between applications and hardware?
It controls access to hardware and resources, helping isolate applications and coordinate their use of the computer.
How does an operating system help multiple programs share a processor?
It schedules programs to run for assigned periods of time.
How does an operating system help applications use memory safely?
It manages memory allocation and controls which memory areas applications can access.
What is the kernel in the content's description?
The core part of the operating system that manages system resources and provides controlled access to hardware.
What happens when an application asks the operating system to send data to an IP address?
The operating system processes the request and prepares the data for network transmission.
What role can the NIC play after the operating system prepares network data?
It takes the data for transmission, adds link-level information such as MAC addresses, and sends it over the network medium.
What is DMA in the NIC example?
Direct memory access: a way for hardware such as a NIC to transfer data to or from memory with reduced processor involvement.
Why might a NIC maintain a queue of outgoing data?
Multiple applications may submit data, so the NIC queues it and transmits items in turn.
What is a network port in the application-delivery example?
A logical number used to direct network data to the appropriate application or service on a computer.
How does a computer use a port number when receiving network data?
It uses the port number to deliver the data to the application associated with that port.
What is the difference between the jobs of a router and a modem in the simplified connection example?
A router forwards data between networks; a modem or other interface adapts signals for a particular network connection.

Ask anything
We've read this whole study set, so questions about it get the best answers.