Unit 1: INTRODUCTION - Practice Quiz

CSE306 — Computer Networks 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is a computer network?

Introduction to Computer Networks Easy
A. A type of operating system
B. A software application for virus scanning
C. A group of interconnected computers sharing resources
D. A standalone computer without internet

2 Which of the following is a network that covers a small geographic area, such as a home or office?

Networks and Types Easy
A. LAN (Local Area Network)
B. MAN (Metropolitan Area Network)
C. PAN (Personal Area Network)
D. WAN (Wide Area Network)

3 The Internet is an example of which type of network?

Networks and Types Easy
A. LAN
B. PAN
C. MAN
D. WAN

4 Which network topology features all nodes connected to a single central cable?

Network hardware architecture and its topologies and device like HUB, Switch and Routers Easy
A. Mesh Topology
B. Ring Topology
C. Star Topology
D. Bus Topology

5 Which topology requires a central controller or hub?

Network hardware architecture and its topologies and device like HUB, Switch and Routers Easy
A. Ring Topology
B. Bus Topology
C. Mesh Topology
D. Star Topology

6 Which network device operates at the physical layer and simply broadcasts incoming data to all its ports?

Network hardware architecture and its topologies and device like HUB, Switch and Routers Easy
A. Gateway
B. Hub
C. Switch
D. Router

7 Which device connects different networks and routes data packets based on their IP addresses?

Network hardware architecture and its topologies and device like HUB, Switch and Routers Easy
A. Switch
B. Hub
C. Router
D. Repeater

8 Which device is smarter than a hub because it forwards data only to the specific port where the destination device is connected?

Network hardware architecture and its topologies and device like HUB, Switch and Routers Easy
A. Hub
B. Switch
C. Modem
D. Repeater

9 What is the small unit of data transmitted over a network called?

Introduction to Packets, IP Address and MAC Address Easy
A. Pixel
B. Byte
C. Packet
D. Bit

10 Which address is unique to the network interface card (NIC) and physically hardcoded onto the device?

Introduction to Packets, IP Address and MAC Address Easy
A. URL
B. IP Address
C. Port Number
D. MAC Address

11 What does IP stand for in IP Address?

Introduction to Packets, IP Address and MAC Address Easy
A. Internal Protocol
B. Internet Provider
C. Internet Protocol
D. Intranet Procedure

12 How many bits are in an IPv4 address?

Introduction to Packets, IP Address and MAC Address Easy
A. 128 bits
B. 32 bits
C. 64 bits
D. 16 bits

13 How many layers are there in the OSI model?

NETWORK MODELS: TCP/IP protocol suite, OSI Model Easy
A. 6
B. 5
C. 7
D. 4

14 What is the topmost layer of the OSI model?

NETWORK MODELS: TCP/IP protocol suite, OSI Model Easy
A. Physical Layer
B. Transport Layer
C. Network Layer
D. Application Layer

15 What does TCP stand for?

NETWORK MODELS: TCP/IP protocol suite, OSI Model Easy
A. Transfer Control Protocol
B. Transmission Communication Protocol
C. Transmission Control Protocol
D. Transport Communication Protocol

16 How many layers are generally recognized in the original TCP/IP model?

NETWORK MODELS: TCP/IP protocol suite, OSI Model Easy
A. 3
B. 5
C. 4
D. 7

17 Which of the following is a standard protocol used for sending emails?

Network software architecture and its layers and protocols Easy
A. HTTP
B. SMTP
C. FTP
D. DNS

18 Which protocol is primarily used for transferring web pages on the World Wide Web?

Network software architecture and its layers and protocols Easy
A. SMTP
B. FTP
C. HTTP
D. SNMP

19 In the OSI model, which layer is responsible for routing packets from source to destination?

NETWORK MODELS: TCP/IP protocol suite, OSI Model Easy
A. Network Layer
B. Session Layer
C. Transport Layer
D. Data Link Layer

20 What is the length of a standard MAC address?

Introduction to Packets, IP Address and MAC Address Easy
A. 64 bits
B. 32 bits
C. 128 bits
D. 48 bits

21 Which of the following scenarios best justifies the implementation of a Wide Area Network (WAN) rather than a Local Area Network (LAN)?

Networks and Types Medium
A. Linking a company's headquarters in New York with its branch office in London.
B. Setting up a temporary network for a gaming tournament in a local hall.
C. Connecting multiple smart devices within a smart home.
D. Connecting computers within a single office building.

22 In a star topology, if the central node fails, what happens to the network?

Network hardware architecture and its topologies and device like HUB, Switch and Routers Medium
A. Only the nodes directly connected to the failed node lose connectivity.
B. The network continues to function normally but at a reduced speed.
C. Data is routed through an alternative path automatically.
D. The entire network goes down.

