Disclaimer:
Educational Use Only:
The website links provided are to be used strictly for educational and knowledge-gaining purposes only.
No Misuse:
Do not misuse the links or the information contained therein for any commercial, illegal, or unethical activities.
Respect for Websites and Businesses:
Respect the intellectual property and business interests of the websites and their owners. Do not attempt to alter, copy, or redistribute content without proper authorization.
Acknowledge Value of Knowledge:
Recognize and value the knowledge and resources shared by these websites. Use the information responsibly and ethically.
No Endorsement:
The provision of these links does not imply endorsement of the linked sites, their content, or their products and services. Users are responsible for evaluating the suitability and accuracy of the information.
User Responsibility:
By accessing these links, you agree to use the information at your own risk and to comply with all applicable laws and website terms of use.
- What is the minimum length of the IPv4 header?
a. 10 bytes
b. 20 bytes
c. 40 bytes
d. 60 bytes
Answer: b. 20 bytestestbook+2 - How many bits are used for the IPv4 version field?
a. 2
b. 4
c. 8
d. 16
Answer: b. 4pynetlabs+2 - What does the IHL (Internet Header Length) field represent in the IPv4 header?
a. Total IP packet length
b. Number of 32-bit words in the header
c. Number of bytes in the payload
d. Fragment offset
Answer: b. Number of 32-bit words in the headernetworklessons+2 - The maximum possible size of the IPv4 header is:
a. 20 bytes
b. 40 bytes
c. 60 bytes
d. 80 bytes
Answer: c. 60 bytessanfoundry+3 - Which field in the IP header specifies the type of service for QoS?
a. Identification
b. TTL
c. Type of Service
d. Protocol
Answer: c. Type of Servicegeeksforgeeks+2 - The ‘Total Length’ field in IPv4 header is how many bits?
a. 8
b. 12
c. 16
d. 32
Answer: c. 16wikipedia+2 - What information is found in the identification field of an IPv4 header?
a. Packet source address
b. Fragment number
c. Protocol type
d. TTL value
Answer: b. Fragment numberpynetlabs+2 - The ‘Flags’ field in the IPv4 header is used for:
a. Error checking
b. Fragmentation control
c. Protocol identification
d. Header length
Answer: b. Fragmentation controlnetworklessons+2 - What is the function of the fragment offset field?
a. Specifies packet order in reassembly
b. Indicates protocol being used
c. Sets packet priority
d. Addresses routing information
Answer: a. Specifies packet order in reassemblywikipedia+2 - TTL (Time to Live) in the IPv4 header is measured in:
a. Seconds
b. Hops
c. Bytes
d. Packets
Answer: b. Hopserp.metbhujbalknowledgecity+2 - The Protocol field in IPv4 header indicates:
a. The sender IP address
b. Upper-layer protocol
c. Fragment offset
d. Packet length
Answer: b. Upper-layer protocolpynetlabs+2 - The Header Checksum field is used for:
a. Error detection in the payload
b. Error detection in the header
c. Encryption
d. Fragmentation
Answer: b. Error detection in the headerpubconcierge+3 - Which of the following is NOT present in the IPv4 header?
a. Destination address
b. Source address
c. Options field
d. Data field
Answer: d. Data fieldnetworklessons+2 - The size of source and destination address fields in the IPv4 header is:
a. 4 bits each
b. 8 bits each
c. 16 bits each
d. 32 bits each
Answer: d. 32 bits eachwikipedia+2 - What field is used to indicate error-control in the IPv6 header but not in IPv4?
a. Header checksum
b. Payload length
c. Version
d. Traffic class
Answer: a. Header checksumgeeksforgeeks+2 - How does the IPv4 header differ from IPv6 regarding checksum?
a. IPv4 and IPv6 both have it
b. Only IPv6 has checksum
c. Only IPv4 has checksum
d. Neither has checksum
Answer: c. Only IPv4 has checksumgeeksforgeeks+2 - Which field of the IPv4 header changes at each router?
a. Identification
b. TTL
c. Header checksum and TTL
d. Source address
Answer: c. Header checksum and TTLgeeksforgeeks+2 - What is the use of ‘Options’ field in IPv4 header?
a. To specify user data
b. For routing, security, timestamp, others
c. Packet address
d. Size indicator
Answer: b. For routing, security, timestamp, otherspynetlabs+2 - Which field is used for reassembling fragmented packets?
a. Flags
b. Identification
c. TTL
d. Type of Service
Answer: b. Identificationnetworklessons+2 - What is the value of the version field in an IPv4 header?
a. 3
b. 4
c. 6
d. 8
Answer: b. 4wikipedia+2 - The first 4 bits of the IP header represent:
a. Type of service
b. Version
c. Protocol
d. Header checksum
Answer: b. Versiongeeksforgeeks+2 - In an IPv4 packet header, what does HLEN = 7 indicate?
a. Header is 7 bytes
b. Header is 28 bytes
c. Header is 32 bytes
d. Header is 14 bytes
Answer: b. Header is 28 bytesgeeksforgeeks+2 - What is the maximum possible value for IHL field in IPv4 header?
a. 5
b. 8
c. 15
d. 20
Answer: c. 15testbook+2 - The minimum value for IHL in IPv4 header is:
a. 1
b. 5
c. 10
d. 20
Answer: b. 5testbook+2 - Which IPv4 header field provides information about the size of the entire IP packet?
a. Fragment offset
b. Total length
c. Identification
d. Type of service
Answer: b. Total lengthpynetlabs+2 - The IP header is always followed by:
a. Another IP header
b. ICMP message
c. Payload
d. MAC address
Answer: c. Payloadnetworklessons+2 - Which IPv4 header field is used for Quality of Service (QoS)?
a. Flags
b. Type of Service
c. TTL
d. Identification
Answer: b. Type of Servicewikipedia+2 - Fragmentation occurs if datagram size is:
a. Greater than MTU
b. Less than MTU
c. Equal to MTU
d. Not related to MTU
Answer: a. Greater than MTUnetworkerinterview+2 - What does the ‘Protocol’ field specify?
a. The layer 2 protocol
b. The destination address
c. The layer 4 protocol (e.g., TCP, UDP)
d. The length of options
Answer: c. The layer 4 protocol (e.g., TCP, UDP)pynetlabs+2 - The Header Checksum is recalculated by:
a. The sender only
b. Destination only
c. Each router along the path
d. Only intermediate routers
Answer: c. Each router along the pathgeeksforgeeks+2 - Fragment offset refers to:
a. Location of fragment in the original datagram
b. Number of fragments
c. IP packet version
d. TTL value
Answer: a. Location of fragment in the original datagramnetworklessons+2 - Which IPv4 header field defines the protocol of the data portion?
a. Protocol
b. Flags
c. Type of Service
d. Identification
Answer: a. Protocolwikipedia+2 - What is the address size of IPv4?
a. 16 bits
b. 32 bits
c. 64 bits
d. 128 bits
Answer: b. 32 bitsgeeksforgeeks+2 - Which IPv4 header field is used for routing and time checking?
a. TTL
b. Identification
c. Header checksum
d. Fragment offset
Answer: a. TTLerp.metbhujbalknowledgecity+2 - Which one of the following statements is true about IPv4 header options?
a. Mandatory presence
b. Can be up to 40 bytes
c. Always absent
d. Fixed size
Answer: b. Can be up to 40 bytespynetlabs+2 - If an IPv4 packet is fragmented, which field aids its reassembly?
a. TTL
b. Flags
c. Protocol
d. Identification
Answer: d. Identificationnetworklessons+2 - HLEN value of 8 in IPv4 header implies how many bytes?
a. 8
b. 16
c. 32
d. 64
Answer: c. 32geeksforgeeks+2 - What value does the protocol field hold for TCP?
a. 1
b. 6
c. 17
d. 80
Answer: b. 6examjila+2 - TTL stands for:
a. Time to Length
b. Total Transmission Line
c. Time to Live
d. Transmission Type Level
Answer: c. Time to Liveerp.metbhujbalknowledgecity+2 - Which IPv4 header field differs from IPv6 header?
a. Source address
b. TTL
c. Header Checksum
d. Identification
Answer: c. Header Checksumgeeksforgeeks+2 - What is the range of possible values in the TTL field?
a. 0 to 7
b. 0 to 15
c. 0 to 255
d. 0 to 1024
Answer: c. 0 to 255erp.metbhujbalknowledgecity+2 - Which IPv4 header field can be used for security or timestamp purposes?
a. Protocol
b. Options
c. Header Checksum
d. TTL
Answer: b. Optionswikipedia+2 - The default value of TTL in most OS is:
a. 32
b. 64
c. 128
d. 255
Answer: b. 64erp.metbhujbalknowledgecity+2 - Which field helps in discarding corrupted IP packets?
a. Identification
b. Header Checksum
c. Protocol
d. TTL
Answer: b. Header Checksumpynetlabs+2 - The maximum IP packet length is:
a. 1024 bytes
b. 65535 bytes
c. 128 bytes
d. 32768 bytes
Answer: b. 65535 bytesgeeksforgeeks+2 - What does the DSCP field represent in IPv4 header?
a. Data size control protocol
b. Differentiated Services Code Point for QoS
c. Datagram sequence control position
d. Distributed service check protocol
Answer: b. Differentiated Services Code Point for QoSwikipedia+1 - What is contained in the last field of the IPv4 header?
a. Fragment offset
b. Flags
c. Source and destination addresses
d. Options and padding
Answer: d. Options and paddingnetworklessons+2 - What is the basic unit of transmission in the IP protocol?
a. Frame
b. Segment
c. Datagram
d. Message
Answer: c. Datagrampynetlabs+2 - Which field in IPv4 header assists in load balancing?
a. Protocol
b. Source address
c. Type of Service (TOS)
d. Identification
Answer: c. Type of Service (TOS)networklessons+2 - The identification field is primarily used for:
a. Error correction
b. Fragmentation
c. Resend requests
d. Data encryption
Answer: b. Fragmentationwikipedia+2
- https://testbook.com/objective-questions/mcq-on-ipv4–5eea6a0939140f30f369d912
- https://www.sanfoundry.com/wireless-mobile-communications-questions-answers-network-protocols/
- https://www.pynetlabs.com/introduction-to-ipv4-header-format/
- https://www.geeksforgeeks.org/computer-networks/introduction-and-ipv4-datagram-header/
- https://en.wikipedia.org/wiki/IPv4
- https://networklessons.com/cisco/ccna-routing-switching-icnd1-100-105/ipv4-packet-header
- https://erp.metbhujbalknowledgecity.ac.in/StudyMaterial/01VD062009003760041.pdf
- https://www.pubconcierge.com/blog/what-is-an-ip-header/
- https://www.geeksforgeeks.org/blogs/top-50-tcp-ip-interview-questions-and-answers/
- http://networkerinterview.net/entries/ip-header/ip-header
- https://www.geeksforgeeks.org/blogs/top-50-ip-addressing-interview-questions-and-answers/
- https://examjila.in/mcq/internet-protocols
- https://www.sanfoundry.com/computer-networks-mcqs-ipv4/
- https://testbook.com/objective-questions/mcq-on-internet-internet-protocols–64f9c109be446ffcbc1c7c42
- https://www.scribd.com/document/668872484/IP-Address-solved-MCQs-with-answers-in-PDF
- https://examradar.com/network-layer-internet-protocol-mcq-data-communication-networking/
- https://www.youtube.com/watch?v=mgTROsIM7rg
- https://www.interviewbit.com/networking-interview-questions/
- https://www.interviewbit.com/computer-network-mcq/
- https://automationcommunity.com/tcp-ip-important-question-answers/