wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Data link layer and Network layer

Total questions: 30

Worksheet time: 15mins

Name
Class
Date
1.

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 layer

2.

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 sublayer

3.

A 4 byte IP address consists of __________

a)

only network address

b)

only host address

c)

network address & host address

d)

network address & MAC address

4.

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 address

5.

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 mentioned

6.

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 protocol

7.

The network layer protocol for internet is __________

a)

ethernet

b)

internet protocol

c)

hypertext transfer protocol

d)

file transfer protocol

8.

Header of a frame generally contains ______________

a)

synchronization bytes

b)

addresses

c)

frame identifier

d)

all of the mentioned

9.

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 sublayer

10.

ICMP is primarily used for __________

a)

error and diagnostic functions

b)

addressing

c)

forwarding

d)

routing

11.

The network layer is concerned with __________ of data.

a)

bits

b)

frames

c)

packets

d)

bytes

12.

Which one of the following is not a function of network layer?

a)

routing

b)

inter-networking

c)

congestion control

d)

error control

13.

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 receivers

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

15.

Which of the following is a function of the data link layer?

a)

Routing

b)

Flow control

c)

Encryption

d)

End-to-end delivery

16.

Which sublayers exist in the data link layer?

a)

Logical Link Control (LLC)

b)

Media Access Control (MAC)

c)

Both a and b

d)

None of the above

17.

Which protocol is used for error detection in the data link layer?

a)

TCP

b)

CRC (Cyclic Redundancy Check)

c)

UDP

d)

ICMP

18.

Which of the following methods is used for media access control?

a)

Token Passing

b)

CSMA/CD

c)

Both a and b

d)

None of the above

19.

In Ethernet, what is the minimum frame size?

a)

46 bytes

b)

64 bytes

c)

128 bytes

d)

256 bytes

20.

Which protocol operates at the data link layer?

a)

ARP

b)

IP

c)

TCP

d)

HTTP

21.

What type of switching is used in the data link layer?

a)

Packet switching

b)

Circuit switching

c)

Frame switching

d)

None of the above

22.

Which of the following is a type of framing method?

a)

Bit stuffing

b)

Character stuffing

c)

Both a and b

d)

None of the above

23.

Which of the following is a function of the network layer?

a)

Encryption

b)

Routing

c)

Error detection

d)

Framing

24.

Which protocol is used for logical addressing in the network layer?

a)

TCP

b)

UDP

c)

IP

d)

FTP

25.

Which of the following is NOT a network layer protocol?

a)

ICMP

b)

IP

c)

ARP

d)

HTTP

26.

Which IP address class provides the most host addresses?

a)

Class A

b)

Class B

c)

Class C

d)

Class D

27.

What is the purpose of the subnet mask?

a)

To identify the network and host portions of an IP address

b)

To encrypt data

c)

To provide error checking

d)

To assign MAC addresses

28.

Which routing protocol uses hop count as a metric?

a)

OSPF

b)

RIP

c)

BGP

d)

EIGRP

29.

Which address is used by a router to forward packets to another network?

a)

MAC address

b)

IP address

c)

Port number

d)

Frame number

30.

What is the purpose of ICMP in the network layer?

a)

Error reporting and diagnostics

b)

Routing

c)

Encryption

d)

Data transmission