Unit 1 - Practice Quiz

CSE306 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is a computer network?

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

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. WAN (Wide Area Network)
B. LAN (Local Area Network)
C. MAN (Metropolitan Area Network)
D. PAN (Personal Area Network)

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

Networks and Types Easy
A. MAN
B. PAN
C. LAN
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. Ring Topology
B. Mesh 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. Star Topology
D. Mesh 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. Router
B. Hub
C. Gateway
D. Switch

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. Repeater
B. Switch
C. Hub
D. Router

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. Modem
C. Repeater
D. Switch

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

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

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. Port Number
B. URL
C. MAC Address
D. IP Address

11 What does IP stand for in IP Address?

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

12 How many bits are in an IPv4 address?

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

13 How many layers are there in the OSI model?

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

14 What is the topmost layer of the OSI model?

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

15 What does TCP stand for?

NETWORK MODELS: TCP/IP protocol suite, OSI Model Easy
A. Transmission Control Protocol
B. Transport Communication Protocol
C. Transfer Control Protocol
D. Transmission 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. 5
B. 7
C. 3
D. 4

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

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

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. SNMP
B. SMTP
C. HTTP
D. FTP

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. Transport Layer
B. Session Layer
C. Network 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. 32 bits
B. 64 bits
C. 48 bits
D. 128 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. Connecting computers within a single office building.
B. Setting up a temporary network for a gaming tournament in a local hall.
C. Connecting multiple smart devices within a smart home.
D. Linking a company's headquarters in New York with its branch office in London.

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. The entire network goes down.
B. The network continues to function normally but at a reduced speed.
C. Data is routed through an alternative path automatically.
D. Only the nodes directly connected to the failed node lose connectivity.

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. Router
B. Hub
C. Switch
D. Repeater

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 strictly uses MAC addresses to forward frames faster.
C. It makes forwarding decisions based on logical IP addresses and connects different networks.
D. It operates at the Physical layer to regenerate signals.

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. Neither MAC nor IP addresses
C. MAC address
D. Both MAC and IP addresses

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 encrypt the IP address during transmission.
D. To separate the IP address into the network portion and the host portion.

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 segment is encapsulated into a packet and logical IP addresses are added.
B. The data is segmented and port numbers are added.
C. The frame is converted into bits for transmission.
D. The packet is encapsulated into a frame and physical MAC addresses 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. Network Layer
B. Data Link Layer
C. Transport Layer
D. Session 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 Network Access Layer maps to OSI Network Layer.
B. TCP/IP Application Layer maps to OSI Session, Presentation, and Application layers.
C. TCP/IP Internet Layer maps to OSI Transport Layer.
D. TCP/IP Transport Layer maps to OSI Data Link 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 provides power to the network hardware components.
B. It defines the rules and conventions for communication between network devices.
C. It is the graphical interface used by network administrators.
D. It is a physical device used to connect networks.

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. Replace the hub with a repeater.
B. Replace the hub with a switch.
C. Add more hubs to divide the traffic.
D. Increase the length of the Ethernet cables.

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

Introduction to Packets, IP Address and MAC Address Medium
A. $192.168.0.0$
B. $192.168.1.50$
C. $192.168.1.0$
D. $192.168.1.255$

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. IP
B. Ethernet
C. HTTP
D. TCP

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

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

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. Star Topology
B. Bus Topology
C. Ring Topology
D. Mesh 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 interconnected and capable of sharing resources.
B. Computers must be manufactured by the same vendor.
C. Computers must run the same operating system.
D. Computers must be physically located in the same room.

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 specifies the physical distance a packet can travel.
B. It indicates the priority level of the packet.
C. It prevents packets from circulating indefinitely in the network.
D. It defines the exact time a packet will arrive at its destination.

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. Network Access Layer
B. Internet Layer
C. Application 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 is only used for military communications.
C. It relies exclusively on satellite communication.
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, 12 collision domains
C. 1 broadcast domain, 26 collision domains
D. 3 broadcast domains, 26 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 includes a pseudo-header in its checksum calculation containing source and destination IP addresses, violating strict layer independence.
B. TCP calculates its checksum using only the transport layer PDU, adhering strictly to the OSI encapsulation model.
C. TCP delegates checksum calculation to the Data Link Layer to avoid redundant processing at the Transport Layer.
D. TCP relies entirely on the IP layer for error detection, calculating no checksum of its own.

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. 00:00:00:00:00:00
B. R1:R1:R1:R1:R1:R1
C. FF:FF:FF:FF:FF:FF
D. BB:BB:BB:BB:BB:BB

