1. Home
  2. Explore
  3. Computer Science
  4. Network Fundamentals

Study methods

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

Network Fundamentals

  • 74Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Network Foundations

What is the main distinction between a local area network (LAN) and the internet?

74 questions

  1. 1

    What is the main distinction between a local area network (LAN) and the internet?

    Model answer

    A LAN connects devices within a local network, while the internet is a network of networks that connects devices and networks beyond any one LAN.

    Explanation

    The lecture distinguishes local communication from communication between separate networks.

  2. 2

    How does the old telephone switchboard illustrate how a traditional telephone call was connected?

    Model answer

    An operator physically connected the caller and recipient by plugging wires into switchboard jacks.

    Explanation

    The switchboard created a direct physical connection between the two parties.

  3. 3

    What happened to a traditional telephone circuit when either party hung up?

    Model answer

    The circuit was broken and released for other callers to use.

    Explanation

    The connection remained in place during the call and was freed afterward.

  4. 4

    What does the telephone message “all circuits are busy” indicate?

    Model answer

    There are no available circuit segments to connect the caller to the recipient.

    Explanation

    The message indicates that the network has no unused connections available for that call.

  5. 5

    How do telephone country codes, area codes, and local numbers help route calls?

    Model answer

    They identify a telephone connection at different levels, allowing a call to be directed beyond the caller’s local range when necessary.

    Explanation

    A local number may suffice for a nearby call, while calls to other regions or countries require additional codes.

  6. 6

    In what important way is a modern landline connection to a telephone network still like older telephone technology?

    Model answer

    The local connection between the telephone and the network is still basically analog, even though much telephone traffic and switching are digital.

    Explanation

    The lecture distinguishes digital network traffic from the essentially analog local telephone connection.

  7. 7

    Why is sending a long stream of computer data over a persistent circuit problematic?

    Model answer

    It is difficult to determine whether all the data arrived, arrived intact, and reached the correct destination.

    Explanation

    These reliability and delivery concerns motivate breaking data into smaller units.

  8. 8

    What is packet switching?

    Model answer

    Packet switching breaks information into separately sent packets, which are reassembled at the receiving end.

    Explanation

    The packets carry information needed for delivery and reconstruction rather than relying on one continuous data stream.

  9. 9

    How does packet-based communication differ from a traditional telephone call that uses a persistent circuit?

    Model answer

    A telephone call keeps a circuit connected during the conversation, whereas packet-based communication sends separate pieces of data that can be reassembled at the destination.

    Explanation

    Packets provide a way to transfer data without maintaining one continuous circuit for the entire transmission.

  10. 10

    What is a network protocol?

    Model answer

    A protocol is a method for carrying out a network task, including the formats that must be followed.

    Explanation

    Protocols define both how a process works and how its information is structured.

  11. 11

    How does an application’s information get prepared for network transmission?

    Model answer

    A process divides it into smaller pieces and adds information such as the recipient and the piece’s order before sending it to a physical network interface.

    Explanation

    The added information helps the network deliver and reassemble the pieces.

  12. 12

    What roles do the sender’s and receiver’s physical network interfaces play in packet communication?

    Model answer

    The sender’s interface transmits packets over the network, and the receiver’s interface checks whether incoming traffic is addressed to it before passing it on.

    Explanation

    The interfaces provide the physical connection between computer processes and the network.

  13. 13

    How can a receiving process detect that a packet may have been corrupted?

    Model answer

    It checks special values in the packet, such as a checksum, designed to reveal whether the data was received as sent.

    Explanation

    The Ethernet frame’s CRC checksum is one example of a corruption-detection value.

  14. 14

    What can happen after a receiver detects that a packet was corrupted or successfully received?

    Model answer

    It can ask the sender to resend a corrupt packet or send an acknowledgment confirming receipt.

    Explanation

    Acknowledgments and resend requests provide feedback about packet delivery.

  15. 15

    What is the purpose of reassembling packets at the destination?

    Model answer

    The receiving process removes addressing information, puts the pieces back in order, and passes the completed information to the intended application.

    Explanation

    Reassembly restores the original data for the software that requested it.

  16. 16

    What is the purpose of the destination address, source address, type field, and CRC checksum in an Ethernet frame?

    Model answer

    The addresses identify the destination and sender, the type field indicates the kind of data, and the CRC checksum helps detect corruption.

    Explanation

    These fields provide addressing and checking information alongside the frame’s data.

  17. 17

    What is a MAC address, and what does the abbreviation mean?

    Model answer

    A MAC address is a 48-bit number associated with an Ethernet card; MAC stands for Media Access Control.

    Explanation

    It identifies a network interface on a local area network.

  18. 18

    How is an Ethernet card’s MAC address assigned, and how unique is it intended to be?

    Model answer

    It is a fixed number built into the card’s circuitry and is intended to be globally unique, with no other Ethernet card having the same number.

    Explanation

    The lecture notes that a duplicate is theoretically possible but should not occur when manufacturing rules are followed.

  19. 19

    How do devices on a LAN use MAC addresses to direct local traffic?

    Model answer

    Devices learn one another’s MAC addresses and use the destination MAC address to identify which device should receive a frame.

    Explanation

    MAC addresses identify interfaces for communication within the LAN.

  20. 20

    Why might a device on a LAN listen to traffic that is not addressed to it?

    Model answer

    Devices can listen to traffic on the LAN, but normally accept or read only messages addressed specifically to them.

    Explanation

    The lecture describes this behavior as a kind of agreement among devices; traffic sniffing can occur when that expectation is not followed.

  21. 21

    What does it mean to sniff traffic on a LAN?

    Model answer

    It means observing network traffic that passes across the LAN, including traffic not intended for the observer.

    Explanation

    The lecture notes that a device or user can capture traffic by not following the usual expectation of reading only addressed messages.

  22. 22

    What can happen when Ethernet traffic collides?

    Model answer

    Frames may collide on the network, so Ethernet uses mechanisms for collision detection and avoidance.

    Explanation

    The lecture identifies collisions as a feature of traffic on a LAN and notes that managing them involves additional electronics.

  23. 23

    What physical limitation does the lecture associate with a LAN, and how can it be overcome?

    Model answer

    A LAN’s cable length is about 100 meters before additional network devices are needed; switches, bridges, or routers can extend it.

    Explanation

    The stated distance is an approximate physical limit for the cables comprising a LAN.

  24. 24

    How can MAC addresses be used to restrict access to a network?

    Model answer

    A network can require a device’s MAC address to be registered or allow access only to specified MAC addresses.

    Explanation

    The lecture gives university network registration and home-router restrictions as examples.

  25. 25

    What is the purpose of NetBIOS names and related Microsoft naming conventions on some LANs?

    Model answer

    They are remnants of Microsoft’s earlier approaches to local network naming and addressing, including names used with Windows shares.

    Explanation

    The lecture mentions that older conventions such as NetBIOS and WINS may still appear even though Microsoft now supports TCP/IP.

  26. 26

    How do computers on a LAN find one another using Ethernet?

    Model answer

    They use Ethernet communication and MAC addresses to identify network interfaces and direct local frames.

    Explanation

    The MAC address acts as a local identifier for each Ethernet interface.

  27. 27

    What is TCP/IP, and what role does it play in communication beyond a LAN?

    Model answer

    TCP/IP is a set of protocols that allows computers on different networks and with different architectures to find one another and exchange data.

    Explanation

    The lecture presents TCP/IP as the basis for communication across the internet’s network of networks.

  28. 28

    Who developed TCP/IP, when was it developed, and what project was it associated with?

    Model answer

    Vinton Cerf and Robert Kahn developed it primarily around 1973 as part of ARPA’s work; ARPANET later evolved into the internet.

    Explanation

    The lecture links the development of TCP/IP to ARPA and the subsequent evolution of ARPANET.

  29. 29

    What does an IP address identify?

    Model answer

    It uniquely identifies a resource on the internet.

    Explanation

    IP addresses allow networks to identify destinations for communication.

  30. 30

    How is an IPv4 address structured and commonly displayed?

    Model answer

    IPv4 uses a 32-bit address commonly displayed as four decimal numbers separated by periods, called dotted-quad or dotted-decimal notation.

    Explanation

    Each of the four displayed numbers represents an 8-bit portion of the address.

  31. 31

    Approximately how many unique addresses can IPv4 provide, and what prompted the development of IPv6?

    Model answer

    IPv4 can provide about 4 billion addresses, and IPv6 was introduced as a replacement with a much larger address capacity after IPv4 addresses ran out.

    Explanation

    The lecture notes that the world was still using IPv4 despite the introduction of IPv6.

  32. 32

    What are the network and host portions of an IP address?

    Model answer

    The network portion identifies the network to which a device belongs, while the host portion identifies that device within the network.

    Explanation

    The two portions work together to identify a destination at both the network and device levels.

  33. 33

    How does the telephone area-code analogy explain the network and host portions of an IP address?

    Model answer

    The network portion is like an area code, and the host portion is like a local telephone number.

    Explanation

    The same local number can occur in different area codes, just as host identifiers can be reused on different networks.

  34. 34

    What was the purpose of the original Class A, B, and C address categories?

    Model answer

    They divided IPv4 address ranges into network sizes intended to accommodate organizations with different numbers of devices.

    Explanation

    Class A was intended for the largest networks, Class B for intermediate sizes, and Class C for smaller networks.

  35. 35

    How did a Class A network allocate its address space?

    Model answer

    Its first octet identified the network, and the remaining address space could be used by the network owner to identify hosts.

    Explanation

    Class A networks supported many hosts but allowed only a relatively small number of distinct networks.

  36. 36

    How were Class B networks identified, and what type of network size were they intended to serve?

    Model answer

    A Class B network was identified by its first two octets and was intended for networks smaller than Class A networks but larger than Class C networks.

    Explanation

    The original classes allocated different portions of an address to network identification to serve different network sizes.

  37. 37

    How were Class C networks identified, and what was their approximate host capacity?

    Model answer

    A Class C network was identified by its first three octets and could support about 255 hosts.

    Explanation

    The remaining address portion was used to identify hosts within the network.

  38. 38

    What is the purpose of the 127.x.x.x address range?

    Model answer

    It is reserved for loopback addresses that direct communication back to the same computer.

    Explanation

    Loopback addresses are useful for some programming and database tasks.

  39. 39

    Which address ranges does the lecture identify as reserved for private networks, and where might they be used?

    Model answer

    The lecture identifies 10.x.x.x and 192.168.x.x as private address ranges, often used on local networks such as home networks.

    Explanation

    These addresses are used within private networks rather than as public internet addresses.

  40. 40

    What is network address translation, and why might a home network use it?

    Model answer

    Network address translation lets multiple devices on a private network share an internet service provider’s IP address through a router acting as a gateway.

    Explanation

    The router manages communication between the private devices and the outside network.

  41. 41

    What did classful networking fail to do efficiently as the internet grew?

    Model answer

    It could waste large numbers of IP addresses because its fixed network classes did not fit every organization’s needs.

    Explanation

    The lecture identifies address waste as a reason the internet began running out of IPv4 addresses.

  42. 42

    What is CIDR, and how did it address limitations of classful networking?

    Model answer

    CIDR, or Classless Interdomain Routing, replaced fixed Class A, B, and C divisions with more flexible address boundaries to reduce wasted addresses.

    Explanation

    CIDR allows network and host portions to be divided at locations other than traditional octet boundaries.

  43. 43

    How does a subnet mask help determine whether a destination is local or external?

    Model answer

    It separates the network and host portions of an IP address so IP can compare the sender’s network with the destination’s network.

    Explanation

    If the destination is outside the local network, it can be forwarded through a gateway or router.

  44. 44

    How does the IP protocol use an IP address and subnet mask to direct a message?

    Model answer

    It uses the sender’s address, the recipient’s address, and the subnet mask to determine whether the recipient is on the local network or outside it.

    Explanation

    A local destination can be reached on the LAN, while an external destination must be forwarded onward.

  45. 45

    What does a “/20” network notation indicate?

    Model answer

    It indicates that 20 bits are used to identify the network, with the remaining address bits available for hosts.

    Explanation

    CIDR notation specifies the network boundary by the number of network bits.

  46. 46

    How does CIDR make IP address allocation more granular than the old class system?

    Model answer

    It allows the boundary between network and host portions to fall within an octet instead of only at traditional octet boundaries.

    Explanation

    This lets networks be sized more closely to their actual needs and reduces wasted addresses.

  47. 47

    What does a gateway or router do when a destination is outside the local network?

    Model answer

    It forwards the message toward an external router or network that can route it to the destination.

    Explanation

    The device’s local network information lets it distinguish local destinations from external ones.

  48. 48

    How are MAC addresses and IP addresses used at different stages of communication?

    Model answer

    IP addresses identify networks and hosts for routing, while MAC addresses identify interfaces for delivery on a local Ethernet network.

    Explanation

    When traffic reaches its destination network, local Ethernet delivery relies on the recipient’s MAC address.

  49. 49

    How does a device obtain an IP address dynamically from an internet service provider?

    Model answer

    It can receive an address on demand through DHCP, the Dynamic Host Configuration Protocol.

    Explanation

    DHCP assigns addresses when needed rather than requiring every client address to remain fixed.

  50. 50

    What is the difference between a static and a dynamic IP address?

    Model answer

    A static address is permanently assigned and relatively unchanging, whereas a dynamic address is assigned when needed.

    Explanation

    Servers often use static addresses, while client computers can use changing, dynamically assigned addresses.

  51. 51

    Why do web servers commonly use static IP addresses while client computers can use dynamic addresses?

    Model answer

    Clients need a stable address to find servers, but a client can provide its current address with a request so the server knows where to send the response.

    Explanation

    A server whose address constantly changed would be difficult for clients to locate.

  52. 52

    What is the Domain Name System (DNS), and what information does it match?

    Model answer

    DNS is a system that matches host or domain names to their corresponding IP addresses.

    Explanation

    It lets people use readable names to locate network resources addressed by numbers.

  53. 53

    Why is DNS necessary for users accessing a website by name?

    Model answer

    A readable website name must be matched to the IP address needed to locate the server.

    Explanation

    The name-to-address match lets a client find the server and send it a request.

  54. 54

    How is DNS organized?

    Model answer

    DNS is organized as a hierarchy of servers, beginning with local information and extending through upstream servers to root and top-level-domain servers.

    Explanation

    The hierarchy distributes name information across multiple levels rather than keeping it all in one directory.

  55. 55

    What is the function of a computer’s hosts file?

    Model answer

    It stores a local list of host names and their associated IP addresses.

    Explanation

    The lecture compares it to a personal directory of numbers.

  56. 56

    How can local DNS servers and caches help resolve a name?

    Model answer

    A computer can first check local name information, then query an upstream DNS server if the needed information is not available.

    Explanation

    The lookup may continue through a hierarchy of servers to find the relevant address.

  57. 57

    What happens when a website changes its IP address?

    Model answer

    The new address must propagate through DNS, which may take minutes or hours before it is found consistently around the world.

    Explanation

    DNS information is synchronized across the system rather than updated everywhere instantly.

  58. 58

    What role do root name servers play in DNS?

    Model answer

    They help direct DNS queries toward the servers responsible for top-level domains such as .com and .edu.

    Explanation

    The lecture describes the root servers as the logical starting point for this part of the DNS hierarchy.

  59. 59

    What is the role of IANA in internet naming and addressing?

    Model answer

    IANA oversees global internet names and IP addresses and maintains information about generic top-level domains and their responsible registries.

    Explanation

    IANA is the Internet Assigned Numbers Authority.

  60. 60

    What are country-code top-level domains (ccTLDs)?

    Model answer

    They are country-code domains used in DNS naming conventions outside the United States.

    Explanation

    The lecture describes ISO country codes as the basis for these domains.

  61. 61

    What information can a WhoIs lookup provide?

    Model answer

    It can provide registration information about a specific assigned domain name, including information about its registrant.

    Explanation

    Registry organizations maintain WhoIs lookup services; the lecture gives .edu registrations as an example.

  62. 62

    What is a fully qualified domain name?

    Model answer

    It is a complete, human-readable name that identifies a host through its position in the domain hierarchy.

    Explanation

    A name such as jupiter.mydomain.com combines a host name with its domain.

  63. 63

    How does adding a subnetwork name change a fully qualified domain name?

    Model answer

    The subnetwork name is inserted between the host name and the domain name, as in jupiter.accounting.mydomain.com.

    Explanation

    Each added name specifies another level in the host’s domain hierarchy.

  64. 64

    Why might an administrator need to distinguish an internet domain name from a Microsoft network or share name?

    Model answer

    The names can follow different naming systems and do not have to match, which can make network administration more complicated.

    Explanation

    A computer’s internet name and its Microsoft share name may identify it differently.

  65. 65

    How are DNS, IP, routing, and Ethernet involved when an application sends data to a named internet destination?

    Model answer

    DNS supplies the destination IP address, IP determines whether the destination is local or external, routers forward external traffic, and Ethernet uses MAC addresses for local delivery.

    Explanation

    These systems handle different parts of finding and delivering information to the destination.

  66. 66

    What is ARP, and what address mapping does it provide?

    Model answer

    ARP, the Address Resolution Protocol, helps map an IP address to the corresponding MAC address on a LAN.

    Explanation

    This mapping allows an IP destination on the local network to be reached using Ethernet.

  67. 67

    How does a device use its ARP cache?

    Model answer

    It stores known IP-address-to-MAC-address mappings so it can use them for local delivery without asking again.

    Explanation

    Devices on a LAN maintain these caches and update them when new mappings are learned.

  68. 68

    What does a device do if the required IP-to-MAC mapping is missing from its ARP cache?

    Model answer

    It broadcasts a request on the LAN asking which device has the specified IP address and requesting that device’s MAC address.

    Explanation

    The response lets the requesting device update its ARP cache.

  69. 69

    What is the difference between TCP and UDP in how they manage delivery?

    Model answer

    TCP checks that packets arrive intact and in order, while UDP does not check whether packets arrive or whether they are valid.

    Explanation

    TCP prioritizes reliable delivery; UDP uses less communication overhead.

  70. 70

    What does it mean that TCP is connection-oriented?

    Model answer

    The sender and receiver first perform handshaking to confirm communication and readiness before exchanging data.

    Explanation

    TCP also checks the validity and order of the transmitted data.

  71. 71

    Why does TCP create communication overhead?

    Model answer

    It exchanges additional messages to establish communication and check that packets arrive intact and in the proper order.

    Explanation

    This reliability work requires communication between sender and receiver even though data is sent in packets.

  72. 72

    For what kinds of data is TCP particularly useful, and why?

    Model answer

    It is useful when completeness and accuracy matter, such as sending a spreadsheet, because it checks that the data arrives intact and in order.

    Explanation

    Missing or corrupted information could make such a file unusable.

  73. 73

    Why can UDP be suitable for audio or video streams despite not guaranteeing delivery?

    Model answer

    A few missing or out-of-order bits may not significantly affect the overall quality of a stream, while UDP avoids the overhead of reliability checks.

    Explanation

    UDP can be efficient when speed and resource use matter more than perfect delivery.

  74. 74

    How does UDP’s resource use compare with TCP’s?

    Model answer

    UDP generally uses fewer resources on the sender and receiver because it does not perform the same delivery and validity checks as TCP.

    Explanation

    UDP sends data with less confirmation and checking.

1 of 74
Question 1 of 74

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent