Unit 1: Introduction and Network Models - 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 software tool used to create documents
B. A group of connected devices that share data
C. A single computer running several programs
D. A storage device used for backups

2 Which is a common benefit of computer networks?

Introduction to Computer Networks Easy
A. Battery charging
B. Resource sharing
C. Screen cleaning
D. Keyboard repair

3 Which type of network usually covers a small area such as an office or school building?

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

4 Which type of network can connect devices across countries or continents?

Networks and Types Easy
A. PAN
B. LAN
C. A private network designed only for communication between components inside one desktop computer
D. WAN

5 In a client-server network, what does a server commonly do?

Network hardware architecture Easy
A. Provides services to clients
B. Connects only wireless keyboards
C. Requests every service from clients
D. Replaces all network cables

6 Which device allows a computer to connect to a network?

Network hardware architecture Easy
A. Graphics processing unit
B. Network interface card
C. Central processing unit
D. Read-only memory chip

7 In which topology are all devices connected to a central device?

Network topologies Easy
A. Bus topology
B. Star topology
C. Mesh topology in which every device has a direct connection to every other device
D. Ring topology

8 Which topology uses a single shared backbone cable?

Network topologies Easy
A. Mesh topology
B. Ring topology
C. Star topology
D. Bus topology

9 What does a hub do when it receives data on one port?

Hub Easy
A. Sends it only to the destination port
B. Translates it into an application-layer protocol before forwarding it to a remote network
C. Stores it permanently on the network
D. Broadcasts it through all other ports

10 Which address does an Ethernet switch primarily use to forward frames?

Switch Easy
A. Email address
B. Postal address
C. MAC address
D. Web address

11 Compared with a hub, how does a switch normally forward data?

Switch Easy
A. It sends data toward the intended device
B. It converts every frame into a printed document
C. It broadcasts every frame to every network worldwide
D. It permanently saves all transmitted data

12 What is the main purpose of a router?

Routers Easy
A. To create user passwords
B. To display web pages
C. To store keyboard input
D. To connect different networks

13 Which address does a router primarily examine when forwarding an IP packet?

Routers Easy
A. A human-readable domain name containing the complete website path and file name
B. IP address
C. Port label
D. MAC address

14 In peer-to-peer network architecture, how can devices commonly operate?

Network software architecture Easy
A. Only as dedicated servers
B. Only as dependent clients
C. As both clients and servers
D. As physical cables between separate networks

15 What is a network protocol?

Network layers and protocols Easy
A. A central device that broadcasts electrical signals to every connected port without examining addresses
B. A set of communication rules
C. A type of network cable
D. A physical storage device

16 Why are network functions divided into layers?

Network layers and protocols Easy
A. To remove all device addresses
B. To increase monitor brightness
C. To make every computer use identical hardware
D. To organize communication tasks

17 How many layers are in the OSI model?

OSI Model Easy
A. Eight layers
B. Four layers
C. Five layers
D. Seven layers

18 Which is the lowest layer of the OSI model?

OSI Model Easy
A. Physical layer
B. Network layer
C. Transport layer
D. Application layer

19 Which TCP/IP protocol provides reliable, connection-oriented data delivery?

TCP/IP protocol suite Easy
A. UDP
B. ARP
C. TCP
D. IP

20 Which protocol is commonly used to access web pages securely?

TCP/IP protocol suite Easy
A. SMTP
B. A routing protocol used by routers to exchange complete network reachability information
C. HTTPS
D. FTP

21 A company stores project files on a central server so that employees can access the latest versions from their workstations. Which primary benefit of computer networking does this scenario demonstrate?

Introduction to Computer Networks Medium
A. Signal modulation
B. Data compression
C. Resource sharing
D. Process scheduling

22 A university connects networks in several buildings across a campus under one administration. Which type of network best describes this arrangement?

Networks and Types Medium
A. Campus area network
B. Metropolitan area network
C. Wide area network
D. Personal area network

23 A logistics company connects offices located in different countries through leased communication links. Which network type is most appropriate?

Networks and Types Medium
A. Campus area network
B. Wide area network
C. Personal area network
D. Local area network

24 In a small office, every computer can both request files from and provide files to other computers without using a dedicated server. Which hardware architecture is being used?

Network hardware architecture Medium
A. Controller-based architecture
B. Peer-to-peer architecture
C. Client-server architecture
D. Mainframe-terminal architecture

25 An organization needs centralized authentication, backup, and access control for 200 employee computers. Which architecture best supports these requirements?

Network hardware architecture Medium
A. Point-to-point architecture
B. Peer-to-peer architecture
C. Client-server architecture
D. Ad hoc architecture

26 A network administrator wants the failure of one workstation cable to affect only that workstation. Which physical topology best satisfies this requirement?

Network topologies Medium
A. Ring topology
B. Star topology
C. Mesh topology
D. Bus topology

27 A network has five devices, and every device requires a dedicated point-to-point connection to every other device. How many links are required for a full mesh topology?

Network topologies Medium
A. links
B. links
C. links
D. links

