NAME
CIS 677: Second Exam
Mo, May 11, 1997, 50 minutes
Open Notes, Open Books
Circle the right answer for each problem
Points per answer: correct 2, incorrect 0, none 1
- Problem #1
Bit stuffing calls for adding a 0 bit after each run 11111
- Between the end delimiters of the frame
- Just within the data field of the frame
- Throughout the whole frame
- None of the above
- Problem #2
For every string, even and odd parity error corrections
- Always agree on the bit they add
- Never agree on the bit they add
- Sometimes agree on the bit they add, and sometime disagree
- None of the above, because they change a bit-not add a bit.
- Problem #3
CRC-16 requires that the given binary string be divisible by
- A constant made out of of 16 bits
- A polynomial of degree 17
- The integer 16
- None of the above
- Problem #4
- The stop-and-wait protocol can't simulate the sliding-window protocol, and the sliding-window
protocol can't simulate the stop-and-wait protocol
- The stop-and-wait protocol can simulate the sliding-window protocol, and the sliding-window
protocol can simulate the stop-and-wait protocol
- The stop-and-wait protocol can't simulate the sliding-window protocol, but the sliding-window
protocol can simulate the stop-and-wait protocol
- The stop-and-wait protocol can simulate the sliding-window protocol, but the sliding-window
protocol can't simulate the stop-and-wait protocol
- Problem #5
Consider a communication between two stations using the stop-and-wait ARQ protocol.
Assume that only the odd frames submitted by a sending station reach their destination,
and that only the odd acknowledgments submitted by the receiver station reach their
destination.
That is, the first frame successfully reaches its destination, the second fails to do so, the third
reaches successfully its destination, and so forth. Similarly, the first acknowledgment successfully
reaches its destination, the second fails to do so, the third reaches successfully its destination, and
so forth.
The number of frames, plus the number of acknowledgments, submitted until the sender gets a
second acknowledgment, equals
- 7
- 8
- 9
- None of the above
- Problem #6
A control field starting with 00, in a HDLC frame, identifies a frame of type
- Information
- Supervisory
- Unnumbered
- None of the above
- Problem #7
Consider the following circuit switch
The number of possible connections at any given time is at most
a. 3 b.
4 c.
5 d.
6
- Problem #8
Synchronous time-division multiplexing for circuit switching may be coupled with
- Adaptive routing but not alternate routing
- Alternate routing but not adaptive routing
- Alternate routing or adaptive routing
- Neither alternate routing nor adaptive routing
- Problem #9
- Circuit switching must determine the communication path in advance, but packet switching can't
do so
- Circuit switching must determine the communication path in advance, and packet switching may
do so too
- Circuit switching does not need to determine the communication path in advance, and neither does
packet switching
- None of the above holds
- Problem #10
Assume a linear network consisting of two end stations and three packet switching nodes.

If node A sends to node B 10 packets of size 550 bits each, and if the travel time for each packet
over each link is 550 time units, then all the packet will reach B after
- 5500 time units
- 6050 time units
- 6600 time units
- 7150 time units
Problem #11
Which of the following networks can not offer connectionless service
- Circuit switching networks
- Packet switching with virtual circuits
- Packet switching with datagrams
- Linear packet-switching networks (see figure in previous example).
Problem #12
Consider the following packet switching network, with the possibility that some of the links are
broken.

What should be the least value assigned to the counter of a packet, by the flooding routing
algorithm, when the packet is to be submitted across the above network.
- 3
- 4
- 5
- 6
Problem #13
Consider the following packet switching network, and the information available to node `b' for
computing its nest-destination table according to the first-generation adaptive routing algorithm of
ARPANET.

Which of the following cases provides the vector of next destinations for the targets
(a,c,d,e,f).
- (a,c,f,c,f)
- (a,c,f,f,f)
- (c,c,f,c,f)
- none of the above
grades