โ˜‘ MCQ PRACTICE

Computer Networks Unit 2

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

๐Ÿ“š Computer Networks
๐Ÿ“– Unit 2
๐ŸŽฏ MCQs
Computer Networks MCQs - Unit 2

Computer Networks MCQs - Unit 2

1

In the simplex stop-and-wait protocol for an error-free channel, the sender

A sends all frames at once
B never waits
C sends frames in reverse order
D sends one frame and waits for an acknowledgement
Correct Answer sends one frame and waits for an acknowledgement
2

A stop-and-wait protocol for a noisy channel needs

A no timer
B a timer and sequence numbers
C no acknowledgements
D only parity bits
Correct Answer a timer and sequence numbers
3

PAR stands for

A Packet Acknowledgement Rate
B Positive Acknowledgement with Retransmission
C Protocol for Automatic Routing
D Primary Access Router
Correct Answer Positive Acknowledgement with Retransmission
4

The one-bit sliding window protocol has a window size of

A 2
B 1
C 7
D unlimited
Correct Answer 1
5

The receiver window size in Go-Back-N is

A equal to the sender window
B 2
C 1
D unlimited
Correct Answer 1
6

With n-bit sequence numbers, the maximum sender window size in Go-Back-N is

A 2โฟ
B 2โฟโปยน
C n
D 2โฟ โˆ’ 1
Correct Answer 2โฟ โˆ’ 1
7

With n-bit sequence numbers, the maximum window size in Selective Repeat is

A 2โฟ โˆ’ 1
B 2โฟโปยน
C 2โฟ
D nยฒ
Correct Answer 2โฟโปยน
8

In Go-Back-N, when a frame is damaged, the sender retransmits

A that frame and all the frames that follow it
B only the damaged frame
C only the first frame
D no frames
Correct Answer that frame and all the frames that follow it
9

In Selective Repeat, when a frame is damaged, the sender retransmits

A all frames
B all frames after it
C the first frame only
D only the damaged frame
Correct Answer only the damaged frame
10

Piggybacking means

A attaching an acknowledgement to an outgoing data frame
B sending a frame twice
C deleting a frame
D compressing a frame
Correct Answer attaching an acknowledgement to an outgoing data frame
11

HDLC is a

A byte-oriented application protocol
B bit-oriented data link protocol
C network layer protocol
D physical medium
Correct Answer bit-oriented data link protocol
12

PPP is mainly used for

A broadcast satellite links only
B point-to-point links such as dial-up Internet access
C LAN switching only
D wireless sensor networks only
Correct Answer point-to-point links such as dial-up Internet access
13

The channel allocation problem deals with

A how to share a single broadcast channel among competing users
B how to compress data
C how to route packets
D how to encrypt data
Correct Answer how to share a single broadcast channel among competing users
14

The maximum throughput of pure ALOHA is about

A 36.8%
B 50%
C 100%
D 18.4%
Correct Answer 18.4%
15

The maximum throughput of slotted ALOHA is about

A 36.8%
B 18.4%
C 50%
D 100%
Correct Answer 36.8%
16

The vulnerable period of a frame in pure ALOHA is

A one frame time
B two frame times
C half a frame time
D zero
Correct Answer two frame times
17

In CSMA, a station

A transmits without listening
B listens to the channel before transmitting
C never transmits
D only receives
Correct Answer listens to the channel before transmitting
18

In 1-persistent CSMA, a station that finds the channel idle

A waits a random time
B never transmits
C transmits immediately
D transmits with probability 0
Correct Answer transmits immediately
19

CSMA/CD is used in

A IEEE 802.11 wireless LANs
B token ring only
C ARPANET
D classic Ethernet
Correct Answer classic Ethernet
20

CSMA/CA is used in

A classic Ethernet
B optical fiber backbone only
C wireless LANs (IEEE 802.11)
D telephone lines
Correct Answer wireless LANs (IEEE 802.11)
21

Which of the following is a collision-free protocol?

A Bit-map protocol
B Pure ALOHA
C Slotted ALOHA
D 1-persistent CSMA
Correct Answer Bit-map protocol
22

The hidden terminal problem occurs in

A optical fiber links
B classic Ethernet
C telephone exchanges
D wireless LANs
Correct Answer wireless LANs
23

A learning bridge builds its forwarding table using

A manual configuration only
B DNS queries
C backward learning
D ARP replies only
Correct Answer backward learning
24

Bridges use a spanning tree to

A avoid loops in the network
B increase collisions
C encrypt frames
D assign IP addresses
Correct Answer avoid loops in the network
25

Data link layer switching is done by

A bridges and switches
B routers only
C gateways only
D repeaters only
Correct Answer bridges and switches

Fill in the Blanks

26 In stop-and-wait, the sender waits for an ______ before sending the next frame.
Correct Answer acknowledgement
27 PAR stands for Positive Acknowledgement with ______.
Correct Answer Retransmission
28 The receiver window size in Go-Back-N is ______.
Correct Answer 1
29 With n-bit sequence numbers, the maximum sender window in Go-Back-N is ______.
Correct Answer 2โฟ โˆ’ 1
30 With n-bit sequence numbers, the maximum window size in Selective Repeat is ______.
Correct Answer 2โฟโปยน
31 Attaching an acknowledgement to an outgoing data frame is called ______.
Correct Answer piggybacking
32 The maximum throughput of pure ALOHA is about ______.
Correct Answer 18.4%
33 The maximum throughput of slotted ALOHA is about ______.
Correct Answer 36.8%
34 The vulnerable period of pure ALOHA is ______ frame times.
Correct Answer two
35 CSMA/CD stands for Carrier Sense Multiple Access with Collision ______.
Correct Answer Detection
36 CSMA/CA is used in ______ LANs.
Correct Answer wireless
37 In the ______ protocol, stations announce their wish to transmit in contention slots.
Correct Answer bit-map
38 ______ is a bit-oriented data link protocol.
Correct Answer HDLC
39 PPP stands for ______ Protocol.
Correct Answer Point-to-Point
40 Bridges learn the location of stations using ______ learning.
Correct Answer backward
โ† Back to All MCQs