Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

Which of the following is a transport layer protocol?(a) stream control transmission protocol(b) internet control message protocol(c) neighbor discovery protocol(d) dynamic host configuration protocolThe question was posed to me in final exam.My enquiry is from Transport Layer topic in division OSI Model of Computer Network

Answer»

Correct OPTION is (a) stream control transmission protocol

Explanation: The Stream Control Transmission Protocol (SCTP) is a transport LAYER protocol used in networking system where streams of data are to be continuously transmitted between TWO connected network nodes. Some of the other transport layer protocols are RDP, RUDP, TCP, DCCP, UDP ETC.

2.

Transport layer protocols deals with ____________(a) application to application communication(b) process to process communication(c) node to node communication(d) man to man communicationThe question was posed to me in an interview for internship.My question is taken from Transport Layer in chapter OSI Model of Computer Network

Answer»

Right answer is (b) process to process communication

Easy explanation: Transport layer is 4th layer in TCP/IP MODEL and OSI reference model. It DEALS with LOGICAL communication between process. It is responsible for DELIVERING a message between NETWORK host.

3.

A _____ is a TCP name for a transport service access point.(a) port(b) pipe(c) node(d) protocolThis question was posed to me in an interview for job.This key question is from Transport Layer in division OSI Model of Computer Network

Answer»

Correct answer is (a) port

Easy EXPLANATION: Just as the IP ADDRESS identifies the COMPUTER, the network port identifies the application or service running on the computer. A port number is 16 bits. The COMBINATION of IP address preceded with the port number is called the socket address.

4.

Which one of the following is a version of UDP with congestion control?(a) datagram congestion control protocol(b) stream control transmission protocol(c) structured stream transport(d) user congestion control protocolI had been asked this question in unit test.I would like to ask this question from Transport Layer topic in section OSI Model of Computer Network

Answer»

Right choice is (a) datagram CONGESTION CONTROL protocol

Easy explanation: The datagram congestion control is a transport layer protocol which deals with reliable connection setup, teardown, congestion control, explicit congestion notification, and feature negotiation. It is used in MODERN DAY systems where there are really HIGH chances of congestion. The protocol was last updated in the year 2008.

5.

Socket-style API for windows is called ____________(a) wsock(b) winsock(c) wins(d) sockwiThe question was asked by my school teacher while I was bunking the class.My question is from Transport Layer topic in chapter OSI Model of Computer Network

Answer»

Right option is (B) winsock

For EXPLANATION: Winsock is a PROGRAMMING interface which deals with input output requests for internet applications in windows OS. It defines how windows network software should ACCESS network services.

6.

An endpoint of an inter-process communication flow across a computer network is called __________(a) socket(b) pipe(c) port(d) machineThe question was asked in class test.Enquiry is from Transport Layer in section OSI Model of Computer Network

Answer»

Right answer is (a) socket

Explanation: Socket is ONE END point in a two way communication link in the network. TCP layer can IDENTIFY the application that DATA is DESTINED to be sent by using the port number that is bound to socket.

7.

Transmission control protocol ___________(a) is a connection-oriented protocol(b) uses a three way handshake to establish a connection(c) receives data from application as a single stream(d) all of the mentionedThis question was posed to me by my college professor while I was bunking the class.This interesting question is from Transport Layer in chapter OSI Model of Computer Network

Answer»

The CORRECT answer is (d) all of the mentioned

To explain: TCP provides RELIABLE and ordered delivery of a stream of BYTES between hosts communicating via an IP network. Major internet applications like WWW, email, file transfer etc rely on TCP. TCP is connection ORIENTED and it is optimized for accurate delivery rather than timely delivery.

8.

User datagram protocol is called connectionless because _____________(a) all UDP packets are treated independently by transport layer(b) it sends data as a stream of related packets(c) it is received in the same order as sent order(d) it sends data very quicklyI got this question in a job interview.Asked question is from Transport Layer topic in chapter OSI Model of Computer Network

Answer» CORRECT answer is (a) all UDP packets are treated independently by transport layer

Best explanation: UDP is an alternative for TCP and it is used for those PURPOSES where speed matters most whereas loss of data is not a problem. UDP is CONNECTIONLESS whereas TCP is connection oriented.
9.

Which of the following are transport layer protocols used in networking?(a) TCP and FTP(b) UDP and HTTP(c) TCP and UDP(d) HTTP and FTPI had been asked this question in a national level competition.The query is from Transport Layer topic in division OSI Model of Computer Network

Answer» CORRECT option is (c) TCP and UDP

