How many layers does the OSI reference model have?
Show answer & solution
Answer: (C) Seven
It was developed by the ISO.
Electrical Engineering · Computer Networks
27 questions, each with the answer and a worked solution.
Practice interactively and track your score →How many layers does the OSI reference model have?
Answer: (C) Seven
It was developed by the ISO.
Which layer of the OSI model is responsible for reliable end-to-end data delivery?
Answer: (A) Transport layer
TCP operates at this layer.
Which OSI layer is responsible for routing packets between networks using logical addresses?
Answer: (B) Network layer
IP operates at the network layer.
Which OSI layer uses MAC addresses and organises bits into frames?
Answer: (D) Data link layer
Switches operate at this layer.
Which OSI layer deals with the transmission of raw bits over the physical medium?
Answer: (C) Physical layer
It defines voltages, cables and connectors.
Which OSI layer handles data encryption, compression and format translation?
Answer: (A) Presentation layer
It ensures data is readable by the receiving application.
Which OSI layer establishes, manages and terminates communication sessions?
Answer: (D) Session layer
It provides dialogue control and synchronisation.
Which OSI layer provides network services directly to user applications?
Answer: (B) Application layer
HTTP, FTP and SMTP are application-layer protocols.
What is the correct order of OSI layers from bottom to top?
Answer: (C) Physical, Data Link, Network, Transport, Session, Presentation, Application
A common mnemonic is "Please Do Not Throw Sausage Pizza Away".
How many layers does the TCP/IP model have?
Answer: (A) Four
They are Network Access, Internet, Transport and Application.
Which TCP/IP layer corresponds to the OSI network layer?
Answer: (D) Internet layer
IP and ICMP operate here.
What is the protocol data unit at the transport layer called when using TCP?
Answer: (B) Segment
UDP data units are often called datagrams.
What is the protocol data unit at the network layer called?
Answer: (D) Packet
Routers forward packets.
What is the protocol data unit at the data link layer called?
Answer: (C) Frame
Frames carry MAC addresses and error checks.
What is encapsulation in networking?
Answer: (A) Adding headers (and trailers) to data as it passes down the protocol layers
Decapsulation occurs at the receiver.
Which organisation developed the OSI reference model?
Answer: (B) ISO
The IETF develops Internet protocols.
Which two sublayers make up the data link layer in IEEE LAN standards?
Answer: (B) Logical Link Control (LLC) and Media Access Control (MAC)
The MAC sublayer controls access to the medium.
At which OSI layer does a router mainly operate?
Answer: (C) Network layer
It uses IP addresses to forward packets.
At which OSI layer does a hub operate?
Answer: (A) Physical layer
It repeats signals to all ports.
What is the main purpose of a layered network model?
Answer: (D) To divide complex communication into manageable functions with standard interfaces
Layers allow equipment from different vendors to work together.
Which OSI layer is responsible for flow control and segmentation of data?
Answer: (B) Transport layer
It breaks data into segments and reassembles them.
Which OSI layer is responsible for error detection using frame check sequences?
Answer: (C) Data link layer
A CRC is included in each Ethernet frame.
At which OSI layer does a switch normally operate?
Answer: (C) Data link layer
It forwards frames using MAC addresses.
Which layer in the TCP/IP model corresponds to the OSI physical and data link layers?
Answer: (D) Network access (link) layer
Ethernet and Wi-Fi operate here.
At which OSI layer do protocols such as HTTP, FTP and DNS operate?
Answer: (B) Application layer
They provide services directly to user applications.
At which OSI layer does encryption such as SSL/TLS conceptually operate?
Answer: (A) Presentation layer
In practice TLS sits between transport and application.
What is the main role of port numbers at the transport layer?
Answer: (C) Identifying the application or service on a host
IP addresses identify hosts; ports identify processes.