23 Which network device operates at the Data Link layer and forwards frames based on MAC addresses?

Network hardware architecture and its topologies and device like HUB, Switch and Routers Medium
A. Repeater
B. Router
C. Hub
D. Switch

24 Why is a router considered more intelligent than a switch?

Network hardware architecture and its topologies and device like HUB, Switch and Routers Medium
A. It broadcasts all packets to ensure delivery.
B. It operates at the Physical layer to regenerate signals.
C. It makes forwarding decisions based on logical IP addresses and connects different networks.
D. It strictly uses MAC addresses to forward frames faster.

25 If a device moves from one network to another, which of its addresses typically changes?

Introduction to Packets, IP Address and MAC Address Medium
A. IP address
B. Both MAC and IP addresses
C. Neither MAC nor IP addresses
D. MAC address

26 What is the primary purpose of subnet masking in relation to an IP address?

Introduction to Packets, IP Address and MAC Address Medium
A. To resolve a domain name to an IP address.
B. To convert an IPv4 address to an IPv6 address.
C. To separate the IP address into the network portion and the host portion.
D. To encrypt the IP address during transmission.

27 During data encapsulation in the OSI model, what happens as data moves from the Transport layer to the Network layer?

NETWORK MODELS: TCP/IP protocol suite, OSI Model Medium
A. The frame is converted into bits for transmission.
B. The packet is encapsulated into a frame and physical MAC addresses are added.
C. The segment is encapsulated into a packet and logical IP addresses are added.
D. The data is segmented and port numbers are added.

28 Which layer of the OSI model is responsible for reliable process-to-process delivery and error recovery?

NETWORK MODELS: TCP/IP protocol suite, OSI Model Medium
A. Session Layer
B. Transport Layer
C. Network Layer
D. Data Link Layer

29 Which of the following correctly pairs a TCP/IP layer with its corresponding OSI layers?

NETWORK MODELS: TCP/IP protocol suite, OSI Model Medium
A. TCP/IP Application Layer maps to OSI Session, Presentation, and Application layers.
B. TCP/IP Transport Layer maps to OSI Data Link Layer.
C. TCP/IP Internet Layer maps to OSI Transport Layer.
D. TCP/IP Network Access Layer maps to OSI Network Layer.

30 In the context of network software architecture, what is the role of a protocol?

Network software architecture and its layers and protocols Medium
A. It is the graphical interface used by network administrators.
B. It is a physical device used to connect networks.
C. It provides power to the network hardware components.
D. It defines the rules and conventions for communication between network devices.

31 A network administrator notices high collision rates on a network segment connected by a hub. What is the most effective hardware change to resolve this?

Network hardware architecture and its topologies and device like HUB, Switch and Routers Medium
A. Increase the length of the Ethernet cables.
B. Replace the hub with a repeater.
C. Replace the hub with a switch.
D. Add more hubs to divide the traffic.

32 Given the IP address and a subnet mask of , what is the network address?

Introduction to Packets, IP Address and MAC Address Medium
A.
B.
C.
D.

33 Which of the following protocols operates at the Network layer of the OSI model?

NETWORK MODELS: TCP/IP protocol suite, OSI Model Medium
A. HTTP
B. Ethernet
C. IP
D. TCP

34 Why is layering an important concept in network software architecture?

Network software architecture and its layers and protocols Medium
A. It divides network communication into smaller, manageable tasks and promotes interoperability.
B. It speeds up the processing power of the CPU.
C. It reduces the number of physical cables needed.
D. It ensures that all networks use a single, universal hardware device.

35 Which topology requires a multi-point connection where all devices share a single communication cable?

Network hardware architecture and its topologies and device like HUB, Switch and Routers Medium
A. Mesh Topology
B. Ring Topology
C. Star Topology
D. Bus Topology

36 Which characteristic is essential for a system to be defined as a 'Computer Network'?

Introduction to Computer Networks Medium
A. Computers must be manufactured by the same vendor.
B. Computers must be physically located in the same room.
C. Computers must be interconnected and capable of sharing resources.
D. Computers must run the same operating system.

37 In an IPv4 header, what is the purpose of the Time to Live (TTL) field?

Introduction to Packets, IP Address and MAC Address Medium
A. It prevents packets from circulating indefinitely in the network.
B. It defines the exact time a packet will arrive at its destination.
C. It indicates the priority level of the packet.
D. It specifies the physical distance a packet can travel.

38 If a user is browsing a website, at which layer of the TCP/IP model is the HTTP protocol functioning?

NETWORK MODELS: TCP/IP protocol suite, OSI Model Medium
A. Application Layer
B. Internet Layer
C. Network Access Layer
D. Transport Layer

39 What distinguishes a Metropolitan Area Network (MAN) from a LAN and a WAN?