To elaborate: Both TCP and UDP are transport layer protocol in networking. TCP is an abbreviation for Transmission Control Protocol and UDP is an abbreviation for USER Datagram Protocol. TCP is connection oriented WHEREAS UDP is CONNECTIONLESS.
10.

Transport layer aggregates data from different applications into a single stream before passing it to ____________(a) network layer(b) data link layer(c) application layer(d) physical layerI got this question in class test.My doubt stems from Transport Layer in section OSI Model of Computer Network

Answer»

The correct option is (a) network layer

The best I can explain: The flow of data in the OSI model flows in following manner APPLICATION -> Presentation -> Session -> TRANSPORT -> Network -> Data Link -> Physical. Each and every layer has its own set of functions and protocols to ENSURE efficient network performance.

11.

ICMP is primarily used for __________(a) error and diagnostic functions(b) addressing(c) forwarding(d) routingI have been asked this question in class test.My enquiry is from Network Layer in chapter OSI Model of Computer Network

Answer»

Right choice is (a) error and diagnostic functions

To explain: ICMP abbreviation for Internet CONTROL MESSAGE Protocol is used by networking devices to send error MESSAGES and operational information indicating a host or router cannot be reached. ICMP OPERATES over the IP packet to provide error reporting functionality as IP by itself cannot report errors.

12.

The network layer protocol for internet is __________(a) ethernet(b) internet protocol(c) hypertext transfer protocol(d) file transfer protocolI got this question in quiz.Enquiry is from Network Layer topic in division OSI Model of Computer Network

Answer»

Right option is (b) internet protocol

Easy EXPLANATION: There are several protocols USED in Network LAYER. Some of them are IP, ICMP, CLNP, ARP, IPX, HRSP ETC. Hypertext TRANSFER protocol is for application layer and ethernet protocol is for data link layer.

13.

Which one of the following algorithm is not used for congestion control?(a) traffic aware routing(b) admission control(c) load shedding(d) routing information protocolThis question was addressed to me in class test.This is a very interesting question from Network Layer topic in division OSI Model of Computer Network

Answer»

Right ANSWER is (d) routing information protocol

The best I can explain: The Routing Information Protocol (RIP) is used by the network layer for the function of dynamic routing. Congestion control focuses on the flow of the traffic in the network and uses ALGORITHMS LIKE traffic AWARE routing, ADMISSION control and load shedding to deal with congestion.

14.

A subset of a network that includes all the routers but contains no loops is called ________(a) spanning tree(b) spider structure(c) spider tree(d) special treeThe question was posed to me during an interview for a job.My question is taken from Network Layer topic in portion OSI Model of Computer Network

Answer»

Right option is (a) spanning tree

Best explanation: Spanning tree protocol (STP) is a network protocol that creates a LOOP free logical topology for ethernet networks. It is a LAYER 2 protocol that runs on bridges and switches. The MAIN purpose of STP is to ENSURE that you do not create loops when you have redundant PATHS in your network.

15.

Which of the following is not correct in relation to multi-destination routing?(a) is same as broadcast routing(b) contains the list of all destinations(c) data is not sent by packets(d) there are multiple receiversThis question was addressed to me in an interview for internship.This intriguing question originated from Network Layer topic in section OSI Model of Computer Network

Answer» CORRECT option is (c) data is not sent by packets

To explain: In multi-destination ROUTING, there is more than one receiver and the route for each destination which is CONTAINED in a list of destinations is to be found by the routing ALGORITHM. Multi-destination routing is also USED in broadcasting.
16.

Which of the following routing algorithms can be used for network layer design?(a) shortest path algorithm(b) distance vector routing(c) link state routing(d) all of the mentionedI got this question in an interview.Origin of the question is Network Layer in section OSI Model of Computer Network

Answer»

Right option is (d) all of the mentioned

For explanation I would SAY: The routing algorithm is what decides where a packet should GO next. There are SEVERAL routing techniques like shortest path algorithm, static and dynamic routing, decentralized routing, distance vector routing, LINK state routing, Hierarchical routing etc. The routing algorithms go hand in hand with the operations of all the routers in the networks. The routers are the main participants in these algorithms.

17.

In virtual circuit network each packet contains ___________(a) full source and destination address(b) a short VC number(c) only source address(d) only destination addressThe question was asked in homework.My question is from Network Layer in section OSI Model of Computer Network

Answer» CORRECT answer is (b) a short VC number

