☑ MCQ PRACTICE

Computer Networks Unit 3

Practice objective questions for quick revision and examination preparation. Try answering each question before revealing the answer.

📚 Computer Networks
📖 Unit 3
🎯 MCQs
Computer Networks MCQs - Unit 3

Computer Networks MCQs - Unit 3

1

The main function of the network layer is

A converting bits to signals
B encrypting data
C managing dialogs
D routing packets from the source to the destination
Correct Answer routing packets from the source to the destination
2

In store-and-forward packet switching, a router

A forwards bits immediately without storing
B never stores packets
C receives the whole packet before forwarding it
D only drops packets
Correct Answer receives the whole packet before forwarding it
3

In a datagram network, each packet is

A sent along a fixed virtual circuit
B routed independently
C never routed
D always broadcast
Correct Answer routed independently
4

The shortest path routing algorithm commonly used is

A Kruskal's algorithm
B Huffman's algorithm
C Euclid's algorithm
D Dijkstra's algorithm
Correct Answer Dijkstra's algorithm
5

In flooding, a router sends each incoming packet

A only on the arrival line
B only on the shortest path
C to no line
D on every outgoing line except the one it arrived on
Correct Answer on every outgoing line except the one it arrived on
6

A well-known problem of distance vector routing is

A the dining philosophers problem
B the hidden terminal problem
C the two-army problem
D the count-to-infinity problem
Correct Answer the count-to-infinity problem
7

OSPF is an example of

A distance vector routing
B flooding only
C static routing only
D link state routing
Correct Answer link state routing
8

Hierarchical routing is used to

A reduce the size of routing tables by dividing the network into regions
B increase the size of routing tables
C avoid routers
D avoid addresses
Correct Answer reduce the size of routing tables by dividing the network into regions
9

A common technique used in broadcast routing is

A static spanning only
B token passing
C reverse path forwarding
D bit stuffing
Correct Answer reverse path forwarding
10

The leaky bucket algorithm

A smooths bursty traffic to a constant output rate
B allows unlimited bursts
C drops all packets
D increases burstiness
Correct Answer smooths bursty traffic to a constant output rate
11

The token bucket algorithm

A forces a constant rate always
B never allows bursts
C stops all traffic
D allows bursts of traffic up to a limit
Correct Answer allows bursts of traffic up to a limit
12

A choke packet is sent by a congested router to

A increase the traffic
B broadcast an advertisement
C reset the network
D ask the source to slow down
Correct Answer ask the source to slow down
13

Which of the following is a Quality of Service parameter?

A Jitter
B Font size
C Cable color
D Router price
Correct Answer Jitter
14

An IPv4 address is

A 64 bits long
B 128 bits long
C 32 bits long
D 48 bits long
Correct Answer 32 bits long
15

An IPv6 address is

A 32 bits long
B 64 bits long
C 128 bits long
D 48 bits long
Correct Answer 128 bits long
16

The first-octet range of Class B IPv4 addresses is

A 128 to 191
B 1 to 126
C 192 to 223
D 224 to 239
Correct Answer 128 to 191
17

The default subnet mask for a /24 network is

A 255.255.0.0
B 255.255.255.0
C 255.0.0.0
D 255.255.255.255
Correct Answer 255.255.255.0
18

Which of the following is a private IPv4 address?

A 192.168.1.10
B 8.8.8.8
C 122.15.20.3
D 203.0.113.5
Correct Answer 192.168.1.10
19

NAT is used to

A encrypt data
B compress data
C translate private addresses to public addresses
D convert bits to signals
Correct Answer translate private addresses to public addresses
20

ICMP is used for

A file transfer
B error reporting and diagnostics such as ping
C email delivery
D web browsing
Correct Answer error reporting and diagnostics such as ping
21

ARP is used to map

A an IP address to a MAC address
B a domain name to an IP address
C a MAC address to a port
D a URL to a file
Correct Answer an IP address to a MAC address
22

DHCP is used to

A translate domain names
B assign IP addresses to hosts dynamically
C send email
D encrypt packets
Correct Answer assign IP addresses to hosts dynamically
23

BGP is

A an interior routing protocol only
B a data link protocol
C an application layer protocol for email
D an exterior (inter-domain) routing protocol
Correct Answer an exterior (inter-domain) routing protocol
24

A router operates at the

A physical layer
B session layer
C network layer
D application layer
Correct Answer network layer
25

Dividing a packet into smaller pieces to fit the maximum transfer unit (MTU) of a network is called

A fragmentation
B encapsulation
C multiplexing
D encoding
Correct Answer fragmentation

Fill in the Blanks

26 The unit of data at the network layer is the ______.
Correct Answer packet
27 The shortest path routing algorithm commonly used is ______'s algorithm.
Correct Answer Dijkstra
28 In flooding, a router sends each packet on every outgoing line except the one it ______ on.
Correct Answer arrived
29 Distance vector routing is based on the ______ algorithm.
Correct Answer Bellman-Ford
30 A well-known problem of distance vector routing is the ______ problem.
Correct Answer count-to-infinity
31 OSPF is a ______ state routing protocol.
Correct Answer link
32 The leaky bucket algorithm outputs traffic at a ______ rate.
Correct Answer constant
33 The token bucket algorithm allows ______ of traffic.
Correct Answer bursts
34 An IPv4 address is ______ bits long.
Correct Answer 32
35 An IPv6 address is ______ bits long.
Correct Answer 128
36 ARP maps an IP address to a ______ address.
Correct Answer MAC
37 NAT translates private addresses to ______ addresses.
Correct Answer public
38 ICMP stands for Internet ______ Message Protocol.
Correct Answer Control
39 DHCP stands for Dynamic Host ______ Protocol.
Correct Answer Configuration
40 BGP stands for ______ Gateway Protocol.
Correct Answer Border
← Back to All MCQs