Font size
WorksheetsNwc203c
Total questions: 125
Worksheet time: 1hrs 7mins
Which of the following networks use store-and-forward switching operation?
Computer networks
Telegraph networks
Telephone networks
Wireless Networks
There are similarities between message switching and packet switching. Which of following that applies to packet switching but not to message switching?
Variable length of information block
Supporting multiple applications
Store-and-forward
All of the above
Which of the following networks can be connection-oriented?
Telegraph networks
Computer networks
Telephone networks
All of the above
A protocol is a set of precise and unambiguous rules that governs
How two or more communicating entities in a layer are to interact
Messages that can be sent and received
Actions that are to be taken when a certain event occurs
All of the above
DNS is a domain-name-service that responds to queries of domain name to IP address or IP address to domain name. DNS uses services provided by
TCP
UDP
HTTP
None of the above
A network used to join the individual networks at different sites into one extended network is called
PAN
LAN
SAN
VPN
Upon receipt of a bad segment, UDP?
It does flow control
It does not do flow and error control
It does error control
Retransmission
Which of following protocol is HTTP built upon?
IP
TCP
UDP
SMTP
Which of following requirements are necessary for packet networks to support multiple and diverse applications?
Transfer arbitrary message size
Low delay for interactive applications
Packets have maximum length
All of the above
What was the concern of the telephone system that motivated the ARPANET design?
Scalability
Vulnerability
Efficiency
None of the above
Which of the following is an application layer protocol?
HTTP
UDP
DNS
TCP
Which of the following are features of ARPANET design?
Connectionless packet transmission
Routing tables at the packet switches
Destinations identified by unique addresses
All of the above
Bluetooth is an example of
Local Area Network
Wide Area Network
Metropolitan Area Network
Personal Area Network
In the layer hierarchy as the data packet moves from the upper to the lower layers, headers are
Removed
Modified
Added
Rearranged
The ________ is the physical path over which a message travels
Protocol
Route
Medium
Path
Three or more devices share a link in ________ connection
Unipoint
Multipoint
Point to Point
None of the above
Which of the following is true for Transport Control Protocol
Connection oriented
Process to Process
Transport layer protocol
Connectionless
Which OSI layer is responsible for providing end-to-end communication with reliable service?
Transport layer
Network layer
Session layer
Data link layer
Which OSI layer is responsible for dividing the transmitted bit stream into frames?
Network layer
Transport layer
Application layer
Data link layer
Which OSI layer is responsible for determining which route through the network to use?
Network layer
Data link layer
Transport layer
None of the above
Which feature does the data link layer and transport layer have in common?
Medium access control
All of the above
Congestion control
Flow control
Which protocol glues the network of networks together as the Internet?
TCP
UDP
IP
None of the above
In a LAN, which address is used to transfer frames to appropriate destination?
IP address
Physical address
Domain name
None of the above
Suppose an application layer entity wants to send an L-byte message to its peer process, using an existing TCP connection. The TCP segment consists of the message plus 20 bytes of header. The segment is encapsulated into an IP packet that has an additional 20 bytes of header. The IP packet in turn goes inside an Ethernet frame that has 18 bytes of header and trailer. What is the bandwidth utilization in terms of the percentage of the transmitted bits in the physical layer corresponds to message information if L = 500 bytes?
100%
70%
90%
80%
Of the following services, which service(s) does the IP layer provides?
Error control
Flow control
Connection-based data transfer
None of the above
Which of the following is true about the ways in which the OSI reference model and TCP/IP reference model differ.
They differ in the number of layers
TCP/IP model does not have presentation layer, but OSI model has
TCP/IP model does not have session layer, but OSI model has
All of the above
Which of following statements is true about how the data link layer and transport layer differ?
Data link layer is concerned with framing and the transport layer is not
Data link layer is concerned with flow control and the transport layer is not
Data link layer is concerned with multiplexing and the transport layer is not
All of the above
This layer is an addition to OSI model
Application layer
Presentation layer
Session layer
Presentation layer and Session layer
The functionalities of presentation layer includes
Data compression
Data encryption
Data decryption
All of the above
Which of the following applications would you select TCP protocol for?
File transfer
Domain name service
Web browsing
None of the above
In BSD socket API, which type of socket is used to create a TCP socket?
SOCK_STREAM
SOCK_RAW
SOCK_DGRAM
None of the above
In BSD socket API, which type of socket is used to create a UDP socket?
SOCK_STREAM
SOCK_DGRAM
SOCK_RAW
None of the above
In BSD socket API, which system call is used to assign a network address to the socket?
listen()
None of the above
connect()
bind()
In BSD socket API, if a client knows the server name but not server's network address, what system call should the client use to get server's network address?
Connect()
gethostbyname()
None of the above
gettimeofday()
In a transmission system, which of the following statement is true for a receiver
Receives energy from medium
Converts information into signal suitable for transmission
Converts received signal suitable for delivery to user
All of the above
In digital transmission, long distance digital communications require the use of a generator to recover original data sequence and re-transmits on next segment
True
False
In twisted pair, a category 5 UTP cable can support a data rate of up to 16MHz
True
False
Which of the following statement is true for optical fiber
Plentiful bandwidth for new services
Dominates long distance transmission
Distance less of a cost factor in communications
All of the above
Which of the following are advantages of optical fiber
Noise immunity
No corrosion
Extremely low bandwidth
Wavelength dependency
Given a 7-bit information frame (0, 1, 0, 1, 1, 0, 1), what is the even parity bit?
1
0
None of the above
Which of following statements are true for single-bit parity error detection? (2 answers)
It can detect all single bit errors in an information frame
It can detect all double bit errors in an information frame
It can detect all tripe bit errors in an information frame
None of the above
Which of following statements are true for two-dimensional parity error detection?
It can detect all single bit errors in an information frame
It can correct all single bit errors in an information frame
It can detect all double bit errors in an information frame
All of the above
What is the binary sequence that corresponds to polynomial code X^3 + x^2 + 1?
1110
0111
1101
111
Block codes are generated using _____.
Generator matrix
Generator polynomial
Both of the mentioned
None of the mentioned
Which of the following is true for two-dimensional parity check
Arrange information in rows
More parity bit to improve coverage
Arrange information in columns
Add multiple parity bits to each column
Using Euclidean Division, what will be the remainder of 70 by 999 where 70 is the divisor and 999 is the dividend
17
14
21
19
ARQ protocols combine error detection, retransmission and sequence numbering to provide reliability
True
False
Perform the bit stuffing procedure for the following binary sequence: 1101111111011111110101. What is the outcome?
110111110110111110110101
110111111101111111010100
0010000000100000001010
None of the above
Perform bit de-stuffing for the following sequence: 11101111101111100111110.
11101111111111011111
00010000010000011000001
11100111111110011111
None of the above
PPP is a data link protocol for point-to-point lines in Internet. Its framing is based on which of the following?
Byte stuffing
Bit stuffing
Word stuffing
None of the above
HDLC is another data link control protocol widely in use. Its framing is based on which of the following?
Byte stuffing
Bit stuffing
Word stuffing
None of the above
Which of following statements are true for HDLC?
supports various data transfer modes
supports multi-point links and point to point links
implements error control and flow control mechanisms
All of the above
In PPP authentication, which of the following is true for Challenge-Handshake Authentication Protocol (CHAP)
Initiator and authenticator share a secret key
Initiator must send ID and password
After several attempts, LCP closes link
Authenticator can reissue challenge during session
In error detection and loss recovery, which of the following statement is correct
Frames may undergo errors in transmission
CRCs detect errors and such frames treated as lost
Frames lost due to loss-of-synchronization or receiver buffer overflow
All of the above
In multiplexing, Last IN First Out (LIFO) is used to determine the order of packet transmission
True
False
Generic Framing Procedure (GFP) allows the implementation of multiple transport modes that may coexist within the same transport channel
True
False
In Generic Framing Procedure (GFP), which of the following sentences are correct
GFP uses a variation of HEC-based self delineation technique
GFP provides flexible encapsulation framework that supports either a fixed or variable length frame structure
GFP uses an explicit payload length indicator provided in its frame header to accommodate variable length PDUs
GFP rely on byte-stuffing mechanism to delineate protocol data units (PDUs)
What is the primary function of medium access control?
It is to deal with the flow control of a shared communication link.
It is to minimize or eliminate the incidence of collisions of a shared communication link.
It is to deal with the congestion control of a shared communication link.
None of the above
What is the primary benefit provided by the Slotted ALOHA compared to ALOHA?
Higher maximum throughput
Lower access delay
Both of the above
None of the above
What is the vulnerable period of collisions in ALOHA?
Round-trip propagation delay
One frame transmission time
Two frame transmission time
None of the above
What is the vulnerable period of collisions in Slotted ALOHA?
Round-trip propagation delay
One frame transmission time
Two frame transmission time
None of the above
What is the vulnerable period of collisions in Carrier Sense Multiple Access (CSMA)?
One frame transmission time
None of the above
Round-trip propagation delay
One propagation delay
The primary function of Media Access Control is to minimize or eliminate the instance of the collisions to achieve a reasonable utilization of the medium
True
False
In media sharing techniques, which of the following are channelization approaches
Data Division Multiple Access
Time Division Multiple Access
Code Division Multiple Access
Frequency Division Multiple Access
Corresponding box of Carrier Sense Multiple Access/Collision Detection can be replaced by one of the
Persistent process
P-persistent process
Non-persistent process
I-persistent process
Random access is also called the
Controlled access
Channelization
Authentication
Contention methods
In Carrier Sense Multiple Access (CSMA), possibility of collision still exist because of
Propagation delay
Collision delay
Transmit delay
None of the above
Polling is a scheduling approach for dynamic medium access control. Which of following statements are correct?
Polling can provide bounds on access delay to the shared medium
All of the above
Polling can provide fairness through regulated access opportunities
Polling performance can deteriorate with large delay-bandwidth product
In a collision-free reservation system that has a large number of light-traffic stations, and the delay-bandwidth product is larger than 1. Which of following MAC protocol is a good fit for stations to reserve mini-slots?
1-persistent CSMA
Slotted ALOHA
CSMA/CD
None of the above
In Carrier Sense Multiple Access with collision detection (CSMA-CD), how long will it take a collision to be detected and resolved?
Round-trip propagation delay
One propagation delay
One frame transmission time
None of the above
Suppose that the ALOHA protocol is used to share a 56 kbps satellite channel. Suppose that frames are 1000 bits long. What is the maximum throughput of the system in number of frames per second.
1 frame per second
10 frames per second
100 frames per second
None of the above
Consider building a CSMA/CD network running at 1Gbps over a 1-km cable. The signal speed in the cable is 200,000 km/sec. What is the minimum frame size?
64 Bytes
640 Bytes
1250 Bytes
None of the above
In media access control, which of the following statements are true for Channelization
Inflexible in allocating bandwidth to users with different requirements
Does not scale well to large numbers of users
Widely used in internet traffic
Inefficient for bursty traffic
In BSD socket API, which call is usually used for transmitting data in the connectionless mode?
accept()
connect()
sendto()
None of the above
Which of following statement about TCP/UDP sockets is wrong?
TCP socket is stream oriented
UDP socket is block oriented
TCP is faster than UDP
All of the above
Which of following are commonly used as digital communication medium?
Coaxial cable
All of the above
Twisted pair
Optical fiber
Consider a network link that has distance of 100 meters, and signal traverses at the speed of light in cable 2.5 x 10^8 meters per second. The link has transmission bandwidth of 100 megabits/second (100 x 10^6 bits per second). The packet size is 400 bits. What is the signal propagation delay?
4 x 10^-6 seconds
4 x 10^-7 seconds
4 x 10^-9 seconds
None of the above
Consider a network link that has distance of 100 meters, and signal traverses at the speed of light in cable 2.5 x 10^8 meters per second. The link has transmission bandwidth of 100 megabits/second (100 x 10^6 bits per second). The packet size is 400 bits. What is the packet transmission delay?
None of the above
4 x 10^-7 seconds
4 x 10^-6 seconds
4 x 10^-9 seconds
An API allows application programs to access certain resources through a predefined interface?
True
False
In transport protocol, which of the following statements is true for User Datagram Protocol
It enables best-effort connectionless transfer of individual block of information
It enables connection-oriented reliable transfer of individual block of information
It enables best-effort connectionless reliable transfer of a stream of bytes
None of the above
Which of the following sentences are true for connectionless stream mode of service (3 answers)
No setup overhead and delay
Send/receive to/from multiple peer processes
Destination address with each block
Multiple write/read between peer processes
In transmission delay, in order to reduce the number of bits in a message we use data compression
True
False
Which of the following is true of data compression algorithms (3 answers)
Modify data headers
Recover information approximately
Represent the information using fewer bits
Recover original information exactly
Assume bit errors occur at random. If each bit has 50% probability to be in error by transmission. What is the probability of a four-bit frame to be in error by transmission?
1/4
1/8
1/16
None of the above
A cyclic code can be generated using __________.
Generator matrix
Generator polynomial
Both of the mentioned
None of the mentioned
Polynomial codes are implemented using shift register circuits
True
False
What is the binary equivalent of the following polynomial arithmetic x7 + x6 + x5 + x2 + 1
11101101
11100101
11100111
11011101
Given an information polynomial code I(x) = X^7 + x^6 + x^1 + 1, which is its corresponding per-bit information frame?
None of the above
11000011
10100010
01100011
What is the remainder obtained by dividing x^7 + x^5 + 1 by the generator polynomial x^3 + 1?
x^2 + 1
x^2 + x + 1
None of the above
x^2 + x
Given a generator polynomial g(x) = x^3 + x + 1. Consider the information sequence 1001. By CRC method, what is the resulted codeword for transmission?
1001111
1001000
1001110
1010110
Which of following generator polynomial can detect all single bit errors in an information frame?
g(x) = x
g(x) = x^2
g(x) = x + 1
All of the above
Internet protocols use check bits to detect errors, instead of using CRC polynomial. The primary rationale is
Strength of error detection capability
Simplicity of implementation
CRC polynomial cannot work for Internet protocols
None of the above
The two basic approaches in error control are error prevention and detection, and error correction and re-transmission
True
False
Find parity bit for 1001011
0
1
2
None of the above
The divisor in a cyclic code is normally called the _________.
Degree
Redundancy
Generator
None of the above
The checksum of 0000 and 0000 is
0101
1010
1111
0000
In ASCII, a single parity bit code can detect ________ errors.
An odd number of
Two
No errors
An even number of
In networks where errors are infrequent, which approach is favored for efficiency?
Hop-by-hop approach
End-to-end approach
Either one of the above
Neither one of the above
Which of the following statements is true about the stop-and-wait ARQ protocol?
Stop-and-wait is only efficient if the link delay-bandwidth product is large
Stop-and-wait is only efficient if the link delay-bandwidth product is small
Stop-and-wait is only efficient if the link bandwidth is low
Stop-and-wait is only efficient if the link bandwidth is high
Consider a situation where an interactive application produces a packet to send each keystroke from the client and the server echoes each keystroke that it receives from the client. Which of following strategies for sending ACK frames in a Go-Back-N is appropriate for the situation?
send an ACK frame immediately after each frame is received
send an ACK frame after every other frame is received
send an ACK frame when the next piggyback opportunity arises
Any one of the above
Consider a bulk data transfer application where a server sends a large file that is segmented in a number of full-size packets that are to be transferred to the client. Assume the channel has a low probability of error. Which of following strategies for sending ACK frames in a Go-Back-N is appropriate for the situation?
send an ACK frame when the next piggyback opportunity arises
send an ACK frame immediately after each frame is received
send an ACK frame after every other frame is received
Any one of the above
Consider Selective Repeat ARQ flow control protocol. In the following scenario, what should be the value of frame number x at receiver B?
2
3
4
none
A service model specifies a level of performance that can be expected in the transfer of information.
True
False
A service offered at a given layer can include which of the following feature(s)
Sequencing
Reliability
Timing
All of the above
Digital communication technologies may introduce errors in communication, which of the following can be used to provide reliable communication (2 answers)
TCP
DNS
UDP
HDLC
Ensuring that information is not altered during transfer is associated with
Authentication
Confidentiality
Integrity
Availability
Given 3 bits for sequence numbers, what is the maximum sliding window size at the receiver in Go Back 3 ARQ?
3
7
8
None of the above
Given 3 bits for sequence numbers in Selective Repeat ARQ. If the sender already set the sliding window size to be 4, what is the maximum sliding window size at the receiver?
3
7
8
None of the above
In the scenario above, what should be the value of frame number y at receiver B?
3
8
7
None of the above
If the probability of error is very low in a communication link, which of the following statements is true about performance of ARQ protocol?
Stop-and-wait and Go-back-N ARQ protocols have similar performance
Stop-and-wait and Selective Repeat ARQ protocols have similar performance
Go-back-N ARQ and Selective Repeat ARQ protocols have similar performance
None of the above
In peer-to-peer protocol, the purpose of Automatic Repeat Request is (2 answers)
to ensure a sequence of information packet is delivered with an ACK request
to ensure a sequence of information packet is delivered in order
to ensure a sequence of information packet is delivered without errors or duplication despite transmission errors and losses
to ensure a sequence of information packet is delivered out-of-order
Which of the basic elements of ARQ is associated with negative acknowledgement
Timeout mechanism
ACKs
NAKs
Error detecting code
In Go-Back-N ARQ, a procedure where transmission of a new frame is begun before the completion of time of the previous frame transmission is called
Transitioning
Pipelining
Channeling
None of the above
In Stop-and-Wait protocol, sequence number are not required
True
False
The disadvantage of Stop-and-Wait protocol
Error free communication channel does not exist
Acknowledgement may get lost
Deadlock situation may occur
All of the above
Which of the following statements are true for the best-effort service of IP?
Packets can arrive with errors or be lost
Packets can arrive out-of-order
Packets can arrive after very long delays
All of the above
Which of following services belong to the data link layer?
Insert framing information into the transmitted stream to indicate the boundaries that define frames
Provide error control to ensure reliable transmission
Provide flow control to prevent the transmitter from overrunning the receiver buffer
All of the above
Which ARQ flow control protocol is used by TCP?
Stop-and-Wait
Selective Repeat
Go-back-N
None of the above
By framing, frame boundaries can be determined using
Character Counts
Control Characters
Flags
All of the above
Which of following statements are true about framing protocols?
PPP uses character-based framing which requires byte stuffing
HDLC uses Flag-based framing which required bit stuffing
All of the above
None of the above
In IP network, which of the following statement is incorrect
Packets can arrive out-of-order
Packets can arrive with errors or be lost
Packets can arrive after long delays
Packets always arrive on time
Framing involves identifying the beginning and end of a block of information within a digital stream
True
False
Which of the following statements are true for PPP byte stuffing
Malicious users may inflate bandwidth
Size of frame varies unpredictably due to byte insertion
All of the above
None of the above
In PPP authentication, which of the following is true for Password Authentication Protocol (3 answers)
After several attempts, LCP closes link
Initiator and authenticator share a secret key
Transmitted unencrypted, susceptible to eavesdropping
Initiator must send ID and password
In HDLC frame format, flag is used to identify secondary station (1 or more octets)
True
False