Easy explanation: A short VC number ALSO called as VCID (virtual circuit identifier) is a type of identifier which is used to distinguish between several virtual circuits in a connection oriented circuit switched network. Each virtual circuit is used to transfer DATA over a larger packet switched network.
18.

A 4 byte IP address consists of __________(a) only network address(b) only host address(c) network address & host address(d) network address & MAC addressThis question was posed to me during an interview.I would like to ask this question from Network Layer topic in portion OSI Model of Computer Network

Answer»

Correct answer is (c) network address & HOST address

Easy EXPLANATION: An ip address which is 32 bits long, that means it is of 4 bytes and is composed of a network and host portion and it depends on address class. The size of the host address and network address depends upon the class of the address in CLASSFUL IP addressing.

19.

Which one of the following is not a function of network layer?(a) routing(b) inter-networking(c) congestion control(d) error controlThis question was posed to me in a national level competition.I'm obligated to ask this question of Network Layer topic in section OSI Model of Computer Network

Answer»

Right choice is (d) error control

The BEST EXPLANATION: In the OSI MODEL, network layer is the third layer and it provides data routing paths for network COMMUNICATIONS. Error control is a function of the data LINK layer and the transport layer.

20.

The network layer is concerned with __________ of data.(a) bits(b) frames(c) packets(d) bytesThe question was asked at a job interview.Origin of the question is Network Layer in section OSI Model of Computer Network

Answer»

The correct answer is (c) packets

The best explanation: In computer networks, the data from the application layer is sent to the transport layer and is converted to SEGMENTS. These segments are then transferred to the NETWORK layer and these are CALLED packets. These packets are then sent to data LINK layer where they are encapsulated into frames. These frames are then transferred to physical layer where the frames are converted to BITS.

21.

The technique of temporarily delaying outgoing acknowledgements so that they can be hooked onto the next outgoing data frame is called ____________(a) piggybacking(b) cyclic redundancy check(c) fletcher’s checksum(d) parity checkThis question was posed to me during an interview for a job.Enquiry is from Data Link Layer topic in chapter OSI Model of Computer Network

Answer»

The CORRECT choice is (a) piggybacking

The explanation: Piggybacking is a technique in which the acknowledgment is TEMPORARILY delayed so as to be hooked with the next outgoing DATA FRAME. It SAVES a lot of channel bandwidth as in non-piggybacking system, some bandwidth is reserved for acknowledgement.

22.

Which of the following is the multiple access protocol for channel access control?(a) CSMA/CD(b) CSMA/CA(c) Both CSMA/CD & CSMA/CA(d) HDLCI had been asked this question in an online interview.I want to ask this question from Data Link Layer topic in chapter OSI Model of Computer Network

Answer»

The correct answer is (c) Both CSMA/CD & CSMA/CA

For explanation: In CSMA/CD, it DEALS with detection of collision after collision has occurred, whereas CSMA/CA deals with PREVENTING collision. CSMA/CD is abbreviation for Carrier Sensing MULTIPLE ACCESS/Collision detection. CSMA/CA is abbreviation for Carrier Sensing Multiple Access/Collision Avoidance. These protocols are used for efficient multiple channel access.

23.

Which of the following is a data link protocol?(a) ethernet(b) point to point protocol(c) hdlc(d) all of the mentionedThis question was addressed to me in an interview.My doubt stems from Data Link Layer in chapter OSI Model of Computer Network

Answer»

The correct ANSWER is (d) all of the mentioned

The explanation is: There are many data link layer PROTOCOLS. Some of them are SDLC (synchronous data link protocol), HDLC (High level data link CONTROL), SLIP (serial LINE interface protocol), PPP (Point to point protocol) etc. These protocols are used to provide the LOGICAL link control function of the Data Link Layer.

24.

CRC stands for __________(a) cyclic redundancy check(b) code repeat check(c) code redundancy check(d) cyclic repeat checkThis question was posed to me during an interview for a job.This question is from Data Link Layer topic in division OSI Model of Computer Network

Answer»

Right answer is (a) cyclic redundancy CHECK

Best explanation: Cyclic redundancy check is a code that is added to a data which helps us to identify any ERROR that occurred during the TRANSMISSION of the data. CRC is only able to DETECT errors, not correct them. CRC is inserted in the frame trailer.

25.

When 2 or more bits in a data unit has been changed during the transmission, the error is called ____________(a) random error(b) burst error(c) inverted error(d) double errorI had been asked this question by my school principal while I was bunking the class.This key question is from Data Link Layer topic in section OSI Model of Computer Network

Answer»

