(MCQ) Computer Communication Networks - LMT
(MCQ) Computer Communication Networks - LMT
Spend Less, Get More This Week ✨! After Diwali🧨Sale Is Live! Check Offers 🎁!!!
Your Branch
Year Of Engineering
Module 1
Module 1
https://lastmomenttuitions.com/mcq-computer-communication-networks/#1618219525525-9c94fe3e-b11f 1/18
11/19/21, 10:59 AM [MCQ] Computer Communication Networks - LMT
d) 7
Answer: d
Explanation: In OSI reference model, there are 7 layers namely Application, Presentation,
Session, Transport, Network, Data Link and Physical layer. Each layer uses a protocol to
perform its designated function, for example, the data link layer uses error detection
protocols for error control functions.
3. TCP/IP model does not have ______ layer but OSI model have this layer.
a) session layer
b) transport layer
c) application layer
d) network layer
Answer: a
Explanation: In OSI reference model, there are two layers which are not present in TCP/IP
model. They are Presentation and Session layer. The functions of Presentation and Session
layer in the OSI model are handled by the transport layer itself in TCP/IP.
4. Which layer is used to link the network support layers and user support layers?
a) session layer
b) data link layer
c) transport layer
d) network layer
Answer: c
Explanation: Physical, data link and network layers are network support layers and session,
presentation and application layers are user support layers. The transport layer links these
layers by segmenting and rearranging the data. It uses protocols like TCP and UDP.
5. Which address is used on the internet for employing the TCP/IP protocols?
a) physical address and logical address
b) port address
c) specific address
d) all of the mentioned
Answer: d
Explanation: The physical, logical, port and specific addresses are used in TCP/IP protocol. All
the addressing schemes, that is physical (MAC) and logical address, port address and
specific address are employed in both TCP/IP model and OSI model. In TCP/IP, the
addresses are more focused on the internet implementation of these addresses.
c) simultaneous to
d) with no link to
Answer: a
Explanation: Several TCP/IP prototypes were developed at multiple research centers
between 1978 and 1983, whereas OSI reference model was developed in the year 1984.
TCP/IP was developed with the intention to create a model for the Internet while OSI was
intended to be a general network model.
7. Which layer is responsible for process to process delivery in a general network model?
a) network layer
b) transport layer
c) session layer
d) data link layer
Answer: b
Explanation: The role of Transport layer (Layer 4) is to establish a logical end to end
connection between two systems in a network. The protocols used in Transport layer is TCP
and UDP. The transport layer is responsible for segmentation of the data. It uses ports for
the implementation of process-to-process delivery.
https://lastmomenttuitions.com/mcq-computer-communication-networks/#1618219525525-9c94fe3e-b11f 3/18
11/19/21, 10:59 AM [MCQ] Computer Communication Networks - LMT
11. How many layers are present in the Internet protocol stack (TCP/IP model)?
a) 5
b) 7
c) 6
d) 10
Answer: a
Explanation: There are five layers in the Internet Protocol stack. The five layers in Internet
Protocol stack is Application, Transport, Network, Data link and Physical layer. The internet
protocol stack model is also called the TCP/IP model and it’s used in modern Internet
Communication.
13. Which of the following layers is an addition to OSI model when compared with TCP IP
model?
a) Application layer
b) Presentation layer
c) Session layer
d) Session and Presentation layer
Answer: d
https://lastmomenttuitions.com/mcq-computer-communication-networks/#1618219525525-9c94fe3e-b11f 4/18
11/19/21, 10:59 AM [MCQ] Computer Communication Networks - LMT
Explanation: The only difference between OSI model and TCP/IP model is that the functions
of Presentation and Session layer in the OSI model are handled by the transport layer itself
in TCP/IP. OSI is a generalized model and TCP/IP is an application specific model.
Answer: b
Explanation: The session layer provides the mechanism for opening, closing and managing a
session between end-user application processes. The session layer 5 is responsible for
establishing managing synchronizing and terminating sessions. In TCP/IP protocol stack, the
functions of the session layer are handled by the transport layer itself and thus the session
layer is missing from the TCP/IP model.
18. In OSI model, when data is sent from device A to device B, the 5th layer to receive
data at B is _________
a) Application layer
b) Transport layer
c) Link layer
d) Session layer
Answer: d
Explanation: In OSI reference model, the fifth layer is Session layer. Session layer provides
the mechanism for opening, closing and managing a session between end-user application
processes. In TCP/IP protocol stack, the functions of the session layer are handled by the
transport layer itself and thus the session layer is missing from the TCP/IP model.
19. In TCP IP Model, when data is sent from device A to device B, the 5th layer to receive
data at B is ____________
a) Application layer
b) Transport layer
c) Link layer
d) Session layer
Answer: a
Explanation: In TCP/IP model, the fifth layer is application layer. When data is sent from
device A to device B, the 5th layer to receive data at B is application layer. Application layer
provides the interface between applications and the network. The user interacts with only
this layer.
20. In the OSI model, as a data packet moves from the lower to the upper layers, headers
are _______
a) Added
b) Removed
c) Rearranged
d) Randomized
Answer: b
Explanation: In OSI reference model, when data packet moves from lower layers to higher
layer, headers get removed. Whereas when the data packet moves from higher layer to
https://lastmomenttuitions.com/mcq-computer-communication-networks/#1618219525525-9c94fe3e-b11f 6/18
11/19/21, 10:59 AM [MCQ] Computer Communication Networks - LMT
lower layers, headers are added. These headers contain the essential control information
for the protocols used on the specific layer.
23. How many layers are there in the OSI reference model of networking?
A) 5
B) 6
C) 7
D) 8
answer: C
Explanation: 7 Layers in total.
24. Each layer of the OSI model receives services or data from a ___ layer.
A) below layer
B) above layer
C) –
D) –
answer: A
Explanation: Layers receive data or services from the below layers.
2.5 In the OSI model, each layer gives services or data to the __ layer.
A) below
B) above
C) –
D) –
https://lastmomenttuitions.com/mcq-computer-communication-networks/#1618219525525-9c94fe3e-b11f 7/18
11/19/21, 10:59 AM [MCQ] Computer Communication Networks - LMT
answer: B
Explanation: In other words, the upper layers always receive services or data from the below
layers.
26. A layer of the OSI model on one system communicates with the ___ layer of its peer
system.
A) above
B) below
C) same
D) None
answer: C
Explanation: So, any given OSI layer can communicate with the same layer of its peer node.
27. Choose the correct layer numbers and names of the OSI model below.
A) Layer 7 – Application Layer, Layer 6 – Presentation Layer
B) Layer 5 – Session Layer, Layer 4 – Transport Layer
C) Layer 3 – Network Layer, Layer 2 – Data Link Layer, Layer 1 – Physical Layer
D) All the above.
answer: D
Explanation: The matching order is as follows. Layer 7 = Application Layer, Layer 6 =
Presentation Layer, Layer 5 = Session Layer, Layer 4 = Transport Layer, Layer 3 = Network
Layer, Layer 2 = Data Link Layer, Layer 1 = Physical Layer.
B) transporting data
C) –
D) –
answer: B
Explanation:
It is because of the bottom 3 layers of OSI, the data gets transferred from one node to
another through the network.
32 A set of standards that define how to communicate with each layer of the OSI model
are ___.
A) functions
B) protocols
C) data formats
D) All the above.
answer: D
33 The layer that transmits data in the form of bit streams using electrical and
mechanical systems is ___ in the OSI model.
A) Physical layer
B) Data Link Layer
C) Network Layer
D) Transport Layer
answer: A
Explanation: Physical Layer
https://lastmomenttuitions.com/mcq-computer-communication-networks/#1618219525525-9c94fe3e-b11f 9/18
11/19/21, 10:59 AM [MCQ] Computer Communication Networks - LMT
35 The transmission media like ___ are part of the Physical layer of OSI model.
A) Copper cables
B) OFC – Optical Fiber Cables
C) RF – Radio Frequency waves including Microwaves
D) All the above
answer: D
37 The protocols working in the physical layer of the OSI Model are ___.
A) USB, Bluetooth, IEEE 802.3, IEEE 802.11, IEEE 802.15, IEEE 802.16
B) POTS, PDH, SONET, SDH, PON, OTN, DSL, ITU-T V series, ITU-T G.hn PHY
C) I.430, I.431, EIA/TIA-232, EIA/TIA-449
D) All the above
answer: D
Explanation:
All the above protocols are worth remembering for competitive exams.
38 Which is the layer of the OSI reference model that employs Error Detection?
A) Physical Layer
B) Data Link Layer
C) Network Layer
D) Session Layer
answer: B
Explanation: Data Link Layer
39 Which is the layer that converts Packets to Frames and Frames to Packets in the OSI
model?
A) Physical Layer
B) Data Link Layer
C) Network Layer
D) Transport Layer
answer: C
Explanation: Network Layer
https://lastmomenttuitions.com/mcq-computer-communication-networks/#1618219525525-9c94fe3e-b11f 10/18
11/19/21, 10:59 AM [MCQ] Computer Communication Networks - LMT
40 Which is the layer that converts Raw Bits to Frames and Frames to Raw Bits in the OSI
model?
A) Physical Layer
B) Data Link Layer
C) Network Layer
D) Transport Layer
answer: B
Explanation:Data Link Layer
42. Which constructor of Datagram Socket class is used to create a datagram socket and
binds it with the given Port Number?
a) Datagram Socket(int port)
b) Datagram Socket(int port, Int Address address)
c) Datagram Socket()
d) Datagram Socket(int address)
Answer: b
Explanation: Datagram Socket (int port, Int Address address) is used to create a datagram
socket. A datagram socket is created for connection-less communication between the server
and the client. There is no accept() method in this class.
https://lastmomenttuitions.com/mcq-computer-communication-networks/#1618219525525-9c94fe3e-b11f 11/18
11/19/21, 10:59 AM [MCQ] Computer Communication Networks - LMT
44. The URL Connection class can be used to read and write data to the specified
resource that is referred by the URL.
a) True
b) False
Answer: a
Explanation: The URL Connection class can be used to read and write data to the specified
resource referred by the URL. A connection to the URL is initialized by the OpenConnection()
method of the class.
45. Datagram is basically just a piece of information but there is no guarantee of its
content, arrival or arrival time.
a) True
b) False
Answer: a
Explanation: Datagram is basically some information travelling between the sender and the
receiver, but there is no guarantee of its content, arrival or arrival time. A Datagram socket
class object is created to make a datagram connection between the server and the client.
46. TCP, FTP, Telnet, SMTP, POP etc. are examples of ___________
a) Socket
b) IP Address
c) Protocol
d) MAC Address
Answer: c
Explanation: TCP, FTP, Telnet, SMTP, POP etc. are examples of Protocol. Out of them, TCP is
a transport layer protocol and FTP, TELNET, SMTP and POP are application layer protocols.
48. The flush () method of Print Stream class flushes any un-cleared buffers in the
memory.
a) True
b) False
https://lastmomenttuitions.com/mcq-computer-communication-networks/#1618219525525-9c94fe3e-b11f 12/18
11/19/21, 10:59 AM [MCQ] Computer Communication Networks - LMT
Answer: a
Explanation: The flush () method of Print Stream class flushes any un cleared buffers in
memory.
50. In Inet Address class, which method returns the host name of the IP Address?
a) Public String get Hostname()
b) Public String getHostAddress()
c) Public static InetAddress get Localhost()
d) Public getByName()
Answer: a
Explanation: In Inet Address class public String getHostname() method returns the host
name of the IP Address. The getHostAddress() method returns the IP address of the given
host name.
51.In the OSI model, as a data packet moves from the lower to the upper layers, headers
are _______
A.) Added
B.) Rearranged
C.) Removed
D.) None of these
Answer: ‘C’
https://lastmomenttuitions.com/mcq-computer-communication-networks/#1618219525525-9c94fe3e-b11f 13/18
11/19/21, 10:59 AM [MCQ] Computer Communication Networks - LMT
53.In Internet protocol stack, when data is sent from device A to device B, the 5th layer
to receive data at B is
A.) Application layer
B.) Transport layer
C.) Link layer
D.) Session layer
Answer: ‘A’
5.TCP/IP model does not have ______ layer but OSI model have this layer.
A.) session layer
B.) presentation layer
C.) application layer
D.) both (a) and (b)
Answer: Option ‘D’
https://lastmomenttuitions.com/mcq-computer-communication-networks/#1618219525525-9c94fe3e-b11f 14/18
11/19/21, 10:59 AM [MCQ] Computer Communication Networks - LMT
61. When collection of various computers seems a single coherent system to its client,
then it is called _________
a) computer network
b) distributed system
c) networking system
d) mail system
Answer: b
Explanation: A Computer network is defined as a collection of interconnected computers
which uses a single technology for connection.
A distributed system is also the same as computer network but the main difference is that
the whole collection of computers appears to its users as a single coherent system.
Example:- World wide web
https://lastmomenttuitions.com/mcq-computer-communication-networks/#1618219525525-9c94fe3e-b11f 15/18
11/19/21, 10:59 AM [MCQ] Computer Communication Networks - LMT
63. Which of the following computer networks is built on the top of another network?
a) prior network
b) chief network
c) prime network
d) overlay network
Answer: d
Explanation: An overlay network is a computer network that is built on top of another
network. Some examples of an overlay network are Virtual Private Networks (VPN) and Peer-
to-Peer Networks (P2P).
65. Communication channel is shared by all the machines on the network in ________
a) broadcast network
b) unicast network
c) multicast network
d) anycast network
Answer: a
Explanation: In a broadcast network, information is sent to all stations in a network whereas
in a multicast network the data or information is sent to a group of stations in the network.
In unicast network, information is sent to only one specific station. The broadcast address of
the network is the last assigned address of the network.
https://lastmomenttuitions.com/mcq-computer-communication-networks/#1618219525525-9c94fe3e-b11f 16/18
11/19/21, 10:59 AM [MCQ] Computer Communication Networks - LMT
67. A __________ is a device that forwards packets between networks by processing the
routing information included in the packet.
a) bridge
b) firewall
c) router
d) hub
Answer: c
Explanation: A router is a networking device that forwards data packets between computer
networks. Routers perform the traffic directing functions on the Internet. They make use of
routing protocols like RIP to find the cheapest path to the destination.
68. A list of protocols used by a system, one protocol per layer, is called ________
a) protocol architecture
b) protocol stack
c) protocol suite
d) protocol system
Answer: b
Explanation: A protocol stack refers to a group of protocols that are running concurrently
that are employed for the implementation of network protocol suite. Each layer in the
network model has to use one specific protocol from the protocol stack.
70. Which of the following networks extends a private network across public networks?
a) local area network
b) virtual private network
c) enterprise private network
d) storage area network
Answer: b
Explanation: A virtual private network extends a private network across a public network,
and enables users to send and receive data across shared or public networks as if their
computing devices were directly connected to the private network.VPN provides enhanced
https://lastmomenttuitions.com/mcq-computer-communication-networks/#1618219525525-9c94fe3e-b11f 17/18
11/19/21, 10:59 AM [MCQ] Computer Communication Networks - LMT
security and online anonymity to users on the internet. It is also used to unblock websites
which are unavailable in certain regions.
Module 01
Module 03
Module 04
Module 05
Module 06
/ Youtube Channel: https://www.youtube.com/channel/UCGFNZxMqKLsqWERX_N2f08Q
/lastmomenttuition
/ lastmomentdost
https://lastmomenttuitions.com/mcq-computer-communication-networks/#1618219525525-9c94fe3e-b11f 18/18