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

2 Which is a common benefit of computer networks?

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

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

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

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. Requests every service from clients
B. Replaces all network cables
C. Provides services to clients
D. Connects only wireless keyboards

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

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

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

Network topologies Easy
A. Star topology
B. Bus 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. Ring topology
B. Mesh topology
C. Star topology
D. Bus topology

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

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

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

Switch Easy
A. MAC address
B. Postal address
C. Web address
D. Email 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 permanently saves all transmitted data
C. It converts every frame into a printed document
D. It broadcasts every frame to every network worldwide

12 What is the main purpose of a router?

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

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. Port label
C. MAC address
D. IP address

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

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

15 What is a network protocol?

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

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. Five layers
B. Seven layers
C. Four layers
D. Eight layers

18 Which is the lowest layer of the OSI model?

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

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

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

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

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

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. Resource sharing
C. Process scheduling
D. Data compression

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. Wide area network
B. Personal area network
C. Campus area network
D. Metropolitan 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. Local area network
B. Campus area network
C. Wide area network
D. Personal 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. Peer-to-peer architecture
B. Controller-based 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. Ad hoc architecture
B. Point-to-point architecture
C. Peer-to-peer architecture
D. Client-server 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. Bus topology
B. Ring topology
C. Star topology
D. Mesh 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. Stores it until Computer B requests it
B. Repeats it through all other active ports
C. Forwards it only toward Computer B
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. Discard the frame immediately
B. Send the frame to the router
C. Flood the frame except on the incoming port
D. Return the frame to the sender

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 local DNS server
B. The nearest Ethernet hub
C. The default gateway
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. 10.20.30.0/24
B. 10.0.0.0/8
C. The default route
D. 10.20.0.0/16

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. Publish-only architecture
B. Batch-processing architecture
C. Peer-to-peer architecture
D. Client-server 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. Only a client
D. Neither client nor server

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

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

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

Network layers and protocols Medium
A. Bits, frame, packet, segment, application data
B. Segment, application data, frame, packet, bits
C. Application data, packet, segment, bits, frame
D. Application data, segment, packet, frame, 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. Transport layer
C. Session 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. Presentation layer
B. Network layer
C. Transport layer
D. Data link 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. ARP, because it resolves port numbers
B. TCP, because it retransmits lost data
C. UDP, because it avoids connection overhead
D. IP, because it guarantees packet order

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

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

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 bottleneck link capacity
C. Increasing the sender's local CPU frequency
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. A PAN because users access local branch devices
C. An internetwork containing LANs and a WAN
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. Conversion of Ethernet frames into IP packets
C. Elimination of frame validation by the NIC
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; maximum scalability and low cost
B. links; minimal redundancy and simple expansion
C. links; centralized failure tolerance
D. links; high redundancy but poor scalability

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

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

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. Rewrite the destination MAC address before forwarding
B. Discard the frame because the destination is unresolved
C. Send the frame only to the default gateway
D. Flood the frame out all ports except the ingress port

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 failed IP routing decision
B. A possible host move or switching loop
C. A malformed transport-layer segment
D. A normal MAC-table aging event

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. All three routes because equal destinations are load-balanced
B. 10.20.0.0/16 because it has the lowest network number
C. 10.0.0.0/8 because it was learned first
D. 10.20.30.0/24 because it is the longest prefix match

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 contained within the local broadcast domain
B. It is forwarded only when the TTL is greater than one
C. It is forwarded unchanged through every routed interface
D. It is converted into a unicast packet automatically

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. Abstraction of transport services behind a stable interface
B. Replacement of routing decisions by applications
C. Tight coupling between application and link layers
D. Elimination of protocol-specific transport behavior

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. Encapsulation followed by decapsulation
B. Fragmentation followed by multiplexing
C. Routing followed by switching
D. Authentication followed by compression

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. Physical signal regeneration
B. MAC address learning at every switch
C. Selection of the shortest physical cable
D. End-to-end sequencing and retransmission

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 Ethernet preamble and interframe gap
B. The destination device's physical topology
C. The router's longest-prefix table
D. The source and destination port numbers

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. Network layer between packets and routes
C. Transport layer between segments and processes
D. Data Link layer between frames and media

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. Presentation layer
B. Network 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. Data-link frame delimiting
B. Physical modulation and line coding
C. Network-layer route aggregation
D. Session establishment and dialog control

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. Two fragments carrying 1,000 and 500 bytes
B. Three fragments carrying 980, 500, and 20 bytes
C. Two fragments carrying 980 and 500 bytes
D. One fragment carrying 1,500 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 retransmits the missing segment and reduces its sending rate
B. The sender resets the congestion window to one MSS
C. The sender increases the congestion window by three MSS
D. The sender ignores the duplicates until a timeout occurs

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. Increment the TTL and forward the packet
B. Reassemble the packet before checking the TTL
C. Discard the packet because its lifetime has expired
D. Deliver the payload because the destination is local

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 independent of window size after connection setup
B. Throughput is bounded by the receive window divided by the round-trip time
C. Throughput increases when the round-trip time increases
D. Throughput is determined only by the Ethernet frame preamble