44 A cut-through switch receives a frame of $1500$ bytes at a rate of $1$ Gbps. If the switch needs to read the first $14$ 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. $112$ ns
B. $14$ ns
C. $12$ s
D. $120$ 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 must fragment the payload into segments, adding an -byte header to each segment.
C. Layer N will compress the payload so that .
D. Layer N will drop the payload because it exceeds the MTU.

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. Translating EBCDIC character encoding from a mainframe into ASCII for a client.
B. Routing packets through an autonomous system using OSPF.
C. Segmenting a large file into smaller data units for transmission.
D. Establishing a full-duplex connection using a three-way handshake.

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 $4000$ bytes (including a $20$-byte header). It needs to traverse a link with an MTU of $1500$ 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. 3 fragments; Offset of the final fragment is 2960
B. 3 fragments; Offset of the final fragment is 370
C. 3 fragments; Offset of the final fragment is 3700
D. 4 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 a locally administered address used in private VLANs.
B. It is a unicast address used for standard host-to-host communication.
C. It is an IPv4 multicast MAC address used to map Layer 3 multicast IPs to Layer 2.
D. It is a broadcast address used by ARP.

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 $64$-byte packet in the WAN?

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

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. Session Layer
B. Presentation Layer
C. Transport Layer
D. Application Layer

52 A router receives an IP packet destined for $192.168.1.130$. 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 1, because /24 is the standard class C subnet mask.
B. Route 2, because it is the longest prefix match that contains the destination address.
C. Route 3, because it is the longest prefix match that contains the destination address.
D. Default Route, because the destination is a host address, not a network address.

53 In a packet-switched network, Host A sends a $1$ MB file to Host B across $3$ links (2 routers in between). Each link has a bandwidth of $1$ Gbps and a propagation delay of $5$ ms. Assume the file is broken into packets of $1000$ 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. TCP/IP supports both connectionless and connection-oriented communication in the transport layer, but only connectionless in the network layer.
B. TCP/IP enforces connection-oriented communication at the network layer to ensure reliable packet delivery.
C. OSI supports only connection-oriented communication in the network layer, while TCP/IP supports both.
D. OSI supports connectionless communication at the transport layer only, whereas TCP/IP mandates connection-oriented transport.

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 the combination of Source IP, Destination IP, Source Port, and Destination Port.
B. Using the combination of Destination IP and Destination Port.
C. Using only the Destination Port number.
D. Using the MAC Address and the Destination Port number.

56 If a host is configured with the IP address $172.16.65.50$ and a subnet mask of $255.255.224.0$, 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. $255.255.255.255$ and $172.16.64.255$
B. $255.255.255.255$ and $172.16.127.255$
C. $172.16.255.255$ and $172.16.65.255$
D. $255.255.255.255$ and $172.16.95.255$

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 remains constant because the hub acts as a repeater.
B. Throughput increases linearly with due to statistical multiplexing.
C. Throughput drops to near zero as the probability of collisions approaches 1.
D. Throughput approaches of the channel capacity.

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

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

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 Storage Area Network (SAN) extending over WAN.
B. A completely distinct autonomous system (AS).
C. An Overlay Network.
D. A physical Point-to-Point WAN topology.

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 encrypt data payloads before they are passed down to the Physical Layer.
B. To uniquely identify the logical address of the underlying hardware (MAC address).
C. To act as the logical interface through which Layer provides its services to Layer .
D. To provide a physical interface for cables connecting to a router.