28 Computer A sends a frame to Computer B through an Ethernet hub. What does the hub do with the incoming signal?

Hub Medium
A. Forwards it only toward Computer B
B. Stores it until Computer B requests it
C. Repeats it through all other active ports
D. Routes it using Computer B's IP address

29 A switch receives a unicast Ethernet frame whose destination MAC address is not present in its forwarding table. What will the switch normally do?

Switch Medium
A. Return the frame to the sender
B. Flood the frame except on the incoming port
C. Discard the frame immediately
D. Send the frame to the router

30 A switch receives a frame from a newly connected device. Which information does it use to learn where that device is located?

Switch Medium
A. The source MAC address and incoming port
B. The destination MAC address and outgoing port
C. The source IP address and subnet mask
D. The destination IP address and default route

31 A host determines that a destination IP address is outside its local subnet. To which device should it send the packet next?

Routers Medium
A. The nearest Ethernet hub
B. The default gateway
C. The local DNS server
D. The destination switch

32 A router has matching routes 10.0.0.0/8, 10.20.0.0/16, and 10.20.30.0/24. Which route will it use for a packet addressed to 10.20.30.45?

Routers Medium
A. The default route
B. 10.20.0.0/16
C. 10.20.30.0/24
D. 10.0.0.0/8

33 A web browser requests a page from a continuously available web server. Which software architecture does this interaction represent?

Network software architecture Medium
A. Client-server architecture
B. Batch-processing architecture
C. Publish-only architecture
D. Peer-to-peer architecture

34 In a peer-to-peer file-sharing application, one computer downloads part of a file while uploading another part to a different computer. What role is that computer performing?

Network software architecture Medium
A. Both client and server
B. Only a server
C. Neither client nor server
D. Only a client

35 Why is layering useful when a network application is moved from wired Ethernet to Wi-Fi?

Network layers and protocols Medium
A. The application can remain unchanged while lower layers adapt
B. The wireless medium removes the need for routing
C. The application automatically receives a new IP address
D. The transport protocol becomes part of the physical layer

36 During encapsulation, which sequence correctly shows data moving down a typical protocol stack?

Network layers and protocols Medium
A. Application data, packet, segment, bits, frame
B. Bits, frame, packet, segment, application data
C. Application data, segment, packet, frame, bits
D. Segment, application data, frame, packet, bits

37 A gateway converts text between two character encodings before delivering it to an application. Which OSI layer is primarily responsible for this function?

OSI Model Medium
A. Network layer
B. Session layer
C. Transport layer
D. Presentation layer

38 A diagnostic tool confirms that frames reach a host and IP routing works, but the destination TCP port is closed. At which OSI layer does the failure occur?

OSI Model Medium
A. Data link layer
B. Network layer
C. Transport layer
D. Presentation layer

39 A real-time voice application prioritizes low delay and can tolerate occasional packet loss. Which transport protocol is generally more suitable?

TCP/IP protocol suite Medium
A. IP, because it guarantees packet order
B. UDP, because it avoids connection overhead
C. ARP, because it resolves port numbers
D. TCP, because it retransmits lost data

40 Which mapping correctly relates TCP/IP layers to their main responsibilities?

TCP/IP protocol suite Medium
A. Application: local delivery; Transport: user services; Internet: process delivery; Link: routing
B. Application: routing; Transport: local delivery; Internet: user services; Link: process delivery
C. Application: user services; Transport: process delivery; Internet: routing; Link: local delivery
D. Application: process delivery; Transport: routing; Internet: local delivery; Link: user services

41 A network application sends a 10 MB file across a path whose bottleneck capacity is 20 Mbps, propagation delay is 40 ms, and the receiver acknowledges every 64 KB. Ignoring processing and queuing delays, which change most directly improves the minimum possible completion time?

Introduction to Computer Networks Hard
A. Replacing the receiver's display adapter
B. Increasing the sender's local CPU frequency
C. Increasing the bottleneck link capacity
D. Adding a second application-layer checksum

42 An organization connects branch offices through a provider-managed backbone, while each branch uses an internal Ethernet network. Which classification best describes the complete arrangement?

Networks and Types Hard
A. A single WAN because branches are interconnected
B. An internetwork containing LANs and a WAN
C. A PAN because users access local branch devices
D. A single LAN because Ethernet is used internally

43 A host uses a network interface card that supports DMA and interrupt coalescing. Which result is most likely when receiving many small frames at high rate?

Network hardware architecture Hard
A. Higher interrupt overhead per received frame
B. Elimination of frame validation by the NIC
C. Conversion of Ethernet frames into IP packets
D. Lower CPU intervention and fewer receive interrupts

44 In a full-mesh topology with directly connected nodes, how many bidirectional physical links are required, and what is the main trade-off?

Network topologies Hard
A. links; centralized failure tolerance
B. links; minimal redundancy and simple expansion
C. links; high redundancy but poor scalability
D. links; maximum scalability and low cost

45 Two stations connected to a half-duplex Ethernet hub transmit at nearly the same time. Which behavior is expected?

