1. Home
  2. Explore
  3. Computer Science
  4. Computer Networking Basics

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Computer Networking Basics

  • 88Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Networking Foundations

What is a computer network protocol?

88 questions

  1. 1

    What is a computer network protocol?

    Model answer

    A protocol is a defined set of standards that computers must follow to communicate properly.

    Explanation

    Protocols establish shared rules for sending, receiving, interpreting, and responding to messages.

  2. 2

    What does computer networking encompass?

    Model answer

    Computer networking encompasses how computers communicate, including transmitting signals, using understandable protocols, and repeating messages that were not fully delivered.

    Explanation

    Networking coordinates communication between systems in ways that resemble human communication rules.

  3. 3

    Why are layered models useful for understanding computer networking?

    Model answer

    Layered models divide networking into related functions so each layer can perform a specific role while supporting the layers above it.

    Explanation

    Networking requires different protocols for tasks such as moving data across one cable and routing it across the world.

  4. 4

    How do protocols at different network layers work together?

    Model answer

    Protocols at lower layers carry and support the protocols above them so data can travel from one location to another.

    Explanation

    For example, a local-link protocol and a global routing protocol operate together to support internet communication.

  5. 5

    Why are networking skills important for IT support specialists?

    Model answer

    Networking skills help IT specialists understand how systems interact and troubleshoot communication problems between computers, services, and networks.

    Explanation

    Many IT problems involve interactions between multiple systems rather than a single computer.

  6. 6

    What is the difference between a client application and a server application?

    Model answer

    A client application initiates a request for data, while a server application responds to that request.

    Explanation

    A web browser and an email program are examples of clients, while web and email services are examples of servers.

  7. 7

    Can one node run multiple client or server applications at the same time?

    Model answer

    Yes. A single node can run multiple applications, such as an email client and a web browser, or multiple server applications.

    Explanation

    Applications are distinguished by their network roles even when they run on the same physical computer.

  8. 8

    Why can a node be described as both a client and a server?

    Model answer

    A node can provide data in one interaction and request data in another, so most nodes perform both roles at different times.

    Explanation

    A computer may primarily act as one role while occasionally performing the other.

  9. 9

    Why is a device usually classified primarily as a client or server even if it can perform both roles?

    Model answer

    The classification usually reflects the device's primary purpose on the network.

    Explanation

    An email server may also query a DNS server, but it is primarily classified as a server because it mainly provides email data.

  10. 10

    What is an internetwork?

    Model answer

    An internetwork is a collection of networks connected together through routers.

    Explanation

    The internet is the most famous example of an internetwork.

  11. 11

    Which five-layer model is emphasized in the networking material, and which other major model is introduced?

    Model answer

    The material emphasizes the TCP/IP five-layer model and also introduces the seven-layer OSI model.

    Explanation

    Both models describe the different layers involved in computer communication.

  12. 12

    What is the purpose of the physical layer?

    Model answer

    The physical layer defines the physical devices, cables, connectors, and signal specifications used to transmit bits.

    Explanation

    It represents the hardware and signals that connect computers at the lowest network level.

  13. 13

    What is another name for the data link layer?

    Model answer

    The data link layer is also called the network interface layer or the network access layer.

    Explanation

    Different sources use these names for the same layer.

  14. 14

    What is the purpose of the data link layer?

    Model answer

    The data link layer defines a common way to interpret physical signals so devices on the same link can communicate.

    Explanation

    Ethernet is the most common data link protocol discussed in the material.

  15. 15

    What is the purpose of the network layer?

    Model answer

    The network layer delivers data across multiple interconnected networks.

    Explanation

    It uses routers and protocols such as IP to move data beyond a single local link.

  16. 16

    What is the most common protocol at the network layer?

    Model answer

    The most common network-layer protocol is IP, or Internet Protocol.

    Explanation

    IP is central to the internet and to most small networks.

  17. 17

    What is the purpose of the transport layer?

    Model answer

    The transport layer delivers data to the correct client or server application running on a node.

    Explanation

    The network layer identifies the destination node, while the transport layer identifies the destination program.

  18. 18

    What are the two transport protocols emphasized in the material?

    Model answer

    The two transport protocols are TCP, or Transmission Control Protocol, and UDP, or User Datagram Protocol.

    Explanation

    Both protocols can use IP to move data between nodes.

  19. 19

    What is the key difference between TCP and UDP?

    Model answer

    TCP provides mechanisms for reliable delivery, while UDP does not guarantee reliable delivery.

    Explanation

    TCP and IP are different protocols with different purposes even though they are often mentioned together as TCP/IP.

  20. 20

    What is the purpose of the application layer?

    Model answer

    The application layer contains application-specific protocols, including protocols for web browsing and email.

    Explanation

    These protocols are often the ones users interact with most directly.

  21. 21

    How does the package-delivery analogy represent the five network layers?

    Model answer

    The physical layer is the truck and roads, the data link layer handles movement between intersections, the network layer selects roads between addresses, the transport layer identifies the recipient, and the application layer is the package contents.

    Explanation

    The analogy shows how different layers contribute distinct functions to complete delivery.

  22. 22

    What are the two major categories of wired networking cables?

    Model answer

    The two major categories are copper cables and fiber-optic cables.

    Explanation

    Copper cables transmit using electrical signals, while fiber cables transmit using light.

  23. 23

    How do copper cables represent binary data?

    Model answer

    Copper cables represent binary data by changing the voltage between defined ranges, which the receiver interprets as ones and zeros.

    Explanation

    The receiving system translates the voltage changes into data.

  24. 24

    What are the common categories of copper twisted-pair networking cables?

    Model answer

    Common categories include Cat5, Cat5e, and Cat6.

    Explanation

    The category indicates different physical specifications that affect performance.

  25. 25

    How can the arrangement of twisted pairs affect a cable's performance?

    Model answer

    The arrangement and number of twists affect usable distance, transfer rate, and resistance to outside interference.

    Explanation

    Cables that look similar externally can have significantly different internal performance characteristics.

  26. 26

    Why has Cat5e largely replaced Cat5?

    Model answer

    Cat5e reduces crosstalk, making transmission more reliable and reducing the need for retransmission.

    Explanation

    Fewer retransmissions allow more data to be transferred in the same amount of time.

  27. 27

    What is crosstalk?

    Model answer

    Crosstalk occurs when an electrical pulse on one wire is accidentally detected on another wire.

    Explanation

    The receiving device may misinterpret the data, causing a network error.

  28. 28

    How does Cat6 differ from Cat5e?

    Model answer

    Cat6 uses stricter specifications to reduce crosstalk, allowing faster and more reliable transmission, but it is more expensive and has a shorter maximum distance at higher speeds.

    Explanation

    Cat6 improves signal quality through its internal arrangement but introduces distance and cost trade-offs.

  29. 29

    What is a fiber-optic cable?

    Model answer

    A fiber-optic cable contains thin glass optical fibers that carry pulses of light representing binary data.

    Explanation

    The fibers are approximately the width of a human hair.

  30. 30

    Why is fiber useful in environments with electromagnetic interference?

    Model answer

    Fiber uses light rather than electrical voltage, so electromagnetic interference that affects copper signals does not affect it in the same way.

    Explanation

    This makes fiber suitable for electrically noisy environments.

  31. 31

    Compare fiber and copper in terms of speed, distance, cost, and durability.

    Model answer

    Fiber generally supports higher speeds and longer distances with less data loss, but it is more expensive and fragile than copper.

    Explanation

    Copper remains common because it is less costly and practical for many offices and homes.

  32. 32

    Where are fiber cables more commonly encountered than in homes or offices?

    Model answer

    Fiber cables are more commonly encountered in computer data centers.

    Explanation

    Data centers benefit from fiber's speed, distance, and resistance to interference.

  33. 33

    What is a point-to-point network connection?

    Model answer

    A point-to-point connection links exactly one device at each end of a link.

    Explanation

    Point-to-point links are simple but are not sufficient by themselves for connecting very large numbers of computers.

  34. 34

    What is a hub, and at which layer does it operate?

    Model answer

    A hub is a physical-layer device that connects multiple computers and sends incoming data to all connected devices.

    Explanation

    Each connected system must decide whether the data is intended for it.

  35. 35

    What is a collision domain?

    Model answer

    A collision domain is a network segment in which only one device can successfully communicate at a time.

    Explanation

    Simultaneous transmissions can interfere with one another and cause collisions.

  36. 36

    Why do hubs create network collisions and reduce performance?

    Model answer

    Because hubs send traffic to every connected device, multiple devices may transmit simultaneously, causing electrical interference and requiring retransmission after a quiet period.

    Explanation

    This produces noise, waiting, and lower network throughput.

  37. 37

    What is a network switch, and at which layer does it operate?

    Model answer

    A network switch is a data-link-layer device that connects multiple devices and forwards Ethernet data only to the intended recipient.

    Explanation

    Switches were originally called switching hubs.

  38. 38

    How does a switch reduce collision domains compared with a hub?

    Model answer

    A switch examines Ethernet data and sends it only to the destination system instead of sending it to every connected system.

    Explanation

    This reduces unnecessary transmissions and can greatly increase overall throughput.

  39. 39

    What is a router, and at which layer does it operate?

    Model answer

    A router is a network-layer device that forwards data between independent networks.

    Explanation

    Routers inspect IP data to determine where traffic should go.

  40. 40

    What information do routers use to forward traffic?

    Model answer

    Routers use internal routing tables containing information about paths between networks.

    Explanation

    These tables allow routers to select destinations across interconnected networks.

  41. 41

    What is the primary function of a typical home or small-office router?

    Model answer

    It forwards traffic from the local network to the Internet Service Provider.

    Explanation

    These routers generally have less detailed routing information than core internet routers.

  42. 42

    How do core ISP routers differ from home or small-office routers?

    Model answer

    Core ISP routers handle much more traffic and complexity and maintain many connections to other routers.

    Explanation

    They form part of the backbone of the internet and make global routing decisions.

  43. 43

    What is BGP, and what role does it play?

    Model answer

    BGP, or Border Gateway Protocol, allows routers to share routing information and learn efficient paths for forwarding traffic.

    Explanation

    BGP helps core routers guide traffic across the large and complex internet.

  44. 44

    What is a bit?

    Model answer

    A bit is the smallest representation of data a computer can understand, with a value of one or zero.

    Explanation

    Bits transmitted at the physical layer form the data structures used by higher layers.

  45. 45

    What is modulation in computer networking?

    Model answer

    Modulation is the process of varying a signal, such as the voltage on a cable, to represent binary data.

    Explanation

    For computer networks, voltage-based modulation is more specifically called line coding.

  46. 46

    What is line coding?

    Model answer

    Line coding is the use of electrical signal states to represent ones and zeros on a computer network.

    Explanation

    It allows devices at both ends of a link to interpret the transmitted electrical charge consistently.

  47. 47

    What is twisted-pair cable, and why are its wires twisted?

    Model answer

    Twisted-pair cable contains pairs of copper wires twisted together; the twisting helps reduce electromagnetic interference and crosstalk.

    Explanation

    Each pair acts as a conduit for information.

  48. 48

    How many wires and twisted pairs are inside a standard Cat6 cable?

    Model answer

    A standard Cat6 cable contains eight wires arranged as four twisted pairs.

    Explanation

    The number of pairs actively used depends on the transmission technology.

  49. 49

    What is duplex communication?

    Model answer

    Duplex communication allows information to flow in both directions across a cable.

    Explanation

    A telephone conversation is an example of duplex communication.

  50. 50

    What is simplex communication?

    Model answer

    Simplex communication allows data to flow in only one direction.

    Explanation

    A baby monitor transmitting sound from one side to the other is an example.

  51. 51

    What is full-duplex communication?

    Model answer

    Full-duplex communication allows both devices to transmit at the same time, using separate wire pairs for each direction.

    Explanation

    Twisted-pair cables reserve one or more pairs for each direction.

  52. 52

    What is half-duplex communication?

    Model answer

    Half-duplex communication allows transmission in both directions, but only one device can transmit at a time.

    Explanation

    A faulty connection may cause a network link to operate as half duplex.

  53. 53

    What are RJ45 plugs and network ports used for?

    Model answer

    An RJ45 plug terminates a twisted-pair cable, and an RJ45 network port provides the connection for that plug on a network device.

    Explanation

    RJ45 is the most common plug and port specification in computer networking.

  54. 54

    What do the link and activity LEDs on a network port indicate?

    Model answer

    The link light indicates a functioning physical connection between powered devices, while the activity light flashes when data is being transmitted.

    Explanation

    Some hardware combines these indicators or uses them to show additional information such as link speed.

  55. 55

    What is a patch panel?

    Model answer

    A patch panel is a device containing many network ports that organizes the endpoints of cable runs but performs no other network processing.

    Explanation

    Additional cables connect the patch panel to switches or routers.

  56. 56

    Why is Ethernet important to higher network layers?

    Model answer

    Ethernet abstracts the physical hardware so the network, transport, and application layers can operate without needing to know whether the connection uses copper, fiber, or wireless technology.

    Explanation

    The data link layer handles the details of sending data across the individual link.

  57. 57

    When was Ethernet first introduced and when was its first full standard published?

    Model answer

    Ethernet was first introduced in 1980, and its first fully published standard appeared in 1983.

    Explanation

    Later changes mainly addressed increasing bandwidth requirements.

  58. 58

    What problem did CSMA/CD address?

    Model answer

    CSMA/CD addressed collisions that occurred when multiple devices shared a collision domain and transmitted simultaneously.

    Explanation

    It was especially important before switches were widely available.

  59. 59

    What does CSMA/CD stand for?

    Model answer

    CSMA/CD stands for carrier sense multiple access with collision detection.

    Explanation

    The technique determines when a channel is available and detects simultaneous transmissions.

  60. 60

    How does CSMA/CD operate when a network segment is idle?

    Model answer

    A node senses that no data is being transmitted and then considers the segment available for sending.

    Explanation

    Carrier sensing helps devices avoid transmitting over existing traffic.

  61. 61

    What happens when CSMA/CD detects a collision?

    Model answer

    The devices involved stop transmitting, wait for random intervals, and then attempt to transmit again.

    Explanation

    Random delays reduce the chance that the same devices will collide again.

  62. 62

    What is a MAC address?

    Model answer

    A MAC address is a globally unique identifier assigned to an individual network interface.

    Explanation

    Ethernet uses MAC addresses to identify the sender and intended recipient of a frame.

  63. 63

    How is a MAC address normally represented?

    Model answer

    A MAC address is a 48-bit number normally written as six groups of two hexadecimal digits.

    Explanation

    Each group is also called an octet because it represents eight bits.

  64. 64

    What is hexadecimal, and why is it used in MAC addresses?

    Model answer

    Hexadecimal is a base-16 numbering system using digits 000 through 999 and letters AAA through FFF; it represents binary values more compactly.

    Explanation

    The letters represent the values 101010 through 151515.

  65. 65

    What is an octet in computer networking?

    Model answer

    An octet is a value represented by 888 bits, equivalent to two hexadecimal digits.

    Explanation

    A MAC address contains six octets.

  66. 66

    How many possible MAC addresses are there?

    Model answer

    There are 2482^{48}248 possible MAC addresses, or 281,474,976,710,656281,474,976,710,656281,474,976,710,656 unique possibilities.

    Explanation

    The large address space supports globally unique identifiers for network interfaces.

  67. 67

    What is the OUI portion of a MAC address?

    Model answer

    The first three octets form the Organizationally Unique Identifier, which identifies the hardware manufacturer.

    Explanation

    The IEEE assigns OUIs to manufacturers.

  68. 68

    How are the final three octets of a MAC address assigned?

    Model answer

    The manufacturer assigns the final three octets, ensuring that each complete address is assigned only once.

    Explanation

    This assignment preserves global uniqueness within the manufacturer's addresses.

  69. 69

    What is a unicast Ethernet transmission?

    Model answer

    A unicast transmission is intended for one receiving MAC address.

    Explanation

    Although the frame may be visible across a collision domain, only the intended device processes it.

  70. 70

    How does Ethernet identify a unicast destination?

    Model answer

    If the least significant bit in the first octet of the destination MAC address is zero, the frame is unicast.

    Explanation

    The destination address identifies the single intended recipient.

  71. 71

    What is a multicast Ethernet transmission?

    Model answer

    A multicast transmission is sent across the local network segment and accepted only by devices configured for the relevant multicast address or addresses.

    Explanation

    Multicast acceptance depends on configured criteria rather than only a device's individual hardware address.

  72. 72

    How does Ethernet identify a multicast destination?

    Model answer

    If the least significant bit in the first octet of the destination MAC address is one, the frame is multicast.

    Explanation

    This bit distinguishes multicast frames from unicast frames at the Ethernet level.

  73. 73

    What is an Ethernet broadcast transmission?

    Model answer

    A broadcast transmission is delivered to every device on a local area network.

    Explanation

    Broadcasting allows devices to learn information about other devices on the LAN.

  74. 74

    What destination address is used for an Ethernet broadcast?

    Model answer

    The Ethernet broadcast address consists of all hexadecimal FFF values.

    Explanation

    This special destination identifies every device on the LAN.

  75. 75

    What is an Ethernet frame?

    Model answer

    An Ethernet frame is a structured collection of information used to transmit data at the Ethernet level.

    Explanation

    Frames organize bits into fields that network interfaces can interpret.

  76. 76

    How does an Ethernet frame relate to the general term data packet?

    Model answer

    A data packet is a general term for a set of binary data sent across a network, while an Ethernet frame is that data organized according to Ethernet's specific format.

    Explanation

    The term data packet is not tied to one layer or technology.

  77. 77

    What is the purpose and size of the Ethernet preamble?

    Model answer

    The preamble is 888 bytes, or 646464 bits, long and helps separate frames and synchronize the receiving interface's clock.

    Explanation

    The first seven bytes alternate ones and zeros, while the final byte is the start frame delimiter.

  78. 78

    What is the Start Frame Delimiter, or SFD?

    Model answer

    The SFD is the final byte of the preamble and signals that the actual Ethernet frame contents are about to begin.

    Explanation

    It tells the receiver that the synchronization portion is complete.

  79. 79

    Which addressing fields follow the Ethernet preamble?

    Model answer

    The destination MAC address is followed by the source MAC address.

    Explanation

    Each MAC address is 484848 bits, or 666 bytes, long.

  80. 80

    What is the purpose of the EtherType field?

    Model answer

    The 161616-bit EtherType field identifies the protocol carried in the frame's contents.

    Explanation

    It helps the receiving system determine how to interpret the payload.

  81. 81

    What is a VLAN, and how does a VLAN header affect frame delivery?

    Model answer

    A VLAN is a Virtual LAN that creates multiple logical LANs on shared physical equipment; a tagged frame is delivered only through switch interfaces configured for that tag.

    Explanation

    VLANs can segregate traffic such as IP-phone traffic and desktop traffic.

  82. 82

    What is the payload of an Ethernet frame?

    Model answer

    The payload is the actual data being transported, excluding the frame's headers.

    Explanation

    It can contain data from higher layers such as IP, transport, and application data.

  83. 83

    What is the traditional size range of an Ethernet frame payload?

    Model answer

    A traditional Ethernet payload ranges from 464646 to 5,0005{,}0005,000 bytes.

    Explanation

    The payload carries the higher-layer data being transmitted.

  84. 84

    What is the frame check sequence?

    Model answer

    The frame check sequence is a 444-byte, or 323232-bit, checksum value placed at the end of an Ethernet frame.

    Explanation

    It is used to check whether the frame was corrupted during transmission.

  85. 85

    What is a cyclical redundancy check?

    Model answer

    A cyclical redundancy check, or CRC, is a mathematical transformation using polynomial division to produce a checksum representing a larger set of data.

    Explanation

    The same data should produce the same CRC checksum.

  86. 86

    How does Ethernet use CRC to detect corrupted data?

    Model answer

    The sender calculates a CRC and places it in the frame check sequence; the receiver recalculates the CRC and compares the result with the received checksum.

    Explanation

    A mismatch indicates that data was lost or corrupted during transmission.

  87. 87

    What happens when the receiving CRC does not match the frame check sequence?

    Model answer

    The receiving network interface discards the frame because it is considered corrupted.

    Explanation

    A higher-layer protocol must decide whether to request or perform retransmission.

  88. 88

    Does Ethernet recover corrupted or lost data?

    Model answer

    No. Ethernet reports data-integrity problems, but a higher-layer protocol is responsible for deciding whether the data should be retransmitted.

    Explanation

    This separates link-level error detection from higher-level data recovery.

1 of 88
Question 1 of 88

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent