Computer Networking Fundamentals
- 66Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What problem does computer networking primarily solve compared with sending a person to carry a message over a long distance?
What problem does computer networking primarily solve compared with sending a person to carry a message over a long distance?
66 questions
- 1
What problem does computer networking primarily solve compared with sending a person to carry a message over a long distance?
- A
It guarantees that information can only be sent to nearby devices.
- B
It enables information to be communicated more quickly and reliably.
- C
It ensures every message is converted into a printed document.
- D
It removes the need to represent information in any form.
Correct answer
BIt enables information to be communicated more quickly and reliably.
Explanation
The content presents networking as a way to communicate information at high speed and with greater reliability and efficiency than physical delivery.
- A
- 2
Why might having a person physically carry an important message be unreliable?
- A
The recipient would be unable to receive information from another person.
- B
The carrier might be harmed or the message might be tampered with.
- C
The message would automatically become too large to understand.
- D
The carrier would need to convert the message into binary before traveling.
Correct answer
BThe carrier might be harmed or the message might be tampered with.
Explanation
A carrier could be killed during a conflict or threatened into changing the message, so the recipient might not receive the intended information.
- A
- 3
How did telegraph lines improve on physically carrying messages?
- A
They converted all written messages directly into images.
- B
They eliminated the need for a communication path between locations.
- C
They carried encoded information electrically between connected points.
- D
They stored every message permanently inside a computer.
Correct answer
CThey carried encoded information electrically between connected points.
Explanation
Telegraph lines used an electrical connection between points to transmit information encoded as signals.
- A
- 4
What condition must be met for one computer to read information stored on a removable disk from another computer?
- A
The disk must contain only information represented as images.
- B
The computers must use the same network switch.
- C
The receiving computer must support reading data from that kind of disk.
- D
The receiving computer must have the same files already stored on it.
Correct answer
CThe receiving computer must support reading data from that kind of disk.
Explanation
The content notes that the receiving computer needs compatible hardware and software to read and write the particular kind of disk.
- A
- 5
How can text be represented in a form that a computer can process?
- A
By assigning numbers to characters according to an encoding scheme.
- B
By storing each character only as a change in screen brightness.
- C
By converting each character into a unique network device.
- D
By assigning a separate physical cable to every character.
Correct answer
ABy assigning numbers to characters according to an encoding scheme.
Explanation
Characters can be mapped to numbers, and those numbers can then be represented as binary data for a computer.
- A
- 6
Why does the content emphasize representing information as numbers?
- A
Numbers are the only information humans can understand.
- B
Computers operate on binary data, which is a number system.
- C
Computers can process numbers only when they are written in decimal.
- D
Network cables cannot carry information that has been represented as text.
Correct answer
BComputers operate on binary data, which is a number system.
Explanation
The content explains that different kinds of information can be represented with numbers, while computers work with binary data.
- A
- 7
According to the content, how can an image be represented digitally?
- A
As text characters without any information about color or position.
- B
As one number that records the image's physical size only.
- C
As pixels arranged in a grid, with numerical color values for each pixel.
- D
As a sequence of network addresses, one for each visible object.
Correct answer
CAs pixels arranged in a grid, with numerical color values for each pixel.
Explanation
The content describes an image as a grid of pixels, with each pixel represented using numerical values.
- A
- 8
Why does the content use red, green, and blue values to describe a pixel?
- A
Different intensities of red, green, and blue light can combine to produce perceived colors.
- B
Each of the three values identifies a different computer on the network.
- C
A computer screen can display only three pixels in total.
- D
Every image contains only red, green, and blue pixels, with no other colors.
Correct answer
ADifferent intensities of red, green, and blue light can combine to produce perceived colors.
Explanation
The content describes red, green, and blue light being emitted at different intensities to stimulate the eye and create color perception.
- A
- 9
In the example, why can an RGB intensity be represented by a value from 0 to 255?
- A
Every image must contain exactly 255 pixels.
- B
A value of 255 represents the number of colors the human eye can detect.
- C
The three color values together must add up to 255.
- D
The example assumes eight bits are used to store each color value.
Correct answer
DThe example assumes eight bits are used to store each color value.
Explanation
With eight bits, a color channel can represent values from 0 through 255; the content uses 255 as the maximum intensity in its example.
- A
- 10
What additional idea is needed to represent a video, beyond representing a single image?
- A
A rule that all frames must have identical color values.
- B
A separate electrical wire for every frame.
- C
A unique MAC address for every pixel in every image.
- D
A sequence of images and information about when each frame should appear.
Correct answer
DA sequence of images and information about when each frame should appear.
Explanation
The content describes video as images shown in sequence, with timing information determining when each frame appears.
- A
- 11
What property makes a physical system useful for representing a binary bit?
- A
It must store a complete message without using any numbers.
- B
It can reliably exist in two distinct states that can be assigned 0 and 1.
- C
It must produce visible light whenever it changes state.
- D
It can continuously change among an unlimited number of states.
Correct answer
BIt can reliably exist in two distinct states that can be assigned 0 and 1.
Explanation
The content explains that a physical property with two distinct states can represent binary values by assigning one state to 0 and the other to 1.
- A
- 12
Which pairing matches the storage examples described in the content?
- A
RAM can use capacitor charge states, while a hard disk can use magnetic direction.
- B
Both RAM and hard disks store bits by displaying colored pixels.
- C
RAM uses magnetic direction, while a hard disk uses only capacitor charge.
- D
Both RAM and hard disks store bits by changing the length of a cable.
Correct answer
ARAM can use capacitor charge states, while a hard disk can use magnetic direction.
Explanation
The content gives charged and uncharged capacitors as an example for RAM, and different magnetic directions as an example for hard-disk storage.
- A
- 13
In the simplified voltage model described, how is a voltage of 6.2 volts interpreted?
- A
As a 1 only if the receiving computer stores it as a pixel.
- B
As an invalid value, because only zero volts can represent data.
- C
As a 0, because it is not exactly 5 volts.
- D
As a 1, because it is at least 5 volts.
Correct answer
DAs a 1, because it is at least 5 volts.
Explanation
In the content's simplified example, voltages greater than or equal to 5 volts represent 1, while voltages below 5 volts represent 0.
- A
- 14
How does the simplified model classify a voltage of 0.2 volts?
- A
As a 0, because it is below the 5-volt threshold.
- B
As a 1, because it is close to the 5-volt threshold.
- C
As neither value, because binary data cannot use voltage.
- D
As a 1, because every measurable voltage represents 1.
Correct answer
AAs a 0, because it is below the 5-volt threshold.
Explanation
The content's example assigns voltages below 5 volts to 0, so 0.2 volts is interpreted as 0.
- A
- 15
What does measuring a wire's voltage with respect to ground help determine in the example?
- A
Which color value belongs to the next image pixel.
- B
Which binary state the wire's voltage represents.
- C
Which network contains the computer's IP address.
- D
Which application is using the computer's memory.
Correct answer
BWhich binary state the wire's voltage represents.
Explanation
The content describes comparing a measured voltage level with a threshold to interpret it as a binary 1 or 0.
- A
- 16
How can two computers communicate binary data over a simple wire in the content's model?
- A
One computer changes the wire's voltage according to the bits, and the other reads those levels.
- B
One computer sends its entire memory through the wire without encoding it.
- C
The receiving computer changes the sender's stored data directly.
- D
Both computers independently assign random voltages to the wire.
Correct answer
AOne computer changes the wire's voltage according to the bits, and the other reads those levels.
Explanation
The sending hardware sets voltage levels to represent bits, and receiving hardware reads those levels and converts them back into data.
- A
- 17
Why are hardware components needed at both ends of a wired connection?
- A
One must set the signal levels, and the other must detect and interpret them.
- B
One must store the message permanently, and the other must erase it.
- C
Both must independently generate the same message before transmission.
- D
Both must translate every bit into a different IP address.
Correct answer
AOne must set the signal levels, and the other must detect and interpret them.
Explanation
The content describes hardware in the sending computer that sets the wire's voltage and hardware in the receiving computer that reads it.
- A
- 18
How does the content describe representing bits in a fiber-optic link?
- A
Magnetic north and south directions represent each bit in the glass.
- B
The number of connected routers represents each bit.
- C
The wire's voltage must be measured through the fiber.
- D
Light pulses can represent 1s, while the absence of a pulse can represent 0s.
Correct answer
DLight pulses can represent 1s, while the absence of a pulse can represent 0s.
Explanation
The content describes using light pulses in fiber optics to transmit data, with a pulse representing 1 and no pulse representing 0.
- A
- 19
What is modulation used for in the content's explanation of Wi-Fi?
- A
Dividing an image into pixels before it reaches a computer.
- B
Assigning a unique MAC address to every radio frequency.
- C
Encoding binary data in properties of radio waves, such as amplitude.
- D
Choosing which application receives data based on its port number.
Correct answer
CEncoding binary data in properties of radio waves, such as amplitude.
Explanation
The content describes modulation as a way to represent binary data using radio waves; for example, different amplitudes can indicate different bit values.
- A
- 20
How can assigning different frequencies to devices on a shared cable support simultaneous communication?
- A
The cable can store each device's data until all other devices are turned off.
- B
Different devices can use separate frequency channels to transmit at the same time.
- C
Each device can change the destination IP address of every other device.
- D
Different frequencies eliminate the need to represent data as signals.
Correct answer
BDifferent devices can use separate frequency channels to transmit at the same time.
Explanation
The content describes assigning devices different frequencies, allowing data to be transmitted simultaneously on distinct channels.
- A
- 21
Why is directly connecting every computer to every other computer impractical as a network grows?
- A
Each computer would need a separate connection and port for every other computer.
- B
Direct connections prevent computers from representing data in binary.
- C
A computer could communicate with only one other computer at a time.
- D
Each new computer would require a different kind of electrical signal.
Correct answer
AEach computer would need a separate connection and port for every other computer.
Explanation
In a fully connected arrangement, each computer needs links to all the others, so the required connections and ports grow rapidly.
- A
- 22
What basic network problem does a switch address?
- A
It stores every file sent between computers permanently.
- B
It gives each computer a separate physical connection to every router in the world.
- C
It lets multiple computers connect to one device instead of requiring every pair to be directly linked.
- D
It converts every application protocol into a different operating system.
Correct answer
CIt lets multiple computers connect to one device instead of requiring every pair to be directly linked.
Explanation
A switch provides a central connection point, reducing the need for a separate direct cable between every pair of computers.
- A
- 23
Why would sending every computer's data to every other computer be undesirable?
- A
The sender would lose its own MAC address immediately.
- B
Unintended computers would receive data not meant for them, raising privacy and security concerns.
- C
The computers would be unable to use electrical signals.
- D
The data would no longer be represented as binary.
Correct answer
BUnintended computers would receive data not meant for them, raising privacy and security concerns.
Explanation
The content points out that indiscriminately delivering data to all computers would expose information to devices that were not intended recipients.
- A
- 24
What role does a NIC play in the explanation of switching?
- A
It is an application protocol that formats email messages.
- B
It is hardware associated with a computer and has a MAC address used to identify it.
- C
It is a device that converts every packet into a video frame.
- D
It is a table that lists every IP route between networks.
Correct answer
BIt is hardware associated with a computer and has a MAC address used to identify it.
Explanation
The content describes each computer as having a network interface card with a MAC address that can be used to identify the device.
- A
- 25
What information is added to data so a switch can direct it toward the intended computer?
- A
A video timestamp, an image color, and the data.
- B
A list of every application running on the sender.
- C
A sequence of router names without any device addresses.
- D
A destination MAC address, along with a source MAC address and the data.
Correct answer
DA destination MAC address, along with a source MAC address and the data.
Explanation
The content describes wrapping data with source and destination MAC addresses so switching hardware can determine where to forward it.
- A
- 26
What does a switch do with a destination MAC address it already knows?
- A
It changes the destination MAC address into a video timestamp.
- B
It discards the frame because the destination is already recorded.
- C
It uses its MAC address table to send the frame through the associated port.
- D
It sends the frame only to the port from which it arrived.
Correct answer
CIt uses its MAC address table to send the frame through the associated port.
Explanation
The content explains that a switch records which MAC address is reachable through which port and can use that table to forward later frames.
- A
- 27
How can a switch learn which port leads to a particular MAC address?
- A
It can assign the same MAC address to every port.
- B
It can ask an application to provide the device's video frame rate.
- C
It can observe a device's response and associate that device's source MAC address with the port the response arrived on.
- D
It can infer the address from the color of the sender's screen.
Correct answer
CIt can observe a device's response and associate that device's source MAC address with the port the response arrived on.
Explanation
In the example, a device replies with its own MAC address, and the switch records that address against the port where the reply arrived.
- A
- 28
What does the switch do when it receives a frame for an unfamiliar destination MAC address in the multi-switch example?
- A
It permanently deletes the frame and the sender's address.
- B
It forwards the frame out its other ports, except the port that received it.
- C
It sends the frame only to the port that received it.
- D
It converts the destination MAC address into an application port number.
Correct answer
BIt forwards the frame out its other ports, except the port that received it.
Explanation
The content describes a switch forwarding a frame with an unknown destination through its other ports, while not sending it back through the incoming port.
- A
- 29
What is the purpose of a switch's MAC address table?
- A
To list the operating system's memory allocations.
- B
To store the text of every application-layer request.
- C
To record the color values of every image sent over the network.
- D
To associate MAC addresses with the ports through which their devices can be reached.
Correct answer
DTo associate MAC addresses with the ports through which their devices can be reached.
Explanation
The table described in the content records MAC addresses and their corresponding switch ports, helping the switch forward frames.
- A
- 30
Why is a different addressing approach needed when communication spans many networks?
- A
Switches cannot transmit data using binary signals.
- B
MAC addresses cannot be used on any local network.
- C
Forwarding by MAC address alone could cause traffic to be broadcast across many devices and requires knowing remote MAC addresses.
- D
A remote computer cannot have a unique identity.
Correct answer
CForwarding by MAC address alone could cause traffic to be broadcast across many devices and requires knowing remote MAC addresses.
Explanation
The content explains that widespread forwarding based only on MAC addresses can waste resources, and a sender generally does not know a remote computer's MAC address.
- A
- 31
What does a hierarchical address such as network C and device 8 help express?
- A
The application protocol and the message's encoding scheme.
- B
The voltage level used by each wire along the route.
- C
Only the device's color and the number of pixels in its display.
- D
Both the network containing a device and the device's identity within that network.
Correct answer
DBoth the network containing a device and the device's identity within that network.
Explanation
The content introduces addresses such as C.8 to identify a device in relation to its network, providing a hierarchical form of addressing.
- A
- 32
What is the main difference between the roles of a switch and a router in the content's model?
- A
A switch routes between continents, while a router connects only individual pixels.
- B
A switch formats email, while a router converts text into binary.
- C
A switch assigns application ports, while a router stores image pixels.
- D
A switch forwards using MAC addresses, while a router uses IP addressing to guide traffic between networks.
Correct answer
DA switch forwards using MAC addresses, while a router uses IP addressing to guide traffic between networks.
Explanation
The content distinguishes switches, which use MAC addresses, from routers, which help forward traffic toward IP-addressed networks.
- A
- 33
Why are IP addresses useful for traffic crossing multiple networks?
- A
They replace the need to send any information about a destination.
- B
They ensure every device worldwide has the same address.
- C
Their network component can help routers move traffic toward the destination without checking every device individually.
- D
They let a switch identify the color of the data being transmitted.
Correct answer
CTheir network component can help routers move traffic toward the destination without checking every device individually.
Explanation
The content presents IP addressing as a hierarchical scheme that lets routers reason about destination networks and avoid checking every device across the larger network.
- A
- 34
If a computer is sending to a destination outside its own network, which destination MAC address does the content say it should use for the first local delivery?
- A
The MAC address of every computer on the local network.
- B
The MAC address of the remote destination computer.
- C
The MAC address of its router.
- D
A MAC address chosen from the application protocol.
Correct answer
CThe MAC address of its router.
Explanation
The computer sends the frame to its router's MAC address when the destination is outside the local network, allowing the router to handle forwarding onward.
- A
- 35
If a computer is sending to another device on the same local network, which MAC address is used as the frame's destination in the content's example?
- A
The MAC address of the destination device.
- B
The sender's own MAC address in every case.
- C
The MAC address of a remote network's router.
- D
A MAC address representing the application protocol.
Correct answer
AThe MAC address of the destination device.
Explanation
For a local destination, the content says the sender uses the destination device's MAC address so the switch can forward the frame locally.
- A
- 36
What is the purpose of a router's routing table?
- A
To associate every image pixel with a different cable.
- B
To store all data packets until the network is shut down.
- C
To record how to reach destination networks, including a suitable outgoing port or next step.
- D
To list which application owns each computer's MAC address.
Correct answer
CTo record how to reach destination networks, including a suitable outgoing port or next step.
Explanation
The content describes a routing table as information about how to reach networks, including which port or route to use.
- A
- 37
How can routers learn about routes to networks beyond their immediate connections?
- A
They read the names of all files stored on remote computers.
- B
They assign a new MAC address to every remote device.
- C
They communicate with other routers and exchange information about reachable networks.
- D
They ask every application on the network to transmit the same message.
Correct answer
CThey communicate with other routers and exchange information about reachable networks.
Explanation
The content explains that routers communicate with each other and use those exchanges to maintain information about how other networks can be reached.
- A
- 38
Why can routers use network-level information to avoid checking every device in a remote network?
- A
The destination's network address indicates which network the traffic should approach.
- B
A destination MAC address always identifies every intervening network.
- C
The source computer already knows every remote device's physical location.
- D
Every router stores the full contents of every remote computer's memory.
Correct answer
AThe destination's network address indicates which network the traffic should approach.
Explanation
A hierarchical IP address identifies a destination network, so routers can forward traffic toward that network instead of checking every device along the way.
- A
- 39
What does the content say happens to MAC addressing when a router forwards a frame onward?
- A
The router removes all IP addresses and replaces them with application names.
- B
The original source computer's MAC address must remain the source on every link.
- C
The router sends the next frame using its own source MAC address on that link.
- D
The destination computer's MAC address becomes the source on every link.
Correct answer
CThe router sends the next frame using its own source MAC address on that link.
Explanation
The content describes the router changing the source MAC address when it sends data onward, since the router is the sender on the next link.
- A
- 40
What problem does ARP address in the local-network example?
- A
Finding a device's MAC address when its IP address is known.
- B
Finding an application's source code from its port number.
- C
Finding the color intensity of a pixel from its sequence number.
- D
Finding the voltage threshold used by a remote router.
Correct answer
AFinding a device's MAC address when its IP address is known.
Explanation
The content presents ARP as a way to discover the MAC address associated with a known IP address.
- A
- 41
How does the content's simplified ARP example signal that the destination MAC address is not yet known?
- A
It leaves out both the source and destination addresses.
- B
It uses a reserved all-zero MAC value to indicate a broadcast-style request.
- C
It sends the data only to the router's application port.
- D
It fills the destination field with the sender's IP address.
Correct answer
BIt uses a reserved all-zero MAC value to indicate a broadcast-style request.
Explanation
The simplified example uses an all-zero destination MAC value as a special marker that the switch treats as a broadcast-style request.
- A
- 42
What information does an ARP-style request ask devices on the local network to provide?
- A
Which router has the highest voltage on its output cable.
- B
Which device can store the sender's full operating system.
- C
Which device has the specified IP address and what its MAC address is.
- D
Which application can convert the request into a video.
Correct answer
CWhich device has the specified IP address and what its MAC address is.
Explanation
The content describes broadcasting a request that asks which device has a particular IP address, after which that device can reply with its MAC address.
- A
- 43
Why is sending a very large file as one uninterrupted unit risky in the content's example?
- A
A switch must store the file permanently before forwarding it.
- B
A large file cannot contain any binary data.
- C
If an error corrupts part of it, retransmitting the entire file wastes time and network capacity.
- D
A router cannot read a destination IP address in a large file.
Correct answer
CIf an error corrupts part of it, retransmitting the entire file wastes time and network capacity.
Explanation
The content explains that corruption in a very large transmission could force the sender to retransmit all of it, wasting resources.
- A
- 44
How does dividing a large file into smaller chunks improve recovery from transmission errors?
- A
Each chunk no longer needs any destination information.
- B
Only the corrupted chunk needs to be requested again.
- C
The sender can avoid checking whether any data was corrupted.
- D
The receiver can ignore the order and discard every correct chunk.
Correct answer
BOnly the corrupted chunk needs to be requested again.
Explanation
When data is divided into chunks, the content's example allows the receiver to request only a corrupted chunk rather than the whole file.
- A
- 45
What purpose does a sequence number serve when data is divided into chunks?
- A
It helps the receiver identify and put the chunks in the correct order.
- B
It replaces the destination IP address in every frame.
- C
It tells the switch which application protocol created the cable.
- D
It identifies the color of each bit in a chunk.
Correct answer
AIt helps the receiver identify and put the chunks in the correct order.
Explanation
The content describes attaching sequence numbers to chunks so the receiver can identify and reassemble them in order.
- A
- 46
According to the content, what can an error-detection method tell a receiver about corrupted data?
- A
It proves that no errors occurred if the destination MAC address is known.
- B
It always identifies every flipped bit and automatically restores it.
- C
It can indicate that the data is corrupted without necessarily identifying exactly which bits flipped.
- D
It identifies the application that wrote each individual bit.
Correct answer
CIt can indicate that the data is corrupted without necessarily identifying exactly which bits flipped.
Explanation
The content says an error can be detected even though the receiver may not know exactly which bits changed.
- A
- 47
Why does the content describe packets as allowing different computers to take turns sending data?
- A
Packets permanently reserve a network for the first computer that sends.
- B
Packets let every computer transmit on every link at exactly the same voltage.
- C
Packets eliminate the need for switches, routers, and destination addresses.
- D
Data can be transmitted in chunks rather than requiring one sender to occupy the link continuously for a whole large file.
Correct answer
DData can be transmitted in chunks rather than requiring one sender to occupy the link continuously for a whole large file.
Explanation
The content explains that dividing data into packets allows transmissions to occur in chunks, so one large transfer need not occupy the link continuously.
- A
- 48
Why is a sequence of binary bits not necessarily enough for a receiving application to understand what the data means?
- A
A sequence of bits always means an image, regardless of its contents.
- B
The receiving computer cannot read any data that crossed a router.
- C
Binary bits can represent only network addresses, never other information.
- D
The receiver also needs agreed rules for interpreting the data's format and purpose.
Correct answer
DThe receiver also needs agreed rules for interpreting the data's format and purpose.
Explanation
The content notes that the same bits could represent different kinds of information, so an agreed application-level format helps the receiver interpret them.
- A
- 49
What does an application-layer protocol specify in the content's explanation?
- A
Rules and a format for structuring application data so the receiver can interpret it.
- B
The exact voltage used by every router on the internet.
- C
The physical length of every cable between two computers.
- D
The amount of memory reserved for each computer's operating system.
Correct answer
ARules and a format for structuring application data so the receiver can interpret it.
Explanation
Application-layer protocols define how application data is formatted so another computer can interpret and respond to it.
- A
- 50
What is HTTP used for in the examples?
- A
Choosing which physical cable connects two computers.
- B
Formatting requests and responses associated with web communication.
- C
Representing a pixel's red, green, and blue intensities.
- D
Discovering a local device's MAC address from its IP address.
Correct answer
BFormatting requests and responses associated with web communication.
Explanation
The content uses HTTP as an example of a protocol that structures web requests and related data.
- A
- 51
What application task is SMTP associated with in the content?
- A
Formatting and transmitting email-related messages.
- B
Learning which MAC address belongs to a local IP address.
- C
Converting voltage levels into light pulses.
- D
Dividing a video into timestamped images.
Correct answer
AFormatting and transmitting email-related messages.
Explanation
The content identifies SMTP as a protocol used for mail and describes it as specifying a format for mail-related data.
- A
- 52
Why might a server reject application data that does not follow the format both sides expect?
- A
The sender's MAC address automatically becomes invalid.
- B
The server must reject all data that was converted into binary.
- C
The server may be unable to interpret fields that violate the agreed protocol rules.
- D
The data must have been sent over a fiber-optic link.
Correct answer
CThe server may be unable to interpret fields that violate the agreed protocol rules.
Explanation
The content explains that communicating applications agree on rules; if data is sent in an unexpected format, the receiver may not understand it.
- A
- 53
What is the browser's role in creating an ordinary web request, according to the content?
- A
It routes every packet between all internet networks itself.
- B
It changes the server's operating system memory directly.
- C
It assigns a unique MAC address to every web page.
- D
It constructs the protocol-formatted request so the user does not have to write it manually.
Correct answer
DIt constructs the protocol-formatted request so the user does not have to write it manually.
Explanation
The content says a browser creates the appropriate request format when a user visits a website, rather than requiring the user to write the request manually.
- A
- 54
Why does an operating system sit between applications and computer hardware in the content's explanation?
- A
It stores all application data in a single shared area with no restrictions.
- B
It ensures every application directly controls all hardware at once.
- C
It mediates access to hardware and helps prevent programs from interfering with one another's resources.
- D
It converts every program into a network switch.
Correct answer
CIt mediates access to hardware and helps prevent programs from interfering with one another's resources.
Explanation
The content explains that direct hardware access could let one program access another's data or monopolize resources, so the operating system manages access.
- A
- 55
What could go wrong if applications had unrestricted direct access to memory?
- A
Every memory address would become a network port.
- B
Applications would no longer be able to represent information as numbers.
- C
The computer would be unable to transmit any voltage signal.
- D
One application could read or corrupt another application's data.
Correct answer
DOne application could read or corrupt another application's data.
Explanation
The content gives the risk that one program could access or corrupt memory belonging to another program if hardware access were unrestricted.
- A
- 56
How does the operating system help share a processor among multiple programs?
- A
It turns each program into a separate network router.
- B
It uses scheduling rules to assign programs time to run.
- C
It gives every program permanent control of the processor.
- D
It prevents any program from executing instructions.
Correct answer
BIt uses scheduling rules to assign programs time to run.
Explanation
The content describes the operating system assigning time slots so multiple programs can use processor resources appropriately.
- A
- 57
What happens when an application asks the operating system for memory?
- A
The application must convert the requested memory into an IP address.
- B
The operating system sends the request to every switch on the network.
- C
The operating system can locate memory and allocate it to the application.
- D
The application automatically receives all memory in the computer.
Correct answer
CThe operating system can locate memory and allocate it to the application.
Explanation
The content describes an application requesting memory from the operating system, which then finds and allocates memory for it.
- A
- 58
In the described flow, what does an application or browser do when it needs to send data to an IP address?
- A
It bypasses the operating system and directly controls every network cable.
- B
It turns the IP address into a sequence of image pixels and stops.
- C
It asks the destination computer to change the sender's memory.
- D
It asks the operating system to send the data to that destination.
Correct answer
DIt asks the operating system to send the data to that destination.
Explanation
The content describes the application requesting network transmission through the operating system rather than directly controlling the hardware.
- A
- 59
What is kernel memory in the content's simplified model?
- A
The table a switch uses to learn MAC addresses.
- B
A memory area shared without restriction by every application.
- C
A storage area inside every Ethernet cable.
- D
Memory associated with the operating system, kept separate from ordinary application memory.
Correct answer
DMemory associated with the operating system, kept separate from ordinary application memory.
Explanation
The content describes kernel memory as memory for the operating system, separate from application memory.
- A
- 60
What role does the operating system have in preparing application data for network transmission?
- A
It assigns every pixel a different router and removes all address information.
- B
It converts the application data directly into a MAC address only.
- C
It can divide data into packets and add IP-address information as part of the process.
- D
It replaces the application's message with the computer's entire memory.
Correct answer
CIt can divide data into packets and add IP-address information as part of the process.
Explanation
The content describes the operating system preparing outgoing data, including splitting it into packets and adding source and destination IP information.
- A
- 61
What does the NIC contribute when preparing data to travel on a local link?
- A
It decides how an email message should be formatted by SMTP.
- B
It stores the destination computer's complete application memory.
- C
It can add link-level MAC-address information and transmit the resulting frame as a signal.
- D
It assigns the operating system's processor time slots.
Correct answer
CIt can add link-level MAC-address information and transmit the resulting frame as a signal.
Explanation
The content describes the NIC as handling MAC-address information and sending data over a physical or wireless link.
- A
- 62
What is the purpose of DMA in the NIC example?
- A
It lets a switch schedule applications on a processor.
- B
It assigns different IP addresses to every application.
- C
It allows the NIC to access data in kernel memory directly.
- D
It converts a MAC address into a video timestamp.
Correct answer
CIt allows the NIC to access data in kernel memory directly.
Explanation
The content says the NIC can access kernel memory through direct memory access, allowing it to obtain data for transmission.
- A
- 63
Why might a NIC maintain a queue for outgoing data?
- A
A queue changes all packets into permanent memory allocations.
- B
A queue is required to turn an IP address into an image.
- C
Many applications may submit data, so the NIC needs to send items in turn rather than all at once.
- D
A queue ensures every application uses the same port number.
Correct answer
CMany applications may submit data, so the NIC needs to send items in turn rather than all at once.
Explanation
The content explains that multiple applications may send data to the NIC, which maintains a queue and forwards items one after another.
- A
- 64
How can a receiving computer use a port number in the content's explanation?
- A
It can use the port to replace the destination network address.
- B
It can use the port-to-application mapping to deliver data to the intended application.
- C
It can use the port to identify the cable's physical length.
- D
It can use the port to determine the color of each transmitted pixel.
Correct answer
BIt can use the port-to-application mapping to deliver data to the intended application.
Explanation
The content describes ports as logical numbers mapped to applications, allowing received data to be delivered to the appropriate application.
- A
- 65
Which sequence best represents the broad path described for data sent by a web application?
- A
The switch formats the email, the application assigns MAC addresses, and the NIC allocates kernel memory.
- B
The NIC writes the application request, the router schedules the processor, and the operating system changes pixel colors.
- C
The application formats data, the operating system prepares network packets, and the NIC sends link-level signals.
- D
The operating system sends raw data directly to every remote device without using a NIC.
Correct answer
CThe application formats data, the operating system prepares network packets, and the NIC sends link-level signals.
Explanation
The content describes application data being formatted by an application, prepared for transmission by the operating system, and sent over a link by the NIC.
- A
- 66
What is the distinction between a packet and a frame in the content's simplified explanation?
- A
A packet identifies a computer's memory, while a frame identifies its processor schedule.
- B
A packet is a physical cable, while a frame is an application protocol.
- C
A packet is a chunk of data for transmission, while a frame includes link-level information such as MAC addresses.
- D
A packet is an image, while a frame is the operating system's kernel.
Correct answer
CA packet is a chunk of data for transmission, while a frame includes link-level information such as MAC addresses.
Explanation
The content uses packet for a chunk of data and describes adding MAC-address information at the NIC to form a frame for transmission on a link.
- A

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