Hub Hard
A. The transmissions collide and the stations use backoff
B. The hub creates a separate collision domain for each station
C. The hub selects the frame with the stronger signal
D. The hub buffers both frames and forwards them sequentially

46 A switch receives a frame whose destination MAC address is absent from its forwarding table. What is the correct behavior if the frame is not broadcast or multicast?

Switch Hard
A. Flood the frame out all ports except the ingress port
B. Discard the frame because the destination is unresolved
C. Send the frame only to the default gateway
D. Rewrite the destination MAC address before forwarding

47 A Layer 2 switch receives a frame with a source MAC address already present in its table, but on a different ingress port. What does this most strongly indicate?

Switch Hard
A. A malformed transport-layer segment
B. A normal MAC-table aging event
C. A failed IP routing decision
D. A possible host move or switching loop

48 A router has routes for 10.0.0.0/8, 10.20.0.0/16, and 10.20.30.0/24. For a packet destined to 10.20.30.45, which route is selected?

Routers Hard
A. 10.20.0.0/16 because it has the lowest network number
B. 10.0.0.0/8 because it was learned first
C. 10.20.30.0/24 because it is the longest prefix match
D. All three routes because equal destinations are load-balanced

49 A router connects two IP subnets and receives an Ethernet broadcast on one interface. Under normal routing behavior, what happens to that broadcast?

Routers Hard
A. It is converted into a unicast packet automatically
B. It is contained within the local broadcast domain
C. It is forwarded unchanged through every routed interface
D. It is forwarded only when the TTL is greater than one

50 A network stack uses a socket API so the same application can communicate over different transport protocols. Which architectural property does this primarily demonstrate?

Network software architecture Hard
A. Elimination of protocol-specific transport behavior
B. Replacement of routing decisions by applications
C. Tight coupling between application and link layers
D. Abstraction of transport services behind a stable interface

51 A protocol layer receives data from the layer above and adds a header before passing it downward. At the destination, the corresponding layer removes that header. What is this process called?

Network software architecture Hard
A. Routing followed by switching
B. Fragmentation followed by multiplexing
C. Authentication followed by compression
D. Encapsulation followed by decapsulation

52 A reliable transport protocol operates over an unreliable network layer. Which responsibility must the transport protocol provide if applications require ordered, loss-free delivery?

Network layers and protocols Hard
A. MAC address learning at every switch
B. Physical signal regeneration
C. End-to-end sequencing and retransmission
D. Selection of the shortest physical cable

53 A host receives two application streams through the same transport protocol and destination IP address. Which mechanism allows the transport layer to deliver each segment to the correct process?

Network layers and protocols Hard
A. The router's longest-prefix table
B. The destination device's physical topology
C. The source and destination port numbers
D. The Ethernet preamble and interframe gap

54 A packet reaches the correct host, but the data is delivered to the wrong application process. Which OSI-layer boundary most directly represents the failed function?

OSI Model Hard
A. Physical layer between signals and bits
B. Data Link layer between frames and media
C. Transport layer between segments and processes
D. Network layer between packets and routes

55 A protocol performs data translation, character-set conversion, and encryption for an application. Which OSI layer is the best conceptual placement?

OSI Model Hard
A. Network layer
B. Presentation layer
C. Session layer
D. Data Link layer

56 A communication failure occurs only after a long idle period because a logical dialog must be re-established before data can continue. Which OSI function is most relevant?

OSI Model Hard
A. Network-layer route aggregation
B. Session establishment and dialog control
C. Physical modulation and line coding
D. Data-link frame delimiting

57 An IPv4 packet has a 1,500-byte total size and traverses a link with an MTU of 1,000 bytes. If fragmentation is allowed and the IPv4 header is 20 bytes, how many fragments are required?

TCP/IP protocol suite Hard
A. One fragment carrying 1,500 bytes
B. Two fragments carrying 1,000 and 500 bytes
C. Two fragments carrying 980 and 500 bytes
D. Three fragments carrying 980, 500, and 20 bytes

58 A TCP sender has a congestion window of 12 MSS and receives three duplicate acknowledgments for the same sequence number. Assuming classic TCP Reno behavior and no retransmission timeout, what is the immediate congestion response?

TCP/IP protocol suite Hard
A. The sender resets the congestion window to one MSS
B. The sender ignores the duplicates until a timeout occurs
C. The sender increases the congestion window by three MSS
D. The sender retransmits the missing segment and reduces its sending rate

59 A host receives an IPv4 packet whose destination address is local, but the packet's TTL is zero on arrival. What should the host do according to IPv4 processing rules?

TCP/IP protocol suite Hard
A. Reassemble the packet before checking the TTL
B. Increment the TTL and forward the packet
C. Deliver the payload because the destination is local
D. Discard the packet because its lifetime has expired

60 A TCP connection experiences high throughput on a low-bandwidth, high-delay path but performs poorly when the receive window is small. Which relationship best explains the limitation?

TCP/IP protocol suite Hard
A. Throughput is bounded by the receive window divided by the round-trip time
B. Throughput is determined only by the Ethernet frame preamble
C. Throughput is independent of window size after connection setup
D. Throughput increases when the round-trip time increases