WorksheetsQuiz on Computer Networks
Total questions: 137
Worksheet time: 1hrs 14mins
Which of following protocol is HTTP built upon?
TCP
UDP
IP
ICMP
Which of the following requirements are necessary for packet networks to support multiple and diverse applications?
Transfer arbitrary message size
All of the mentioned
Low delay for interactive applications
What was the concern of the telephone system that motivated the ARPANET design?
Vulnerability
Scalability
Efficiency
None of the mentioned
Which of the following is an application layer protocol?
DNS
HTTP
UDP
TCP
Which of the following are features of ARPANET design?
All of the mentioned
Connectionless packet transmission
Routing tables at the packet switches
Destinations identified by unique addresses
Bluetooth is an example of _____
Local Area Network
Personal Area Network
Wide Area Network
Metropolitan Area Network
In the layer hierarchy as the data packet moves from the upper to the lower layers, headers are _____
Added
Rearranged
Removed
Modified
The _____ is the physical path over which a message travels.
Path
Medium
Route
Protocol
Three or more devices share a link in _____ connection.
Multipoint
Unipoint
Point to Point
None of the mentioned
Which of the following is true for Transport Control Protocol?
Process to process
Connection oriented
Transport layer protocol
Connectionless
In a LAN, which address is used to transfer frames to appropriate destination?
Physical address
IP address
Domain name
None of the mentioned
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%
80%
90%
Of the following services, which service(s) does the IP layer provide?
None of the mentioned
Error control
Flow control
Connection-based data transfer
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
All of the mentioned
TCP/IP model does not have presentation layer, but OSI model has
TCP/IP model does not have session layer, but OSI model has
Which of the 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 mentioned
This layer is an addition to OSI model?
Application layer
Presentation layer and Session layer
Presentation layer
Session layer
The functionalities of presentation layer includes _____
All of the mentioned
Data compression
Data encryption
Data decryption
In BSD socket API, which call is usually used for transmitting data in the connectionless mode?
Accept()
Sendto()
Connect()
None of the mentioned
Which of following statement about TCP/UDP sockets is wrong?
TCP is faster than UDP
TCP socket is stream oriented
UDP socket is block oriented
All of the mentioned
Which of following are commonly used as digital communication medium?
Twisted pair
All of the mentioned
Coaxial cable
Optical fiber
Consider a network link that has distance of 100 meters, and signal traverses at the speed of light in cable 2.5x10^8 meters per second. The link has transmission bandwidth of 100 megabits/second (100x10^6 bits per second). The packet size is 400 bits. What is the signal propagation delay?
4x10^-19 seconds
4x10^-6 seconds
4x10^-7 seconds
None of the mentioned
An API allows application programs to access certain resources through a predefined interface?
False
True
In transport protocol, which of the following statements is true for User Data 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 mentioned
Which of the following sentences are true for connectionless stream mode of service? (choose 3)
Multiple write/read between peer processes
Send/receive to/from multiple peer processes
No setup overhead and delay
Destination address with each block
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? (choose 3)
Modify data headers
Recover information approximately
Recover original information exactly
Represent the information using fewer bits
Which of the following networks use store-and-forward switching operation? (choose 2)
Computer networks
Telegraph networks
Telephone networks
Wireless networks
There are similarities between message switching and packet switching. Which of the 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 mentioned
Which of the following networks can be connection-oriented? (choose 2)
Computer networks
Telephone networks
Telegraph networks
All of the mentioned
A protocol is a set of precise and unambiguous rules that governs.
How two or more communicating entities in a layer are to interact
All of the mentioned
Messages that can be sent and received
Actions that are to be taken when a certain event occurs
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 _____
UDP
TCP
HTTP
None of the mentioned
A network used to join the individual networks at different sites into one extended network is called _____
LAN
VPN
PAN
SAN
Upon receipt of a bad segment, UDP?
It does not do flow and error control
Retransmission
It does error control
It does flow control
Which OSI layer is responsible for providing end-to-end communication with reliable service?
Session layer
Transport layer
Network layer
Data link layer
Which OSI layer is responsible for dividing the transmitted bit stream into frames?
Data link layer
Application layer
Network layer
Transport layer
Which OSI layer is responsible for determining which route through the network to use?
Which layer is responsible for transmitting bit stream into frames?
Data link layer
Application layer
Network layer
Transport layer
Which OSI layer is responsible for determining which route through the network to use?
Data link layer
Network layer
Transport layer
None of the mentioned
Which feature does the data link layer and transport layer have in common?
Flow control
Congestion control
All of the mentioned
Medium access control
Which protocol glues the network of networks together as the Internet?
TCP
IP
UDP
None of the mentioned
Which of the following applications would you select TCP protocol for? (choose 2)
Web browsing
File transfer
Domain name service
None of the mentioned
In BSD socket API, which type of socket is used to create a TCP socket?
SOCK_RAW
SOCK_STREAM
SOCK_DGRAM
None of the mentioned
In BSD socket API, which type of socket is used to create a UDP socket?
SOCK_DGRAM
SOCK_STREAM
SOCK_RAW
None of the mentioned
In BSD socket API, which system call is used to assign a network address to the socket?
None of the mentioned
Bind()
Connect()
Listen()
In BSD socket API, if a client knows the server name but not the server's network address, what system call should the client use to get server's network address?
Gethostbyname()
Connect()
None of the mentioned
Gettimeofday()
In a transmission system, which of the following statements is true for a receiver? (choose 2)
Converts information into signal suitable for transmission
Receives energy from medium
Converts received signal into a form suitable for delivery to user
All of the mentioned
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 16 MHz
True
False
Which of the following statements is true for optical fiber?
All of the mentioned
Plentiful bandwidth for new services
Dominates long distance transmission
Distance less of a cost factor in communications
Which of the following are advantages of optical fiber? (choose 2)
Extremely low bandwidth
No corrosion
Noise immunity
Wavelength dependency
Consider a network link that has distance of 100 meters, and signal traverses at the speed of light in cable 2.5x10^18 meters per second. The link has transmission bandwidth of 100 megabits/second (100x10^6 bits per second). The packet size is 400 bits. What is the packet transmission delay?
4x10^-7 seconds
None of the mentioned
4x10^-6 seconds
4x10^-9 seconds
Given a 7-bit information frame (0, 1, 0, 1, 1, 0, 1), what is the even parity bit?
1
0
None of the mentioned
01
Which of the following statements are true for single-bit parity error detection? (choose 2)
It can detect all triple bit errors in an information frame
It can detect all single bit errors in an information frame
It can detect all double bit errors in an information frame
None of the mentioned
Which of the following statements are true for two-dimensional parity error detection?
It can detect all single bit errors in an information frame
All of the mentioned
It can detect all double bit errors in an information frame
It can correct all single bit errors in an information frame
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 mentioned
What is the binary sequence that corresponds to polynomial code x^3 + x^2 + 1?
111
1110
0111
1101
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? (choose 2)
Arrange information in rows
More parity bit to improve coverage
Arrange information in columns
Add multiple parity bits to each column
Polynomial codes are implemented using shift register circuits
True
False
What is the binary equivalent of the following polynomial arithmetic x^7+x^6+x^5 + x^2 + 1?
11011101
11100111
11101101
11100101
Using Euclidean Division, what will be the remainder of 70 by 999 where 70 is the divisor and 999 is the dividend?
17
21
19
14
Given an information polynomial code l(x)=x^7+x^6+x^1+1. Which is its corresponding per-bit information frame?
01100011
10100010
None of the mentioned
11000011
What is the remainder obtained by dividing x^7+x^5+1 by the generator polynomial x^3 + 1?
x^2 + x
x^2 + 1
x^2 + x + 1
None of the mentioned
Given a generator polynomial g(x)=x^3+x+1, consider the information sequence 1001. By CRC method, what is the resulting codeword for transmission?
1010110
1001111
1001000
1001110
Which of the following generator polynomials can detect all single bit errors in an information frame?
g(2) = x + 1
g(x) = x
g(x) = x^2
All of the mentioned
Internet protocols use check bits to detect errors, instead of using CRC polynomials. The primary rationale is _____
Strength of error detection capability
simplicity of implementation
CRC polynomial cannot work for internet protocols
None of the mentioned
The two basic approaches in error control are error prevention and detection, and error correction and re-transmission.
False
True
Find parity bit for 1001011?
1
2
None of the mentioned
0
The divisor in a cyclic code is normally called the _____.
Generator
Degree
redundancy
None of the mentioned
The checksum of 0000 and 0000 is _____
0101
1010
0000
1111
In ASCII, a single parity bit code can detect _____ errors
an odd number of
two
an even number of
no errors
Which of these is not a network edge device?
PC
Smartphones
Servers
Switch
Two devices are in network if ________
a process in one device is able to exchange information with a process in another device
a process is running on both devices
PIDs of the processes running of different devices are same
a process is active and another is inactive
Which layer provides the services to user?
application layer
session layer
presentation layer
physical layer
A _____ is a device that forwards packets between networks by processing the routing information included in the packet.
bridge
firewall
router
hub
The number of layers in ISO OSI reference model is _________
5
7
6
10
How many layers are present in the Internet protocol stack (TCP/IP model)?
5
7
6
10
Transmission data rate is decided by ________
network layer
physical layer
data link layer
transport layer
In OSI model, when data is sent from device A to device B, the 5th layer to receive data at B is _________
Application layer
Transport layer
Link layer
Session layer
In TCP/IP model, when data is sent from device A to device B, the 5th layer to receive data at B is ________
In TCP/IP model, when data is sent from device A to device B, the 5th layer to receive data at B is ________
Application layer
Transport layer
Link layer
Session layer
OSI stands for ________
open system interconnection
operating system interface
optical service implementation
open service internet
Which address is used on the internet for employing the TCP/IP protocols?
physical address and logical address
port address
specific address
all of the mentioned
TCP/IP model was developed _____ the OSI model.
prior to
after
simultaneous to
with no link to
Transmission data rate is decided by ____________
network layer
physical layer
data link layer
transport layer
TCP/IP model does not have ______ layer but OSI model have this layer.
session layer
transport layer
application layer
network layer
In which year was the OSI model studied?
1969
1970
1971
1981
Which of the following is not an ISO specification for OSI model?
The same functions can be placed on different floors
Do not define too many functional layers
Create boundaries between functional layers so that the number of interactions between the two layers is minimal
Create separate layers for functions that are completely different in terms of technology or implementation
At which layer of the OSI model does packet routing occur?
Network
Data link
Transport
Presentation
When a packet is lost or corrupted, what does the data link layer do?
Self-recover or repair lost or corrupted packets
Ask the source station to resend the lost or damaged packet
Abort the data exchange session, giving an error message to the source station
All of the mentioned
What can cause two network layer entities of two computers in a network not to communicate with each other?
The network connection is faulty
Data link layer protocol error
Data physical layer protocol error
All of the mentioned
Which of the following information do packets at the network layer contain?
The IP address of the sending computer and the IP address of the receiving machine
IP packet size, IP packet lifetime
Contact serial number
All of the mentioned
Which type of organizations uses a Virtual private network?
Colleges, Large Corporations, Government institutes
Airports, Railway Stations, churches
VPN (Virtual Private Network) is a secure network that gets used by people who are working from home or on the way home on the train. This is because
It's a very secure tunnel network and uses VPN because it is encrypted
Because VPN allows access to their home area and you can download your work
Because everyone can access the data in the encrypted tunnel
The following are browsers except one:
Google Chrome
Safari
Yandex
Hackintosh
A difference in DHCPv6 and DHCPv4 is?
A difference in DHCPv6 and DHCPv4 is?
There is no requirement for BOOTP compatibility.
Default router can be obtained by clients.
All the above
A physical interface often used for terminating telephone wires.
RJ 11
RJ 45
Ethernet Cable
RJ 14
A network that spans a large geographical area, the most common example being the internet.
LAN
MAN
WAN
Who controls/configures DHCP servers?
Network administrators
Router software
Developer
Tester
Wi-Fi is a...
Popular technologies and standards for wireless computer networking
Type of computer
A person's name
Nonsense
Which Internet Protocol (IP) number is used by a computer to send a message back to itself?
0.0.0.0
1.1.1.1
127.0.0.1
255.255.255.255
Vint Cerf and Robert E Kahn are known for their contribution for.
TCP
HTTP
FTP
ICMP
The function of DSLAM is to __________
Convert analog signals into digital signals
Convert digital signals into analog signals
Amplify digital signals
De-amplify digital signals
Which of the following terms is not associated with DSL?
DSLAM
CO
Splitter
CMTS
Bluetooth is an example of __________?
personal area network
local area network
virtual private network
wide area network
A __________ is a device that forwards packets between networks by processing the routing information included in the packet.
bridge
firewall
router
hub
Which of the following networks extends a private network across public networks?
local area network
virtual private network
enterprise private network
storage area network
Application layer is implemented in ____________
End system
NIC
Ethernet
Packet transport
Transport layer is implemented in ______________
End system
NIC
Ethernet
Signal transmission
Delimiting and synchronization of data exchange is provided by __________
Application layer
Session layer
Transport layer
Link layer
In OSI model, when data is sent from device A to device B, the 5th layer to receive data at B is _________ ()G1
Application layer
Transport layer
Link layer
Session layer
In TCP/IP Model, when data is sent from device A to device B, the 5th layer to receive data at B is ____________ ()G1
Application layer
Transport layer
Link layer
Session layer
In networks where errors are infrequent, which approach is favoured for efficiency?
End-to-end approach
Hop-by-hop 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 the 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 mentioned
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 the following strategies for sending ACK frames in a Go-Back-N is appropriate for the situation?
Any one the mentioned
send an ACK frame after every other frame is received
send an ACK frame when the next piggy back opportunity arises
send an ACK frame immediately after each frame is received
Consider Selective Repeat ARQ flow control protocol. In the following scenario, what should be the value of frame number at receiver? xB
3
2
4
None of the mentioned
ARQ protocols combine error detection, retransmission and sequencing numbering to provide reliability.
False
True
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
All of the mentioned
Reliability
Timing
Digital communication technologies may introduce errors in communication, which of the following can be used to provide reliable communication. (choose 2)
TCP
HDLC
DNS
UDP
Ensuring that information is not altered during transfer is associated with _____
Authentication
Integrity
Confidentiality
Availability
Given 3 bits for sequence numbers, what is the maximum sliding windows size at the receiver in Go Back 3 ARQ?
3
8
7
None of the mentioned
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
None of the mentioned
8
Consider Selective Repeat ARQ flow control protocol. In the following scenario, what should be the value of frame number at receiver? xB
8
7
3
None of the mentioned
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
Go-back-N ARQ and Selective Repeat ARQ protocols have similar performance
Stop-and-wait and Selective Repeat ARQ protocols have similar performance
None of the mentioned
In peer-to-peer protocol, the purpose of Automatic Repeat Request is _____ (choose 2)
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
to ensure a sequence of information packet is delivered with an ACK request
Which of the basic elements of ARQ is associated with negative acknowledgement?
Error detecting code
NAKs
ACKs
Timeout mechanism
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 _____
Pipelining
Transitioning
Channeling
None of the mentioned
In Stop-and-Wait protocol, sequence numbers are not required.
True
False
The disadvantage of Stop-and-Wait protocol
All of the above
Error free communication channel does not exist
Acknowledgement may get lost
Deadlock situation may occur
Which of the following statements are true for the best-effort service of IP?
Packets can arrive with errors or be lost
All of the mentioned
Packets can arrive out-of-order
Packets can arrive after very long delays
Which of following services belong to the data link layer?
All of the mentioned
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
Which ARQ flow control protocol is used by TCP?
Stop-and-Wait
Selective Repeat
Go-back-N
None of the mentioned
By framing, frame boundaries can be determined using _____
All of the mentioned
Character Counts
Control Characters
Flags
Which of following statements are true about framing protocols?
PPP uses character-based framing which requires byte stuffing
All of the mentioned
HDLC uses Flag-based framing which required bit stuffing
None of the mentioned
In IP network, which of the following statement is incorrect?
Packets always arrive on time
Packets can arrive out-of-order
Packets can arrive with errors or be lost
Packets can arrive after long delays