Networks and Types Medium
A. It covers a geographical area like a city, larger than a LAN but smaller than a WAN.
B. It relies exclusively on satellite communication.
C. It is only used for military communications.
D. It covers a larger geographical area than a WAN but smaller than a LAN.

40 In a fully connected mesh topology with devices, what is the formula for the total number of physical links?

Network hardware architecture and its topologies and device like HUB, Switch and Routers Medium
A.
B.
C.
D.

41 A network topology consists of a central router connecting three subnets. Subnet A has a 24-port switch with 10 hosts, Subnet B has a 16-port hub with 8 hosts, and Subnet C has two 8-port switches connected to each other, hosting 12 hosts in total. How many broadcast domains and collision domains exist in this entire network, respectively?

Network hardware architecture and its topologies and device like HUB, Switch and Routers Hard
A. 3 broadcast domains, 24 collision domains
B. 3 broadcast domains, 26 collision domains
C. 1 broadcast domain, 26 collision domains
D. 3 broadcast domains, 12 collision domains

42 In the context of the TCP/IP protocol suite, which of the following best describes the architectural anomaly of the Transmission Control Protocol (TCP) calculating its checksum?

NETWORK MODELS: TCP/IP protocol suite, OSI Model Hard
A. TCP delegates checksum calculation to the Data Link Layer to avoid redundant processing at the Transport Layer.
B. TCP relies entirely on the IP layer for error detection, calculating no checksum of its own.
C. TCP calculates its checksum using only the transport layer PDU, adhering strictly to the OSI encapsulation model.
D. TCP includes a pseudo-header in its checksum calculation containing source and destination IP addresses, violating strict layer independence.

43 Host A (, ) wants to send an IP packet to Host B (, ). The default gateway for Host A is Router R1 (, ). Assuming Host A's ARP cache is empty, what will be the destination MAC address of the very first frame transmitted by Host A?

Introduction to Packets, IP Address and MAC Address Hard
A. FF:FF:FF:FF:FF:FF
B. 00:00:00:00:00:00
C. BB:BB:BB:BB:BB:BB
D. R1:R1:R1:R1:R1:R1

44 A cut-through switch receives a frame of bytes at a rate of Gbps. If the switch needs to read the first bytes (Ethernet header) to determine the destination port before forwarding, what is the minimum theoretical switching delay introduced by the switch itself, ignoring propagation and processing delays?

Network hardware architecture and its topologies and device like HUB, Switch and Routers Hard
A. ns
B. ns
C. s
D. ns

45 In a layered network architecture, Layer provides a service to Layer . If an -byte payload from Layer is passed to Layer , and Layer adds an -byte header but has a Maximum Transmission Unit (MTU) of bytes (where ), which of the following accurately describes the behavior at Layer ?

Network software architecture and its layers and protocols Hard
A. Layer N will pass the payload to Layer N-1 without a header to save space.
B. Layer N will compress the payload so that .
C. Layer N will drop the payload because it exceeds the MTU.
D. Layer N must fragment the payload into segments, adding an -byte header to each segment.

46 Which of the following scenarios describes a function explicitly mapped to the Presentation Layer of the OSI model but is entirely absent as a distinct layer in the TCP/IP protocol suite, often handled by the application itself?

NETWORK MODELS: TCP/IP protocol suite, OSI Model Hard
A. Segmenting a large file into smaller data units for transmission.
B. Establishing a full-duplex connection using a three-way handshake.
C. Translating EBCDIC character encoding from a mainframe into ASCII for a client.
D. Routing packets through an autonomous system using OSPF.

47 Consider a fully connected mesh network with nodes. If the cost of laying a cable is per link, and the network designer decides to switch to a star topology using a single central switch (costing , with cable cost remaining per link), what is the cost difference between the two designs?

Network hardware architecture and its topologies and device like HUB, Switch and Routers Hard
A.
B.
C.
D.

48 An IPv4 datagram has a total length of bytes (including a -byte header). It needs to traverse a link with an MTU of bytes. How many fragments are generated, and what is the 'Fragment Offset' value of the final fragment?

Introduction to Packets, IP Address and MAC Address Hard
A. 4 fragments; Offset of the final fragment is 370
B. 3 fragments; Offset of the final fragment is 2960
C. 3 fragments; Offset of the final fragment is 3700
D. 3 fragments; Offset of the final fragment is 370

49 Analyze the following MAC address: . Based on IEEE standards, what type of address is this, and what is its specific use case in networking?

Introduction to Packets, IP Address and MAC Address Hard
A. It is an IPv4 multicast MAC address used to map Layer 3 multicast IPs to Layer 2.
B. It is a unicast address used for standard host-to-host communication.
C. It is a broadcast address used by ARP.
D. It is a locally administered address used in private VLANs.