Right answer is (b) burst error

Explanation: When a SINGLE BIT error occurs in a data, it is CALLED single bit error. When more than a single bit of data is corrupted or has error, it is called burst error. If a single bit error occurs, the bit can be simply repaired by inverting it, but in CASE of a burst error, the sender has to send the frame again.

26.

Automatic repeat request error management mechanism is provided by ________(a) logical link control sublayer(b) media access control sublayer(c) network interface control sublayer(d) application access control sublayerI have been asked this question in a national level competition.I want to ask this question from Data Link Layer topic in division OSI Model of Computer Network

Answer»

Correct option is (a) logical link control sublayer

The explanation is: The logical link control is a sublayer of data link layer whose main function is to manage traffic, flow and error control. The automatic repeat request error management mechanism is provided by the LLC when an error is FOUND in the RECEIVED FRAME at the receiver’s end to inform the sender to re-send the frame.

27.

Header of a frame generally contains ______________(a) synchronization bytes(b) addresses(c) frame identifier(d) all of the mentionedThis question was addressed to me during an online interview.This is a very interesting question from Data Link Layer in portion OSI Model of Computer Network

Answer»

Right answer is (d) all of the mentioned

To explain: In a frame, the header is a PART of the data that CONTAINS all the REQUIRED information about the transmission of the file. It contains information like synchronization bytes, ADDRESSES, frame identifier etc. It also contains error control information for reducing the errors in the transmitted frames.

28.

Which sublayer of the data link layer performs data link functions that depend upon the type of medium?(a) logical link control sublayer(b) media access control sublayer(c) network interface control sublayer(d) error control sublayerI have been asked this question in my homework.This intriguing question originated from Data Link Layer topic in division OSI Model of Computer Network

Answer»

The correct OPTION is (B) media access control sublayer

The BEST I can explain: Media access control (MAC) deals with transmission of data packets to and from the network-interface card, and ALSO to and from another remotely shared channel. The MAC sublayer also prevents collision using protocols like CSMA/CD.

29.

Which of the following tasks is not done by data link layer?(a) framing(b) error control(c) flow control(d) channel codingI have been asked this question by my college professor while I was bunking the class.This intriguing question originated from Data Link Layer topic in portion OSI Model of Computer Network

Answer»

Right option is (d) channel coding

The best I can EXPLAIN: Channel coding is the FUNCTION of physical layer. DATA link layer mainly deals with framing, ERROR control and flow control. Data link layer is the layer where the packets are encapsulated into FRAMES.

30.

The data link layer takes the packets from _________ and encapsulates them into frames for transmission.(a) network layer(b) physical layer(c) transport layer(d) application layerThe question was asked during a job interview.The origin of the question is Data Link Layer in section OSI Model of Computer Network

Answer»

Correct option is (a) network layer

The best explanation: In computer networks, the data from application layer is sent to transport layer and is converted to SEGMENTS. These segments are then transferred to the network layer and these are CALLED packets. These packets are then sent to data link layer where they are encapsulated into FRAMES. These frames are then transferred to physical layer where the frames are converted to bits. Error control and FLOW control data is inserted in the frames at the data link layer.

31.

Wireless transmission of signals can be done via ___________(a) radio waves(b) microwaves(c) infrared(d) all of the mentionedI have been asked this question in examination.I would like to ask this question from Physical Layer in chapter OSI Model of Computer Network

Answer»

Right answer is (d) all of the mentioned

To ELABORATE: Wireless transmission is carried out by radio waves, MICROWAVES and IR waves. These waves RANGE from 3 Khz to above 300 GHZ and are more suitable for wireless transmission. Radio waves can penetrate through walls and are used in radio communications, microwaves and infrared (IR) waves cannot penetrate through walls and are used for satellite communications and device communications respectively.

32.

A single channel is shared by multiple signals by ____________(a) analog modulation(b) digital modulation(c) multiplexing(d) phase modulationThis question was posed to me during an online interview.The origin of the question is Physical Layer topic in chapter OSI Model of Computer Network

Answer»

Correct answer is (c) multiplexing

The best I can explain: In communication and COMPUTER networks, the main goal is to share a scarce RESOURCE. This is DONE by multiplexing, where multiple analog or digital signals are combined into one signal over a shared medium. The multiple KINDS of signals are designated by the transport layer which is the layer present on a higher level than the physical layer.

33.

The physical layer translates logical communication requests from the ______ into hardware specific operations.(a) data link layer(b) network layer(c) trasnport layer(d) application layerThe question was asked in an international level competition.Origin of the question is Physical Layer in section OSI Model of Computer Network

