Networking Basics
- 108Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is the purpose of a computer network?
108 questions
- 1
What is the purpose of a computer network?
Model answer
A computer network connects devices so they can communicate and share services and data.
Explanation
Networks make it possible for computers, phones, servers, and other devices to exchange information locally or across the world.
- 2
Distinguish between a client and a server in a networked application.
Model answer
A client requests or uses a service, while a server provides the service or resources requested by the client.
Explanation
In the DJ example, the client app requests music and the server provides the song list and streams.
- 3
In the Techno DJ scenario, what two programs are needed to stream music?
Model answer
The system needs a client app installed on the user's computer and a server-side service that streams music.
Explanation
The client app lets users view and play songs, while the server service supplies the music.
- 4
Why are network services important to modern computers?
Model answer
Many computer functions depend on services that provide resources or respond to requests over a network.
Explanation
Without network services, activities such as obtaining an IP address, browsing websites, and streaming media would not work properly.
- 5
What is a Windows service?
Model answer
A Windows service is a program configured to run automatically, often independently of a logged-in user.
Explanation
Services can start with the computer or after a trigger and can remain available without a person launching them.
- 6
Why might a program need to run as a service rather than as a normal user application?
Model answer
A service can run before anyone logs in, operate under a system or separate account, and remain continuously available.
Explanation
This is useful for programs that must provide functions even when no user is actively logged into the machine.
- 7
What are common startup types for Windows services?
Model answer
Services may be manual, automatic, or automatic with a delayed start.
Explanation
Manual services require a trigger, automatic services start during system startup, and delayed services start automatically after a delay.
- 8
What are services called on Linux and Unix systems?
Model answer
They are commonly called daemons.
Explanation
Daemons are background programs that perform service functions on Linux and Unix systems.
- 9
What is a network service?
Model answer
A network service is a background service that provides functionality to other devices over a network.
Explanation
It can respond to network requests without requiring someone to log in and manually start the program.
- 10
How does DHCP help a device join a network?
Model answer
A DHCP client requests an IP address, and a DHCP server responds by assigning one.
Explanation
A device generally needs an IP address before it can communicate effectively on an IP network.
- 11
What is the difference between a DHCP client and a DHCP server?
Model answer
The DHCP client requests network configuration, while the DHCP server supplies IP addresses and related configuration.
Explanation
The client runs on the connecting device; the server provides addresses to clients.
- 12
How does a web browser interact with a web service?
Model answer
The browser acts as a client and connects to a web service such as Apache or IIS running on another machine.
Explanation
The web service receives the browser's request and delivers web pages in response.
- 13
Why can devices running different operating systems communicate over a network?
Model answer
They use shared communication protocols that define common rules for exchanging data.
Explanation
A Windows computer, Linux server, phone, or Mac can communicate when their applications follow compatible protocols.
- 14
What is a network protocol?
Model answer
A network protocol is a set of rules that defines how devices communicate.
Explanation
Protocols allow independently designed devices and applications to understand one another.
- 15
What communication details does a protocol define?
Model answer
It can define the order of communication, message format, data organization, and how requests and responses are exchanged.
Explanation
For example, a client may greet a server, request a song list, and receive the songs in a defined format and order.
- 16
Why is message order important in network communication?
Model answer
The receiver must know how to interpret each part of the data; incorrect ordering can cause fields to be assigned the wrong meanings.
Explanation
Without an agreed order, a song name could be mistaken for an album name or another field.
- 17
Why is message format important when transferring structured data?
Model answer
A defined format tells the receiver where to find fields such as a song name, artist, album, graphics, or lyrics.
Explanation
Network data is transferred as encoded data rather than as the final presentation seen by the user.
- 18
What is the relationship between binary data and the information displayed to a user?
Model answer
Data is transmitted as ones and zeros, interpreted as strings or structured formats, and then presented in a user-friendly form.
Explanation
The attractive interface is created after the receiving application interprets the transmitted binary data.
- 19
Why do application developers usually use existing protocols instead of creating new ones?
Model answer
Existing protocols already provide tested rules for communication and can be implemented by software rather than reinvented.
Explanation
Applications typically rely on established networking protocols to communicate reliably with services.
- 20
Why are multiple layers of protocols involved in network communication?
Model answer
Different protocols perform different communication functions, and their layers work together to deliver data.
Explanation
Networking is not controlled by one rule set; several protocol layers cooperate during transmission.
- 21
Why might a server use different ports for web pages, an application, and music streaming?
Model answer
Different ports allow incoming traffic to be associated with the correct service.
Explanation
A server can offer many services simultaneously, so port numbers help direct each request to the appropriate program.
- 22
What are ports used for in networking?
Model answer
Ports identify the service or application to which incoming network traffic should be delivered.
Explanation
The destination port helps the operating system direct traffic to the appropriate network service.
- 23
What are the standard port associations for HTTP and HTTPS?
Model answer
HTTP commonly uses port 80, while HTTPS commonly uses port 443.
Explanation
Port 80 is traditionally associated with unsecured web traffic, and port 443 with secured web traffic.
- 24
What are well-known ports?
Model answer
Well-known ports are ports from 0 through 1,023 that are generally reserved for established services.
Explanation
Common services such as web traffic traditionally use ports in this range.
- 25
What are registered ports?
Model answer
Registered ports are ports in the range above the well-known ports that applications can register for their use.
Explanation
The material identifies the registered range as approximately 1,000 through 49,000, although applications do not always formally register ports they use.
- 26
What are dynamic, private, or ephemeral ports?
Model answer
They are a category of ports used for temporary or private network connections.
Explanation
They form another port range distinct from well-known and registered ports.
- 27
What three types of network media can carry computer signals?
Model answer
Signals can travel through conducting cables, radio waves, or light carried through optical media.
Explanation
These correspond broadly to copper or other conductors, wireless transmission, and fiber-optic transmission.
- 28
How can a copper cable represent binary data?
Model answer
An electrical signal can represent one, while the absence of the signal can represent zero.
Explanation
The important distinction is whether the signal is present, not the exact voltage value.
- 29
How can light transmit binary data?
Model answer
Light can be turned on and off in patterns, with the presence of light representing one and its absence representing zero.
Explanation
The same principle can be used with visible, infrared, or guided light.
- 30
How can radio waves represent binary data?
Model answer
Radio waves can be modulated or otherwise manipulated to encode ones and zeros.
Explanation
Unlike a simple on-or-off wire signal, radio transmission uses properties of a waveform to carry data.
- 31
What is the function of a network interface card?
Model answer
A network interface card translates computer data into signals suitable for network media and translates received signals back into computer data.
Explanation
It allows digital ones and zeros to be transmitted as electrical, optical, or radio signals.
- 32
Why is a network interface needed even when the medium can carry binary electrical or light signals directly?
Model answer
The interface still performs the necessary translation, transmission, and reception between the computer's internal signals and the network medium.
Explanation
A computer cannot directly communicate with the medium without hardware that manages this conversion.
- 33
Where are network interface components commonly located in modern computers?
Model answer
They are often integrated into the motherboard or system rather than installed as a separate expansion card.
Explanation
The term network interface card is still used even when the hardware is built into the computer.
- 34
What types of network interfaces might a laptop have?
Model answer
A laptop may have Ethernet, Wi-Fi, Bluetooth, and other network interfaces.
Explanation
Different interfaces allow the computer to connect through wired and wireless technologies.
- 35
Why is fiber-optic cable more fragile than typical Ethernet copper cable?
Model answer
Fiber-optic cable contains a thin glass or plastic fiber that can be damaged by excessive bending.
Explanation
The fiber guides light and must be handled within its bending limits.
- 36
Why is light from a remote control usually not used as the primary computer networking medium?
Model answer
It is generally slower, less direct, and more exposed than guided communication through a network cable or fiber.
Explanation
Computer networks usually require faster and more controlled transmission than an open infrared signal provides.
- 37
What is a hub?
Model answer
A hub is a network device that repeats incoming signals out through all other ports.
Explanation
It does not selectively forward traffic to only the intended recipient.
- 38
Why are switches used more commonly than hubs today?
Model answer
Switches can selectively forward traffic and generally reduce unnecessary traffic and collisions compared with hubs.
Explanation
Hubs are mainly useful for understanding older Ethernet behavior and have few modern use cases.
- 39
What is a MAC address used for?
Model answer
A MAC address identifies a network interface on a local network so frames can be delivered to the intended device.
Explanation
Devices inspect the destination MAC address and process frames addressed to them.
- 40
How do devices treat a frame whose destination MAC address is not their own?
Model answer
They normally ignore or discard the frame rather than process its contents.
Explanation
The destination MAC address allows the intended device to distinguish its traffic from other local traffic.
- 41
How long is a MAC address?
Model answer
A MAC address is 48 bits long.
Explanation
The 48 bits are commonly displayed as 12 hexadecimal digits.
- 42
Why are MAC addresses commonly written in hexadecimal?
Model answer
Hexadecimal makes a 48-bit address shorter and easier for humans to read than a long sequence of binary digits.
Explanation
Separators such as colons or dashes are added for readability and do not change the address.
- 43
What is a burned-in address?
Model answer
A burned-in address is a MAC address assigned to a network interface by its manufacturer.
Explanation
The address is associated with the network interface card and is usually assigned before the device is sold.
- 44
Why are MAC addresses not suitable for routing across the entire world?
Model answer
They are not hierarchical or geographically meaningful, so using them globally would require an unmanageable database of device locations.
Explanation
MAC addresses work well for local delivery but do not provide scalable global routing information.
- 45
What is encapsulation?
Model answer
Encapsulation is the process of adding control information to data so it can be delivered and interpreted.
Explanation
Addressing, sequencing, protocol identification, and error-checking information may be added during encapsulation.
- 46
What is the payload in an encapsulated message?
Model answer
The payload is the data that needs to be delivered.
Explanation
It is the useful content being transported, such as an application message or part of a song.
- 47
What is the purpose of a header?
Model answer
A header contains control information used for functions such as addressing, sequencing, protocol identification, and delivery.
Explanation
The specific fields in a header are defined by the protocol being used.
- 48
What is the purpose of a trailer?
Model answer
A trailer may contain additional control information, often for detecting errors or corruption.
Explanation
Not every protocol uses a trailer, but one may be added when the protocol requires end-of-message checking.
- 49
What does it mean to encapsulate an already encapsulated protocol?
Model answer
It means that additional headers or other control information are added around data that already contains protocol information.
Explanation
Network communication can involve multiple layers, each adding its own encapsulation.
- 50
What is an Ethernet frame?
Model answer
An Ethernet frame is the Ethernet-formatted unit containing a payload, an Ethernet header, and a frame-checking trailer.
Explanation
Frames provide local-network delivery over Ethernet.
- 51
What fields are included in an Ethernet header?
Model answer
The Ethernet header includes a destination MAC address, a source MAC address, and a type field.
Explanation
These fields identify the intended recipient, the sender, and information about the frame's payload.
- 52
What is the purpose of the destination MAC address in an Ethernet frame?
Model answer
It identifies the local network interface that should process the frame.
Explanation
A receiving device compares the destination address with its own MAC address.
- 53
What is the purpose of the source MAC address in an Ethernet frame?
Model answer
It identifies the network interface that sent the frame.
Explanation
The source address allows the receiving device to know where the frame originated on the local network.
- 54
What is the purpose of the Ethernet type field?
Model answer
It identifies the type or format of the payload carried by the Ethernet frame.
Explanation
The receiving system can use this information to interpret the encapsulated data.
- 55
What is the frame check sequence used for?
Model answer
It allows the receiver to check whether the frame was corrupted or changed during transmission.
Explanation
The receiver uses the sequence to verify the accuracy of the received frame.
- 56
What are the key size values described for an Ethernet frame?
Model answer
Each MAC address is 48 bits, the type field is 16 bits, the payload is approximately 368 to 12,000 bits, and the frame check sequence is 32 bits.
Explanation
These fields together form the Ethernet frame structure described in the material.
- 57
What is an Ethernet collision?
Model answer
A collision occurs when two devices transmit on the shared network at the same time.
Explanation
Their signals interfere, making the resulting communication unusable.
- 58
What does CSMA/CD stand for?
Model answer
CSMA/CD stands for Carrier Sense Multiple Access with Collision Detection.
Explanation
It describes how shared Ethernet devices check the medium and respond when simultaneous transmissions collide.
- 59
What does carrier sense mean in CSMA/CD?
Model answer
A device listens to determine whether another device is already transmitting before it begins sending.
Explanation
If the network is busy, the device waits instead of transmitting immediately.
- 60
What does collision detection mean in CSMA/CD?
Model answer
A transmitting device detects whether its signal collided with another transmission and stops if a collision occurred.
Explanation
Detection prevents the device from continuing to send a damaged transmission.
- 61
What happens after an Ethernet collision?
Model answer
Both devices stop transmitting, discard the damaged communication, choose random backoff intervals, and retry at different times.
Explanation
The device whose backoff expires first transmits, while the other waits until the medium is free.
- 62
What is a broadcast?
Model answer
A broadcast is a message intended for every device on a local network.
Explanation
All devices receive and process a frame addressed to the broadcast address.
- 63
What MAC address represents an Ethernet broadcast?
Model answer
The broadcast address is represented by an address consisting entirely of hexadecimal F values, commonly written as FF:FF:FF:FF:FF:FF.
Explanation
A frame sent to this destination is intended for all devices on the local network.
- 64
How does a unicast frame differ from a broadcast frame?
Model answer
A unicast frame is addressed to one specific device, while a broadcast frame is addressed to all devices on the local network.
Explanation
Other devices may physically receive a unicast frame through a hub, but only the addressed device processes it.
- 65
What is a LAN?
Model answer
A local area network is a group of devices connected for local communication within a limited area.
Explanation
The devices have local connectivity, often through Ethernet or wireless technologies.
- 66
How do the conceptual and protocol definitions of a LAN differ?
Model answer
Conceptually, a LAN is a locally connected network, while LAN protocols are standards that define how such networks communicate.
Explanation
A technology associated with LAN protocols may sometimes be used within a larger WAN connection.
- 67
Why can a LAN contain collisions?
Model answer
A LAN using shared-media technology such as a hub allows multiple devices to transmit on the same medium, creating possible collisions.
Explanation
Replacing the hub with a switch can largely eliminate this type of collision.
- 68
What is a collision domain?
Model answer
A collision domain is a portion of a network in which devices can interfere with one another by transmitting simultaneously.
Explanation
A hub-based Ethernet segment is an example of a collision domain.
- 69
Why can a hub create security concerns on a LAN?
Model answer
A hub sends traffic to all ports, allowing every connected device to receive traffic that may be intended for another device.
Explanation
Although devices may ignore frames not addressed to them, the traffic is still exposed on the shared segment.
- 70
What is the role of a router at the edge of a LAN?
Model answer
A router separates the local network from other networks and forwards traffic beyond the LAN.
Explanation
Collisions, local broadcasts, and many local-network concerns generally stop at the router boundary.
- 71
Why would a global network need to be divided into separate LANs and routed networks?
Model answer
Segmentation limits broadcasts, local collisions, and the spread of local traffic and security concerns.
Explanation
Allowing every device worldwide to share one broadcast domain would create excessive traffic and be impractical.
- 72
What is a WAN?
Model answer
A wide area network connects networks across large geographic distances using routers and WAN links.
Explanation
A company can use a WAN to connect LANs at headquarters, campuses, offices, and factories.
- 73
How does a WAN differ from a LAN?
Model answer
A LAN provides local connectivity among nearby devices, whereas a WAN interconnects networks over much greater distances.
Explanation
A WAN commonly connects multiple LANs through routers.
- 74
What is an IP address used for?
Model answer
An IP address provides hierarchical addressing that allows packets to be routed across interconnected networks.
Explanation
Routers use destination IP addresses to determine where packets should go next.
- 75
Why are MAC addresses insufficient for global routing?
Model answer
MAC addresses are manufacturer-assigned and lack a hierarchy that indicates geographic or network location.
Explanation
A global MAC-address database would be too large and difficult to maintain for practical routing.
- 76
How does hierarchical IP addressing support scalable routing?
Model answer
IP address ranges can be divided among regions, organizations, providers, and smaller networks, allowing routers to forward traffic by progressively narrower ranges.
Explanation
Each routing area only needs to handle the portion of the hierarchy relevant to it.
- 77
How long is an IPv4 address?
Model answer
An IPv4 address is 32 bits long.
Explanation
For readability, the 32 bits are commonly written as four decimal octets separated by periods.
- 78
What is an IPv4 octet?
Model answer
An octet is one of the four decimal sections used to display a 32-bit IPv4 address.
Explanation
An address such as 192.168.40.41 is divided into four octets.
- 79
Why can a device receive a different IP address when moved to another network?
Model answer
IP addresses are assigned according to the network's address range, so a device may receive an address appropriate to its new network.
Explanation
The device's MAC address remains associated with its interface, but its IP configuration can change.
- 80
What is the role of organizations responsible for IP address allocation?
Model answer
They distribute large address ranges to regions, providers, organizations, and smaller networks in a hierarchy.
Explanation
Hierarchical allocation makes worldwide addressing and routing manageable.
- 81
What information can the Windows ipconfig command display?
Model answer
It can display interface IP addresses, IPv6 link-local addresses, subnet masks, default gateways, and other connection information.
Explanation
Using the command with additional options can also display the physical or MAC address.
- 82
What is an IP packet?
Model answer
An IP packet is a payload encapsulated with an IP header containing source and destination IP addresses and other control information.
Explanation
The packet provides the addressing needed to route the message across networks.
- 83
What is the purpose of the source IP address in a packet?
Model answer
It identifies the IP address of the device or interface that sent the packet.
Explanation
The destination can use the source address when sending a response.
- 84
What is the purpose of the destination IP address in a packet?
Model answer
It identifies the final IP destination to which the packet should be delivered.
Explanation
Routers examine this address to select the next route.
- 85
How does an IP packet differ from an Ethernet frame?
Model answer
An IP packet uses IP addresses for routed delivery, while an Ethernet frame uses MAC addresses for local delivery.
Explanation
The packet is placed inside a frame when it must cross a particular local network.
- 86
What generally happens to an IP packet as it crosses multiple networks?
Model answer
The packet remains largely the same while its local link-layer frame is removed and replaced at each network link.
Explanation
The packet carries end-to-end addressing, whereas each frame carries addressing appropriate to the current local link.
- 87
What is the role of a router in packet delivery?
Model answer
A router examines a packet's destination IP address and forwards it toward the next appropriate network or destination.
Explanation
Routers form the gateways between LANs and other networks.
- 88
How does a router choose a path for a packet?
Model answer
It examines the destination and selects the next best route available toward that destination.
Explanation
Each router makes a forwarding decision, allowing the packet to progress through a sequence of routers.
- 89
What does the ping utility test?
Model answer
Ping tests basic connectivity by sending packets to a destination and measuring whether replies return and how long they take.
Explanation
It can report sent packets, received packets, packet loss, and round-trip time.
- 90
What does the traceroute or tracert utility show?
Model answer
It shows the sequence of router hops a packet takes toward a destination and provides response information for those hops.
Explanation
This helps identify the path and possible points of delay or failure.
- 91
What does the term layer two refer to in the described networking model?
Model answer
Layer two refers to local link communication such as Ethernet frames and MAC addressing.
Explanation
Layer-two information is specific to the current local network link.
- 92
What does the term layer three refer to in the described networking model?
Model answer
Layer three refers to IP communication using packets and IP addresses for routed delivery.
Explanation
Layer-three information supports communication across multiple interconnected networks.
- 93
How does layer-two information change as a packet crosses routers?
Model answer
The layer-two frame is removed and a new frame appropriate for the next link is added.
Explanation
Each link can use a different technology and therefore different local addressing.
- 94
Why can different technologies be used on different WAN links?
Model answer
Each link may use the technology and protocol appropriate to its medium or provider, while the IP packet provides a common routed layer across them.
Explanation
The packet can cross Ethernet, radio, satellite, fiber, or other links even when their layer-two protocols differ.
- 95
Compare Ethernet forwarding with IP routing.
Model answer
Ethernet forwards frames using MAC addresses, while IP routes packets using IP addresses.
Explanation
Switches or hubs operate primarily with Ethernet frames, whereas routers operate with IP packets.
- 96
How many layers are in the OSI model?
Model answer
The OSI model has seven layers.
Explanation
The material focuses on layer two and layer three in this discussion but notes that the full model contains seven layers.
- 97
What is the Internet?
Model answer
The Internet is a global network of interconnected networks.
Explanation
Independent organizations and providers connect their networks so devices and services worldwide can communicate.
- 98
Why is the Internet not controlled by one company or entity?
Model answer
The Internet consists of independently operated networks that interconnect and manage their own infrastructure.
Explanation
Its overall structure is constantly changing, and no single organization maps or controls every part of it.
- 99
Why is the Internet often represented as a cloud in network diagrams?
Model answer
The Internet is extremely large, dynamic, and composed of many interconnected networks whose complete internal structure is difficult to represent.
Explanation
The cloud represents the complex collection of networks and paths between endpoints.
- 100
What physical technologies can interconnect networks across the Internet?
Model answer
They include terrestrial and undersea fiber-optic cables, radio links, and satellites.
Explanation
Different technologies are combined to connect networks across countries and continents.
- 101
Why can satellite communication be slower than some other Internet technologies?
Model answer
Signals must travel to a satellite in space and back, creating a longer transmission path.
Explanation
The greater distance can increase communication delay.
- 102
What is an Internet service provider?
Model answer
An Internet service provider connects customers to the Internet and to the larger networks that make up the Internet.
Explanation
An ISP provides the access link between a home or organization and interconnected Internet infrastructure.
- 103
What is the Internet backbone?
Model answer
The Internet backbone is the major infrastructure and high-capacity connections that interconnect large networks.
Explanation
ISPs and other networks connect to backbone providers to reach broader Internet destinations.
- 104
How does a home user typically connect to the Internet?
Model answer
The home connects through an ISP, which provides a link from the user's premises to the Internet backbone or other interconnected networks.
Explanation
The ISP serves as the intermediary between the local connection and the global Internet.
- 105
What is meant by the last mile?
Model answer
The last mile is the final connection between an ISP's infrastructure and an individual customer's home or location.
Explanation
This portion can be expensive because it serves comparatively few users over the final distance.
- 106
Why can the last mile be more expensive per user than backbone infrastructure?
Model answer
Backbone connections serve many users, while the final connection to a home may require costly construction for only one or a small number of users.
Explanation
The expense of extending cable or another medium to each individual location is distributed across fewer customers.
- 107
What technologies may provide a home's last-mile Internet connection?
Model answer
Common options include DSL over telephone lines, cable, fiber, satellite, and cellular connections.
Explanation
The available option depends on the infrastructure serving the location.
- 108
Why are power, water, and sewer lines not generally used as Internet connections?
Model answer
Water and sewer systems cannot carry data, and although data can sometimes travel over power lines, power wiring is not usually the best medium for Internet access.
Explanation
Internet providers instead commonly use telephone, cable, fiber, satellite, or cellular infrastructure.

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