Computer Networks - Reference Models
Computer Networks - Reference Models
Exam Material
CONCEPT+MCQS+PYQS
Computer Networks
O Reference Models
For More MaterialContact
@BG2550 9106063782
<br>
Computer Networks
Computer Network T
?
Network ychR
Speed yIA
3G1RUT: Computer lab
3aIFRUT: Internet
Exam Trick:
Area fHIG - PAN < LAN < MAN< WAN
<br>
9 Network Topology
1 Bus Topology
yi main cable (backbone)
=
Backbone fail yI network d<
2 Star Topology
aft Hub yt Switch
Fault 6 3THT
3 Ring Topology
4 Mesh Topology
3R node R NOde ggT
H reliable
Cost ad gIT
Exam Favorite:
ut Computer Network
R= Computer
Hh / AR/zAT= Network media
=
qId-jld Data transfer
Bluetooth s
Speed uT
Control 3J4t H
<br>
:
QIGT FR gellch post office Ì
1 Bus Topology
G Real Life:
sExample:
jq a yc main road
<br>
2 Star Topology
G Real Life:
aftu Hub/Switch
3 Ring Topology
Real Life:
ya g break =
t train ch Hhit
4 Mesh Topology
Real Life:
HT reliable
G HHqAmazon l Order ha
Application Layer
6 Presentation Layer
GMobile 4e format pack siaà
(Encryption / Compression)
5 Session Layer
G Delivery 25 end d track
(Session maintain)
4 Transport Layer
G H address, H quantity
(End-to-end delivery)
3 Network Layer
G Delivery aliT route choose chI
(Routing /IP)
1 Physical Layer
Shortcut ra RI HT:
AllPeople Seem To Need Data Processing
<br>
Simplex
tt: TV
Half Duplex
: Walkie-Talkie
FullDuplex
: Mobile call
.
data t tT GIIYI
Architect
Engineer - structure
Electrician wiring
• Plumber - pipe
Painter - finishing
H
hI RT = Reference Model
gR =
Hi Real Network
OSI
Network at 4 fey
Standardization fe
Troubleshooting 3rHI GHafy
G gt develop fa T ISO (International Organization for Standardization)
Overview (t story)
Message:
Physical
Data Link
3 Network
4 Transport
5 Session
6 Presentation
Application
y
al shortcut:
a
G Raw bits (0 ir 1) GHIH
Voltage level
Cable type
Connector
Signal transmission
G T
HGch, R,
Devices
Cable
Repeater
• Hub
Exam Points
Lowest layer
Bit transmission
• Hardware based layer
Framing
Error detection
MAC address use hT
Data ht frames convert htct
Hg
G Society èh sice flat
(Flat number = MAC
address)
Devices
Switch
Bridge
Exam Points
• MAC
address ysi use zl
• Error detection
Framing
<br>
3 Network Layer
r IP
G Routing address
Best path choose heI
Packet forwarding
Data h packets handle hft
Devices
Router
Exam Points
• IP address
Routing
Logical addressing
<br>
End-to-End delivery
Main functions:
Segmentation
Flow control
• Error control
Protocols:
TCP (Reliable)
• UDP (Fast but unreliable)
Exam Points
TCP vs UDP
End-to-end communication
Reliability ys decide zlt
<br>
5 Session Layer
Exam Points
Session control
Synchronization
6 Presentation Layer
RT HTH cht ?
G Data hT format change che
Functions:
Encryption
Decryption
Compression
Sender ir receiver ti h same format data f
Examples:
Email
Web browsing
File transfer
Protocols:
• HTTP
• FTP
SMTP
Receiver Side:
Physical- Data Link Network Transport Session - Presentation - Ap
(C) ISO
(D) ANSI
Q2. How many layers are there in the OSI Reference Model?
(A) 4
(B) 5
(C) 6
(D) 7
Answer: (D) 7 V
Explanation:
OSI Reference Model p7 layers ztit žI
Actual Internet OS
R Ti, aÍech TCP/IP model R AIH HHGI I
<br>
Explanation:
Physical Layer OSI Model a yGt f f i layer
4z layer ft 0 otr (bits) transmission deal ht
1
(A) Presentation
(B) Session
(C) Transport
(D) Application
Explanation:
Application Layer 0SIModel âi Ha R
aref layer gift i
Yg User sr network t interface chl Gh|4 ChRdI
Email, web browsing, file transfer tf services gft layer user t fAct šI
(D) Transport
(D) Session
Explanation:
Network Layer i 4Y HIH BaT :
• IP Address 5 3uu
Data + fy best path (routing)
11
Routers gît layer yR GHIH HG ž
sirdata ht ys network G network A; iI
(A) Network
(B) Data Link
(C) Session
(D) Transport
Explanation:
Transport Layer sender t receiver di complete R
reliable delivery yffH httI
4G data ht segments divide Gheit 3R error control, flow control hrt I
Q9. Data encryption and compression are performed at which OSI layer?
(A) Session
(B) Presentation
(C) Application
(D) Transport
Explanation:
Presentation Layer data format sir security related t i
Encryption, decryption, compression stz decompression 3f layer fh4I Gld AIG
receiver at data sR secure format AI
<br>
G
I
n
Q11. the 0Sl model, data is divided into segments at which layer?
(A) Network
(B) Data Link
(C) Transport
(D) Physical
Answer: (C)Transport V
Explanation:
Transport Layer data t ss f aict f segments hT III I
Segmentation data ât reliable fr orderly delivery possible giit I
TCP 3tR UDP 5eft layer a4 hti
(A)Physical
(B) Data Link
(C) Network
(D) Transport
Explanation:
Logical addressing GHT
HdetG IP Address
I SqTI
IP Address Network Layer
â responsibility Fit UIh YET layer routing stz path selection
Explanation:
Application Layer user ya TH tt I
User fit gft layer through network services H
email, web browsing, file transfer T
Explanation:
Reliable delivery hI Hdelq data complete 3itr correct yUTI
Transport Layer error control, flow control oir sequencing Ghto reliability ensure GhRit ŽI
TCP protocol sefi layer reliability provide hdl ŽI
<br>
Q16. Which OSI layer converts data into bits for transmission?
(A) Physical
(B) Data Link
(C) Network
(D) Transport
Explanation:
Physical Layer data at bits (0 sr 1) form convert ahch transmission hft I
qg layer voltage, signal, cable ir connector related gia i
(D) Session
Explanation:
Data Link Layer local network error detection a HIH GHtct
I
use aià žI
CRC (Cyclic Redundancy Check)
t methods seft layer
(A)Application
(B) Presentation
(C) Session
(D) Transport
Explanation:
Presentation Layer data ât security &tr format deal Ghtft 1
Explanation:
Routing al HdTS Fta § data a source t destination dc5 ygt fey best path gT|
YF chIH Network Layer ht ŽI
IP Address a GUT t 3eft layer ÌR Router zft layer y operate Ghtll I
SHÍTY routing gi Network Layer gsi gar Ž1
020. Which OSI layer handles flow control and error control at end-to-end
level?
(A)Session
(B) Network
(C) Data Link
(D) Transport
MAC Address hT 3q
f sf layer zir BR framing local delivery h fey agd Jto
Ž
slt
<br>
Q22. Which OSI layer is responsible for converting data into packets?
(A) Data Link
(B) Network
(C) Transport
(D) Physical
Explanation:
Network Layer data h packets à o handle Ghtt i
Ys y logical addressing (IP) siR routing ga SHAY packetization Network Layer
§,
sT
Answer: (C)Session V
Explanation:
Session Layer communication ¿H synchronization provide ait I
Hdetg data exchange tu
checkpoints HI
AIa failure g q qsi t communication
Explanation:
Reliable delivery hI Hdg data a yRT
Gr Hst qEuI
Transport Layer error control, flow control otr sequencing hrci reliability fga h.
GHGR TCP protocol à uRyI
Q26. Which OSI layer works with signals and voltage levels?
(A)Physical
(B) Data Link
(C) Network
(D)Transport
(D) Session
Explanation:
Local network à icR error-free delivery câi responsibility Data Link Layer ât Bit l
Yg framing
r error detection (dt CRC) Gat
3Y ARo errors hÌ detect hRft I
<br>
Q28. Which OSI layer provides services like email and file transfer?
(A) Transport
(B) Presentation
(C) Session
(D) Application
Q29. Which OSIlayer establishes the logical path between sOurce and
destination?
(A) Data Link
(B) Network
(C) Transport
(D) Physical
Explanation:
Logical path establish hI Hdg routing hI
Network Layer source str destination u
best route choose ht str IP addressing ta
Q30. Which OSI layer is responsible for breaking messages into smaller units
before transmission?
(A) Network
(B) Data Link
(C) Transport
(D) Physical
Explanation:
Transport Layer data ot transmission yg segments divide Ghtcii žI
SHT data ht manage hr 3ATHIT B GIIGT Ž3R end-to-end delivery reliable -t ŽI
<br>
1 Application Layer
2 Transport Layer
3 Internet Layer
4 Network Access Layer
AI
Address
Route decide gia
Wire / air bits
• Main Functions
User services provide heT
• Data format handle hI
Session management
• Important Protocols
• HTTP /HTTPS
• FTP
SMTP / POP3
DNS
Exam Points
TCP/IP cht top layer
User closest layer
OSI
ât 3 layers = TCP/IP 1
layer
<br>
Transport Layer
G End-to-End communication
Data it segments divide hT
Reliability decide he|I
Flow control, Error control
• Important Protocols
• TCP (Transmission Control Protocol)
Reliable
Connection-oriented
Slow but safe
Connectionless
Fast but no guarantee
GCourier service
TCP = Registered parcel
UDP = Normal post
Exam Points
3 Internet Layer
Important Protocols
IP (IPy4 / |Pv6)
ICMP
ARP
GActual transmission
Frames
MACaddress
Physical media
Technologies
Ethernet
Wi-Fi
Cable, Fiber
Exam Points
• TCP/IP at lowest layer
• Hardware oriented
Receiver Side:
Network Access Internet - Transport - Application
Direct exam question
<br>
Layers 4 7
Flexibility
Golden Line:
& TCP/IPatfy
Q31. How many layers are there in the TCP/IP Reference Model?
(A) 3
(B) 4
(C) 5
(D) 7
Answer: (B) 4 V
Explanation:
TCP/IPReference Model ht 4 layers i:
Application, Transport, Internet tr Network AccessI
43 OSI model h RE theoretical sŽ, qIch practical modelš fsH R|nternet hH hHGI I
Explanation:
End-to-end communication h Hdiq sender t receiver dch data hI HSI VgTHTI
ug HIH Transport Layer Ghtit , VII TCP stR UDP protocols reliability tr speed aY Ghed I
(B) IP
(C) TCP
(D) ICMP
(A)Transport
(B) Internet
(C) Application
Explanation:
TCP/IP ât Internet Layer OSI modelT Network Layer qRISR
FetI
Routing, IP addressing it packet forwarding seft layer gTI
(B) Transport
(C) Internet
(D) Network Access
Explanation:
IPAddress 3tR routing hi hIH Internet Layer iŽI
a
Router sft layer ye operate htdl 3R data fy best path select hRdI ŽI
Q36. Which TCP/IP layer combinesOSI Physical and Data Link layers?
(A) Transport
(B) Internet
(C) Application
(D) Network Access
Explanation:
UDP yG connectionless 3ir unreliable protocol I
UF speed
t priority d, reliability at afi
Video streaming, online gaming UDP hT 34 Bat ŽI
038. Which TCP/IP layer provides services like HTTP, FTP, and SMTP?
(A) Transport
(B) Internet
(C) Application
(D) Network Access
Q40. Which TCP//P layer is responsible for packet delivery across networks?
(A) Application
(B) Transport
(C) Internet
(D) Network Access
Explanation:
OSI Model otr TCP/IP Model ai Transport Layer common gii
$ layer hi GHIH -t models same :
End-to-end communication
Segmentation
• Flow control
• Error control
(B) ARP
(C) RARP
(D) DNS
Q44. Which TCP/IP protocol is used for error reporting and diagnostics?
(A) TCP
(B) UDP
(C) ICMP
(D) HTTP
(D) ARP
Explanation:
DNS (Domain Name System) domain name(t [Link]) t IP address convert
User fey name easy žlat à, machine h fyIP – GHIH DNS RdIŽI
4F Application Layer protocol I
047. Which TCP/|P layer is responsible for actual data transmission over the
network medium?
(A) Application
(B) Transport
(C) Internet
(D) Network Access
(B) ARP
(c) TCP/UDP
(D) ICMP
(B) IP
(C) TCP
(D) ICMP
TCP :
3-way handshake (connection establish)
Acknowledgement fTaI
• Error control g
3t flow control
Explanation:
UDP (User Datagram Protocol) yi connectionless
ir unreliable protocol I
Connectionless h Hds 3:
• Data
siG connection establish si hI
• No acknowledgement
No error recovery
Real-time applications :
• Video streaming
Online gaming
Voice calls
Exam Material
CONCEPT+MCQS+PYQS
PDF aglud
@BG2550 9106063782