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 does IPv4 stand for?
a. Internet Protocol Version Four
b. Internet Programming Variable Length
c. Intra-Protocol Vector Layer Four
d. Internal Packet Versioning Four
Answer: a. Internet Protocol Version Fourletsfindcourse - How many bits are contained in an IPv4 address?
a. 8
b. 16
c. 32
d. 64
Answer: c. 32testbook - What is the maximum value of any octet in an IPv4 address?
a. 100
b. 127
c. 254
d. 255
Answer: d. 255testbook - Which of the following is NOT a valid IPv4 address?
a. 192.168.1.1
b. 10.0.0.256
c. 172.16.0.5
d. 203.0.113.99
Answer: b. 10.0.0.256testbook - What is the default subnet mask for a Class B IPv4 address?
a. 255.0.0.0
b. 255.255.0.0
c. 255.255.255.0
d. 255.0.255.0
Answer: b. 255.255.0.0testbook - Which IPv4 address class is used for multicast?
a. Class A
b. Class B
c. Class C
d. Class D
Answer: d. Class Dtestbook - Which of the following fields in the IPv4 header is used to prevent packets from circulating indefinitely?
a. Header Length
b. Time to Live (TTL)
c. Protocol
d. Version
Answer: b. Time to Live (TTL)sanfoundry - The minimum header size of an IPv4 packet is:
a. 10 bytes
b. 20 bytes
c. 40 bytes
d. 60 bytes
Answer: b. 20 bytestestbook - In a Class C IPv4 address, how many bits are used for the host portion?
a. 8
b. 16
c. 24
d. 32
Answer: a. 8testbook - What is the main purpose of the IP address assigned to a computer?
a. To access emails
b. To create documents
c. To identify the device on a network
d. To increase speed
Answer: c. To identify the device on a networktestbook - How many octets are there in an IPv4 address?
a. 2
b. 3
c. 4
d. 8
Answer: c. 4testbook - Which of the following is NOT related to fragmentation in the IPv4 header?
a. Flags
b. Fragment Offset
c. Type of Service (TOS)
d. Identification
Answer: c. Type of Service (TOS)sanfoundry - What notation is used to represent IPv4 addresses?
a. Binary
b. Dotted decimal
c. Hexadecimal
d. Octal
Answer: b. Dotted decimalletsfindcourse - Which of these is a loopback IPv4 address?
a. 127.0.0.1
b. 0.0.0.0
c. 192.168.0.1
d. 224.0.0.1
Answer: a. 127.0.0.1letsfindcourse - How many total IPv4 addresses are theoretically possible?
a. 16,777,216
b. 65,536
c. 4,294,967,296
d. 2,147,483,648
Answer: c. 4,294,967,296testbook - For which class is the IP address range 128.0.0.0 to 191.255.255.255?
a. Class A
b. Class B
c. Class C
d. Class D
Answer: b. Class Btestbook - What is the purpose of a broadcast address in IPv4?
a. To send a message to all hosts on a network
b. To send a message to one host
c. To identify routers
d. To assign loopback addresses
Answer: a. To send a message to all hosts on a networkletsfindcourse - In CIDR, what does the suffix “/24” signify in the address 192.168.10.0/24?
a. 24 hosts
b. 24 networks
c. 24 bits are used for the network portion
d. 24 subnets
Answer: c. 24 bits are used for the network portionletsfindcourse - Which field in an IPv4 header is used for differentiating service types?
a. Time to Live
b. Identification
c. Type of Service (TOS)
d. Protocol
Answer: c. Type of Service (TOS)sanfoundry - Which IPv4 class consists of addresses from 192.0.0.0 to 223.255.255.255?
a. Class A
b. Class B
c. Class C
d. Class D
Answer: c. Class Ctestbook - What does NAT stand for in IPv4 networking?
a. Network Access Translation
b. Network Address Translation
c. Network Area Transformation
d. Node Addressing Type
Answer: b. Network Address Translationtestbook - When subnetting a Class C network, how many hosts are available per subnet with a subnet mask of 255.255.255.240?
a. 14
b. 16
c. 30
d. 254
Answer: a. 14testbook - The IPv4 address 255.255.255.255 is known as the:
a. Limited broadcast address
b. Multicast address
c. Loopback address
d. Anycast address
Answer: a. Limited broadcast addresstestbook - Which layer of the OSI model does IPv4 primarily operate on?
a. Physical
b. Data Link
c. Network
d. Transport
Answer: c. Networkletsfindcourse - What is the main difference between IPv4 and IPv6?
a. IPv4 uses 32-bit addresses; IPv6 uses 128-bit addresses
b. IPv4 is encrypted; IPv6 is not
c. IPv4 is for private networks only
d. IPv6 does not support multicasting
Answer: a. IPv4 uses 32-bit addresses; IPv6 uses 128-bit addressessanfoundry - An IPv4 packet is considered invalid if the header length indicates less than how many bytes?
a. 10 bytes
b. 16 bytes
c. 20 bytes
d. 32 bytes
Answer: c. 20 bytestestbook - What field in the IPv4 header identifies the upper-layer protocol?
a. Flags
b. Total Length
c. Protocol
d. Header Checksum
Answer: c. Protocolsanfoundry - Which IPv4 address is reserved for private network and not routable over the Internet?
a. 192.0.2.1
b. 10.0.0.1
c. 203.0.113.2
d. 8.8.8.8
Answer: b. 10.0.0.1testbook - How many possible network IDs can a Class A IPv4 address have?
a. 127
b. 126
c. 128
d. 255
Answer: b. 126 (excluding 0 and 127)testbook - The main responsibility of ARP (Address Resolution Protocol) is:
a. Assigning IP addresses automatically
b. Resolving domain names
c. Mapping IP addresses to MAC addresses
d. Routing packets
Answer: c. Mapping IP addresses to MAC addressesletsfindcourse - What does ICMP provide in IPv4 network operations?
a. Error reporting and diagnostics
b. Encryption
c. IP addressing
d. Network congestion control
Answer: a. Error reporting and diagnosticssanfoundry - What is the purpose of the “Identification” field in the IPv4 header?
a. Identify the type of protocol
b. Identify fragment datagrams for reassembly
c. Identify network address class
d. Identify multicast groups
Answer: b. Identify fragment datagrams for reassemblysanfoundry - A broadcast address for a network 10.0.0.0/8 is:
a. 10.0.0.0
b. 10.255.255.255
c. 255.255.255.255
d. 0.0.0.0
Answer: b. 10.255.255.255testbook - Which one of the following is used to split and join IP datagrams?
a. Routing
b. Fragmentation and reassembly
c. Filtering
d. Address mapping
Answer: b. Fragmentation and reassemblysanfoundry - What is the maximum size of a standard IPv4 packet including header and data?
a. 576 bytes
b. 1024 bytes
c. 1480 bytes
d. 65535 bytes
Answer: d. 65535 bytestestbook - In classful addressing, which class provides the most available host addresses per network?
a. Class A
b. Class B
c. Class C
d. Class D
Answer: a. Class Atestbook - Which of the following is NOT a benefit of using IPv4 NAT?
a. Prevents private address conflicts
b. Enables direct end-to-end connectivity over the global Internet
c. Allows multiple devices to share a public IP
d. Helps conserve public IP address space
Answer: b. Enables direct end-to-end connectivity over the global Internettestbook - How many bits are available for host addresses in a Class B network?
a. 8
b. 16
c. 24
d. 32
Answer: b. 16testbook - What does the “Fragment Offset” field in IPv4 indicate?
a. Network ID
b. Fragment location in original datagram
c. Encapsulation protocol
d. Sequence number of packet
Answer: b. Fragment location in original datagramsanfoundry - Which IPv4 header field helps request special packet handling, such as low delay or high reliability?
a. Version
b. Flags
c. Type of Service
d. Header Length
Answer: c. Type of Servicesanfoundry - Which is NOT a private IPv4 address block?
a. 10.0.0.0/8
b. 172.16.0.0/12
c. 192.168.0.0/16
d. 100.64.0.0/10
Answer: d. 100.64.0.0/10testbook - Which is the valid network mask for a network with 8 host addresses?
a. 255.255.255.0
b. 255.255.255.224
c. 255.255.255.248
d. 255.255.255.252
Answer: c. 255.255.255.248testbook - An IPv4 header checksum is used to:
a. Check the integrity of the header
b. Encrypt packet data
c. Verify the destination MAC address
d. Define TCP segment length
Answer: a. Check the integrity of the headersanfoundry - A subnet mask of 255.255.255.128 provides how many host addresses?
a. 126
b. 128
c. 254
d. 512
Answer: a. 126testbook - What maximum number of hosts can be addressed on a single Class C network?
a. 254
b. 255
c. 256
d. 1024
Answer: a. 254testbook - IPv4 packets are best described as:
a. Connection-oriented
b. Connectionless
c. Synchronous only
d. Reliable data streams
Answer: b. Connectionlessletsfindcourse - The highest value allowed for the TTL field in IPv4 is:
a. 64
b. 99
c. 127
d. 255
Answer: d. 255sanfoundry - What kind of address is 224.0.0.1 in IPv4?
a. Broadcast
b. Multicast
c. Private
d. Loopback
Answer: b. Multicasttestbook - What will happen if an IPv4 packet’s TTL field reaches zero?
a. Packet is forwarded
b. Packet is dropped
c. Packet is returned to sender
d. Packet is corrupted
Answer: b. Packet is droppedsanfoundry - Which of the following is NOT a valid subnet mask?
a. 255.0.0.0
b. 255.255.0.0
c. 255.255.254.0
d. 255.0.255.0
Answer: d. 255.0.255.0testbook
- https://letsfindcourse.com/computer-network-mcq/ipv4-mcq-questions-and-answers
- https://testbook.com/objective-questions/mcq-on-ipv4–5eea6a0939140f30f369d912
- https://www.sanfoundry.com/computer-networks-mcqs-ipv4/
- https://www.sanfoundry.com/computer-networks-questions-answers-ipv4-ipv6-comparison/
- https://www.scribd.com/document/668872484/IP-Address-solved-MCQs-with-answers-in-PDF
- https://erp.metbhujbalknowledgecity.ac.in/StudyMaterial/01VD062009003760041.pdf
- https://www.interviewbit.com/computer-network-mcq/
- https://www.geeksforgeeks.org/quizzes/ip-addressing-57/
- https://testbook.com/objective-questions/mcq-on-ipv4ipv6-routers-and-routing-algorithms–5eea6a0939140f30f369d911
- https://prepp.in/computer-networks-questions?topicIds=63794bda0e7166770da9f98e
- https://networkhope.in/quiz-on-classful-ip-address-part-2/
- https://letsfindcourse.com/computer-network-mcq/addressing-mcq-questions-and-answers
- https://reck.ac.in/wp-content/uploads/2023/04/DCN_MCQ-Ashwini-.pdf
- https://www.youtube.com/watch?v=W6hN70j5kGI
- https://edurev.in/test/5858/Test-Ipv4–IP-Packet