Computer Networks Questions & Answers – IPv4
1. Which of the following is not
applicable for IP?
a) Error reporting
b) Handle addressing conventions
c) Datagram format
d) Packet handling conventions
a) Error reporting
b) Handle addressing conventions
c) Datagram format
d) Packet handling conventions
Answer: a
Explanation: Error reporting is handled by ICMP.
Explanation: Error reporting is handled by ICMP.
2. Which of the following field in
IPv4 datagram is not related to fragmentation?
a) Flags
b) Offset
c) TOS
d) Identifier
a) Flags
b) Offset
c) TOS
d) Identifier
Answer: c
Explanation: TOS-type of service identifies the type of packets.
Explanation: TOS-type of service identifies the type of packets.
3. The TTL field has value 10. How
many routers (max) can process this datagram?
a) 11
b) 5
c) 10
d) 1
a) 11
b) 5
c) 10
d) 1
Answer: c
Explanation: TTL field is decremented by one each time the datagram is processed by a router.
Explanation: TTL field is decremented by one each time the datagram is processed by a router.
4. If the value in protocol field is
17, the transport layer protocol used is _____________
a) TCP
b) UDP
c) Either of the mentioned
d) None of the mentioned
a) TCP
b) UDP
c) Either of the mentioned
d) None of the mentioned
Answer: b
Explanation: For TCP it is 6.
Explanation: For TCP it is 6.
5. The data field can carry which of
the following?
a) TCP segemnt
b) UDP segment
c) ICMP messages
d) None of the mentioned
a) TCP segemnt
b) UDP segment
c) ICMP messages
d) None of the mentioned
Answer: c
Explanation: Data field usually has tranaport layer segment, but it can also carry ICMP messages.
Explanation: Data field usually has tranaport layer segment, but it can also carry ICMP messages.
6. What should be the flag value to
indicate the last fragment?
a) 0
b) 1
c) TTl value
d) None of the mentioned
a) 0
b) 1
c) TTl value
d) None of the mentioned
Answer: a
Explanation: flag=0 indicates that it is the last fragment.
Explanation: flag=0 indicates that it is the last fragment.
7. Which of these is not applicable
for IP protocol?
a) is connectionless
b) offer reliable service
c) offer unreliable service
d) none of the mentioned
a) is connectionless
b) offer reliable service
c) offer unreliable service
d) none of the mentioned
Answer: b
Explanation: Ip offers unreliable service.
Explanation: Ip offers unreliable service.
8. Fragmentation has following
demerits
a) complicates routers
b) open to DOS attack
c) overlapping of fragments.
d) all of the mentioned
a) complicates routers
b) open to DOS attack
c) overlapping of fragments.
d) all of the mentioned
Answer: d
Explanation: Fragmentation makes the implementation complex and also can create DOS attack.
Explanation: Fragmentation makes the implementation complex and also can create DOS attack.
9. Which field helps to check
rearrangement of the fragments?
a) offset
b) flag
c) ttl
d) identifer
a) offset
b) flag
c) ttl
d) identifer
Answer: a
Explanation: Offset field specifies where the fragment fits in the original datagram.
Explanation: Offset field specifies where the fragment fits in the original datagram.
ليست هناك تعليقات:
إرسال تعليق