50 In comparing a highly distributed Wide Area Network (WAN) using satellite links to a localized Local Area Network (LAN) using Gigabit Ethernet, which of the following performance constraints is overwhelmingly the dominant factor in determining the Round Trip Time (RTT) for a -byte packet in the WAN?

Networks and Types Hard
A. Queuing delay at the satellite uplink.
B. Transmission delay due to low bandwidth.
C. Processing delay at the end hosts.
D. Propagation delay due to the physical distance.

51 An application requires strict synchronization points to ensure that long file transfers can resume from the last checkpoint rather than starting over if the connection drops. In the OSI model, which layer is explicitly responsible for inserting these synchronization points?

NETWORK MODELS: TCP/IP protocol suite, OSI Model Hard
A. Application Layer
B. Transport Layer
C. Session Layer
D. Presentation Layer

52 A router receives an IP packet destined for . Its routing table has the following entries: Route 1 (), Route 2 (), Route 3 (), and a Default Route. Which route will the router choose and why?

Network hardware architecture and its topologies and device like HUB, Switch and Routers Hard
A. Route 3, because it is the longest prefix match that contains the destination address.
B. Default Route, because the destination is a host address, not a network address.
C. Route 1, because /24 is the standard class C subnet mask.
D. Route 2, because it is the longest prefix match that contains the destination address.

53 In a packet-switched network, Host A sends a MB file to Host B across links (2 routers in between). Each link has a bandwidth of Gbps and a propagation delay of ms. Assume the file is broken into packets of bytes each, and processing/queuing delays are negligible. What is the approximate total time to transmit the file from A to B?

Introduction to Computer Networks Hard
A. ms
B. ms
C. ms
D. ms

54 Which of the following statements represents a fundamental distinction between the OSI model and the TCP/IP reference model regarding connection-oriented and connectionless services?

NETWORK MODELS: TCP/IP protocol suite, OSI Model Hard
A. OSI supports connectionless communication at the transport layer only, whereas TCP/IP mandates connection-oriented transport.
B. TCP/IP supports both connectionless and connection-oriented communication in the transport layer, but only connectionless in the network layer.
C. OSI supports only connection-oriented communication in the network layer, while TCP/IP supports both.
D. TCP/IP enforces connection-oriented communication at the network layer to ensure reliable packet delivery.

55 At the Transport Layer, multiplexing and demultiplexing are critical functions. How does a TCP/IP stack uniquely identify a specific socket to correctly demultiplex incoming TCP segments to the correct application process?

Network software architecture and its layers and protocols Hard
A. Using only the Destination Port number.
B. Using the combination of Destination IP and Destination Port.
C. Using the MAC Address and the Destination Port number.
D. Using the combination of Source IP, Destination IP, Source Port, and Destination Port.

56 If a host is configured with the IP address and a subnet mask of , what is the limited broadcast address and the directed broadcast address for this specific subnet, respectively?

Introduction to Packets, IP Address and MAC Address Hard
A. and
B. and
C. and
D. and

57 In a CSMA/CD network using a hub, as the number of active nodes () transmitting data simultaneously increases, what is the asymptotic behavior of the network's throughput?

Network hardware architecture and its topologies and device like HUB, Switch and Routers Hard
A. Throughput increases linearly with due to statistical multiplexing.
B. Throughput approaches of the channel capacity.
C. Throughput remains constant because the hub acts as a repeater.
D. Throughput drops to near zero as the probability of collisions approaches 1.

58 Which of the following scenarios best demonstrates the concept of 'statistical multiplexing' in computer networks?

Introduction to Computer Networks Hard
A. Dynamically sharing a 100 Mbps link among 200 users, relying on the probability that not all users will transmit at their peak rate simultaneously.
B. Assigning fixed time slots to four distinct users on a T1 line, regardless of whether they have data to send.
C. Dividing a fiber optic cable into multiple distinct wavelength channels, assigning one color to each continuous data stream.
D. Using a router to convert digital signals into analog signals for transmission over a telephone line.

59 A Virtual Private Network (VPN) connecting two geographically separated corporate LANs over the public Internet is an example of what type of network architecture?

Networks and Types Hard
A. A physical Point-to-Point WAN topology.
B. A completely distinct autonomous system (AS).
C. A Storage Area Network (SAN) extending over WAN.
D. An Overlay Network.

60 In the context of network layer protocols, what is the primary architectural purpose of a Service Access Point (SAP) in the OSI model?

Network software architecture and its layers and protocols Hard
A. To act as the logical interface through which Layer provides its services to Layer .
B. To encrypt data payloads before they are passed down to the Physical Layer.
C. To provide a physical interface for cables connecting to a router.
D. To uniquely identify the logical address of the underlying hardware (MAC address).