WorksheetsData link layer and Network layer
Total questions: 30
Worksheet time: 15mins
The data link layer takes the packets from _________ and encapsulates them into frames for transmission.
network layer
physical layer
transport layer
application layer
Which sublayer of the data link layer performs data link functions that depend upon the type of medium?
logical link control sublayer
media access control sublayer
network interface control sublayer
error control sublayer
A 4 byte IP address consists of __________
only network address
only host address
network address & host address
network address & MAC address
In virtual circuit network each packet contains ___________
full source and destination address
a short VC number
only source address
only destination address
Which of the following routing algorithms can be used for network layer design?
shortest path algorithm
distance vector routing
link state routing
all of the mentioned
Which one of the following algorithm is not used for congestion control?
traffic aware routing
admission control
load shedding
routing information protocol
The network layer protocol for internet is __________
ethernet
internet protocol
hypertext transfer protocol
file transfer protocol
Header of a frame generally contains ______________
synchronization bytes
addresses
frame identifier
all of the mentioned
Automatic repeat request error management mechanism is provided by ________
logical link control sublayer
media access control sublayer
network interface control sublayer
application access control sublayer
ICMP is primarily used for __________
error and diagnostic functions
addressing
forwarding
routing
The network layer is concerned with __________ of data.
bits
frames
packets
bytes
Which one of the following is not a function of network layer?
routing
inter-networking
congestion control
error control
Which of the following is not correct in relation to multi-destination routing?
is same as broadcast routing
contains the list of all destinations
data is not sent by packets
there are multiple receivers
A subset of a network that includes all the routers but contains no loops is called ________
spanning tree
spider structure
spider tree
Which of the following is a function of the data link layer?
Routing
Flow control
Encryption
End-to-end delivery
Which sublayers exist in the data link layer?
Logical Link Control (LLC)
Media Access Control (MAC)
Both a and b
None of the above
Which protocol is used for error detection in the data link layer?
TCP
CRC (Cyclic Redundancy Check)
UDP
ICMP
Which of the following methods is used for media access control?
Token Passing
CSMA/CD
Both a and b
None of the above
In Ethernet, what is the minimum frame size?
46 bytes
64 bytes
128 bytes
256 bytes
Which protocol operates at the data link layer?
ARP
IP
TCP
HTTP
What type of switching is used in the data link layer?
Packet switching
Circuit switching
Frame switching
None of the above
Which of the following is a type of framing method?
Bit stuffing
Character stuffing
Both a and b
None of the above
Which of the following is a function of the network layer?
Encryption
Routing
Error detection
Framing
Which protocol is used for logical addressing in the network layer?
TCP
UDP
IP
FTP
Which of the following is NOT a network layer protocol?
ICMP
IP
ARP
HTTP
Which IP address class provides the most host addresses?
Class A
Class B
Class C
Class D
What is the purpose of the subnet mask?
To identify the network and host portions of an IP address
To encrypt data
To provide error checking
To assign MAC addresses
Which routing protocol uses hop count as a metric?
OSPF
RIP
BGP
EIGRP
Which address is used by a router to forward packets to another network?
MAC address
IP address
Port number
Frame number
What is the purpose of ICMP in the network layer?
Error reporting and diagnostics
Routing
Encryption
Data transmission
