Network Programming Basics Midterm Exam
36 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Why was the PC able to connect to the network with no additional configuration?

  • The PC virtual interface is compatible with any network.
  • The PC used DNS to automatically receive IP addressing information from a server.
  • The PC was preconfigured to use DHCP. (correct)
  • The PC does not require any additional information to function on the network.
  • What is the main function of DHCP in a network?

  • To connect devices to the Internet.
  • To provide IP addresses and other network settings to devices on a network. (correct)
  • To configure the network interface of a device.
  • To translate domain names to IP addresses.
  • What is the role of the application layer in the TCP/IP protocol suite?

  • To provide error-free transfer of data between devices.
  • To route data packets between networks.
  • To define the physical means of data transmission.
  • To provide services to end-user applications. (correct)
  • Which layers of the OSI model are equivalent to the application layer of the TCP/IP protocol suite?

    <p>I. Application, II. Presentation, and III. Session</p> Signup and view all the answers

    What is the primary function of DNS in a network?

    <p>To translate domain names to IP addresses.</p> Signup and view all the answers

    What is the result of a PC being preconfigured to use DHCP?

    <p>The PC can automatically receive IP addressing information from a server.</p> Signup and view all the answers

    What type of communication is used when a single device sends data to multiple devices on a network?

    <p>Multicast</p> Signup and view all the answers

    Which of the following is a characteristic of a converged network?

    <p>A single network that delivers voice, video, and data to a variety of devices.</p> Signup and view all the answers

    Which of the following devices is NOT an intermediary device?

    <p>PC</p> Signup and view all the answers

    What is the correct order of the protocol stack used by a web client to prepare a request for transmission?

    <p>Application, Presentation, Session, Transport, Network, Data Link, Physical</p> Signup and view all the answers

    What type of communication is used when a single device sends data to all devices on a network?

    <p>Broadcast</p> Signup and view all the answers

    Which of the following devices is an intermediary device that connects multiple networks together?

    <p>Router</p> Signup and view all the answers

    What is the correct order of the OSI layers from bottom to top?

    <p>Ethernet, IP, TCP, HTTP</p> Signup and view all the answers

    What action will a switch take when it receives a frame and the source MAC address is not found in the switching table?

    <p>The switch will map the source MAC address to the port on which it was received.</p> Signup and view all the answers

    What does LAN stand for?

    <p>Local Area Network</p> Signup and view all the answers

    At which layer of the OSI model does a switch make a forwarding decision?

    <p>2</p> Signup and view all the answers

    What is the general term used to describe a piece of data at any layer of a networking model?

    <p>Protocol Data Unit</p> Signup and view all the answers

    Which layer of the OSI model is responsible for routing packets?

    <p>Network</p> Signup and view all the answers

    What is the purpose of the ARP request?

    <p>To map an IP address to a MAC address.</p> Signup and view all the answers

    Which layer of the OSI model is responsible for providing error-free transfer of data?

    <p>Transport</p> Signup and view all the answers

    What device determines the path that messages should take through internetworks?

    <p>A router</p> Signup and view all the answers

    What scenario may result in multiple MAC addresses being assigned to one Switch Port in the MAC Address Table?

    <p>Multiple devices are connected to the same physical switch port</p> Signup and view all the answers

    What type of device is responsible for directing traffic between different networks?

    <p>A router</p> Signup and view all the answers

    What device is responsible for assigning IP addresses to devices on a network?

    <p>A DHCP server</p> Signup and view all the answers

    What type of topology may result in multiple MAC addresses being assigned to one Switch Port?

    <p>Star</p> Signup and view all the answers

    What is the primary function of a switch?

    <p>To connect multiple devices within a network</p> Signup and view all the answers

    What device is responsible for filtering incoming and outgoing network traffic?

    <p>A firewall</p> Signup and view all the answers

    What type of network device is responsible for converting digital signals to analog signals?

    <p>A modem</p> Signup and view all the answers

    What is the primary function of the routing process?

    <p>To move an incoming packet to the next hop router interface</p> Signup and view all the answers

    What is a characteristic of hosts on the same network segment?

    <p>They share the same subnet mask</p> Signup and view all the answers

    How many collision domains exist in a single broadcast domain?

    <p>One</p> Signup and view all the answers

    What layer is responsible for ensuring that packets arrive in the correct order?

    <p>Transport layer</p> Signup and view all the answers

    What is the purpose of the ACK/NACK process?

    <p>To send an acknowledgement when a packet is received</p> Signup and view all the answers

    What is the layer that lies between the network layer and the application layer?

    <p>Transport layer</p> Signup and view all the answers

    What is the purpose of the switching process?

    <p>To move an incoming frame to the outgoing interface</p> Signup and view all the answers

    What is the primary function of the forwarding process?

    <p>To move an incoming packet to the next hop router interface</p> Signup and view all the answers

    Study Notes

    Network Fundamentals

    • A PC can connect to a network with no additional configuration because it can use DHCP to automatically receive IP addressing information from a server.
    • The application layer in the TCP/IP protocol suite is roughly equivalent to the Application, Presentation, and Session layers of the OSI model.

    Network Devices

    • Intermediary devices include routers and switches.
    • A switch receives a frame and the source MAC address is not found in the switching table, it maps the source MAC address to the port on which it was received.

    Network Types

    • A converged network is a single network that delivers voice, video, and data to a variety of devices.
    • A LAN (Local Area Network) is a type of network.

    OSI Model

    • A switch uses the Data Link layer (Layer 2) to make a forwarding decision.
    • The layer between the Network layer and the Application layer is the Transport layer.
    • The correct order of the protocol stack for a client sending a request to a web server is: HTTP, TCP, IP, Ethernet.

    Networking Concepts

    • A characteristic of hosts on the same network segment is that they share the same subnet mask, network id, and broadcast address.
    • The general term used to describe a piece of data at any layer of a networking model is not specified in the text.

    Command-Line Interface

    • The Windows command that opens the Network Connections window is ncpa.cpl.

    Network Devices and Functions

    • A router determines the path that messages should take through internetworks.
    • A scenario that may result in multiple MAC addresses being assigned to one Switch Port in the MAC Address Table is when multiple devices are connected to the same physical switch port or an Ethernet hub is connected to a Switch port.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    midterm-cst8108-2.pdf

    Description

    This quiz assesses knowledge of network programming basics, covering topics such as technician roles and network functionality. It is a midterm exam for Algonquin College's 21S_CST8108_010 course.

    Use Quizgecko on...
    Browser
    Browser