Answer»

Correct answer is (a) DATA link layer

The BEST I can explain: Physical layer accepts data or information from the data link layer and converts it into HARDWARE specific operations so as to transfer the message through physical cables. Some examples of the cables USED are OPTICAL fiber cables, twisted pair cables and co-axial cables.

34.

The physical layer is responsible for __________(a) line coding(b) channel coding(c) modulation(d) all of the mentionedThis question was addressed to me during a job interview.I would like to ask this question from Physical Layer in portion OSI Model of Computer Network

Answer»

The correct option is (d) all of the mentioned

To explain I would say: The physical layer is RESPONSIBLE for line CODING, channel coding and modulation that is needed for the transmission of the information. The physical configuration including PINS, connectors and the electric current used is dealt in the physical layer based on the requirement of the NETWORK application.

35.

In asynchronous serial communication the physical layer provides ___________(a) start and stop signalling(b) flow control(c) both start & stop signalling and flow control(d) only start signallingThis question was addressed to me during an internship interview.I need to ask this question from Physical Layer in section OSI Model of Computer Network

Answer»

The correct option is (C) both start & stop signalling and flow control

The best explanation: In asynchronous SERIAL COMMUNICATION, the communication is not synchronized by clock signal. Instead of a start and stop SIGNALING and flow control METHOD is followed. Unlike asynchronous serial communication, in synchronous serial communication a clock signal is used for communication, so the start and stop method is not really required.

36.

The physical layer provides __________(a) mechanical specifications of electrical connectors and cables(b) electrical specification of transmission line signal level(c) specification for IR over optical fiber(d) all of the mentionedI had been asked this question during an internship interview.This interesting question is from Physical Layer in section OSI Model of Computer Network

Answer» RIGHT choice is (d) all of the mentioned

Easiest explanation: Anything dealing with a network cable or the STANDARDS in use – including pins, connectors and the electric current used is dealt in the physical layer (Layer 1). Physical layer deals with bit to bit delivery of the data AIDED by the VARIOUS transmission MEDIUMS.
37.

The portion of physical layer that interfaces with the media access control sublayer is called ___________(a) physical signalling sublayer(b) physical data sublayer(c) physical address sublayer(d) physical transport sublayerI got this question in final exam.Enquiry is from Physical Layer in section OSI Model of Computer Network

Answer»

Right choice is (a) physical signalling sublayer

Explanation: The portion of physical layer that INTERFACES with the medium ACCESS control sublayer is Physical Signaling Sublayer. The main function of this layer is character encoding, RECEPTION, decoding and performs optional isolation functions. It handles which media CONNECTION the signal should be forwarded to PHYSICALLY.

38.

Bits can be sent over guided and unguided media as analog signal by ___________(a) digital modulation(b) amplitude modulation(c) frequency modulation(d) phase modulationThe question was posed to me in an internship interview.The query is from Physical Layer topic in chapter OSI Model of Computer Network

Answer»

The correct ANSWER is (a) digital MODULATION

The EXPLANATION is: In analog modulation, digital low frequency baseband signal (digital bit stream) is TRANSMITTED over a higher frequency. Whereas in digital modulation the only difference is that the base band signal is of discrete amplitude level. The bits are REPRESENTED by only two frequency levels, one for high and one for low.

39.

Which transmission media provides the highest transmission speed in a network?(a) coaxial cable(b) twisted pair cable(c) optical fiber(d) electrical cableThis question was posed to me in unit test.The question is from Physical Layer topic in portion OSI Model of Computer Network

Answer»

Correct option is (c) optical fiber

The best I can explain: Fiber optics is considered to have the HIGHEST transmission speed among the all mentioned above. The fiber optics transmission runs at 1000Mb/s. It is called as 1000Base-Lx WHEREAS IEEE STANDARD for it is 802.3z. It is popularly USED for modern day network CONNECTIONS due to its high transmission rate.

40.

The physical layer is concerned with ___________(a) bit-by-bit delivery(b) process to process delivery(c) application to application delivery(d) port to port deliveryI got this question in an online interview.The query is from Physical Layer in chapter OSI Model of Computer Network

Answer»

Right OPTION is (a) bit-by-bit delivery

To explain: Physical layer deals with bit to bit delivery in networking. The data UNIT in the physical layer is bits. Process to process delivery or the PORT to port delivery is DEALT in the TRANSPORT layer. The various transmission mediums aid the physical layer in performing its functions.