MCQ On IP Address
Q1. What is an IP address?.
- A hardware component
- A unique identifier given to devices in a network
- A type of router
- A type of server
Answer: b, A unique identifier given to devices in a network
Solution: Identifies devices on a network.
Q2. Who assigns an IP address when a device connects to the internet?.
- Firewall
- DNS
- ISP or Router
- Switch
Answer: c, ISP or Router
Solution: ISPs/routers allocate IPs to devices.
Q3. What is the purpose of an IP address?.
- To store files
- To identify and communicate with devices
- To increase internet speed
- To encrypt data
Answer: b, To identify and communicate with devices
Solution: Used to identify and communicate with devices.
Q4. Which version of IP uses a 32-bit address?.
- IPv2
- IPv4
- IPv6
- IPv8
Answer: b, IPv4
Solution: IPv4 uses 32-bit addressing.
Q5. What does NAT stand for?.
- Network Access Technology
- Network Address Translation
- Node Allocation Table
- Network Authentication Tool
Answer: b, Network Address Translation
Solution: NAT translates private IPs to public IPs.
Q6. What does NAT do?.
- Converts private IP to public IP
- Converts data to audio
- Blocks all connections
- Stores IP addresses
Answer: a, Converts private IP to public IP
Solution: NAT maps private IPs to a public IP.
Q7. Multiple devices using same WiFi appear with same public IP because of:.
- DHCP
- DNS
- NAT
- ARP
Answer: c, NAT
Solution: NAT makes all devices appear under one public IP.
Q8. What does DHCP do?.
- Converts domains to IP
- Automatically assigns IP addresses
- Encrypts data packets
- Filters malicious traffic
Answer: b, Automatically assigns IP addresses
Solution: DHCP auto-assigns IPs to devices.
Q9. An IP address contains which two parts?.
- Server and Client
- Source and Destination
- Network and Host
- Input and Output
Answer: c, Network and Host
Solution: IP has network part + host part.
Q10. A public IP address is:.
- Used only in LAN
- Used by devices inside network
- Internet-facing address
- Used only by DNS servers
Answer: c, Internet-facing address
Solution: Public IP is visible on the internet.
Q11. A dynamic IP address:.
- Never changes
- Changes automatically
- Is used only in servers
- Requires manual configuration
Answer: b, Changes automatically
Solution: Dynamic IP updates automatically.
Q12. Restarting a router may change which type of IP?.
- Static IP
- Dynamic IP
- IPv6 only
- DNS IP
Answer: b, Dynamic IP
Solution: Dynamic IPs often change on reconnect.
Q13. Which protocol helps route data packets over internet?.
- FTP
- DNS
- IP
- SMTP
Answer: c, IP
Solution: IP is responsible for routing packets.
Q14. NAT allows multiple devices to share:.
- Multiple private IPs
- One public IP
- Unlimited MAC addresses
- Static IP addresses
Answer: b, One public IP
Solution: NAT lets many devices use one public IP.
Q15. Switching from Wi-Fi to mobile data changes IP because:.
- Device reboots
- NAT stops working
- Network changes
- DHCP is disabled
Answer: c, Network changes
Solution: Different network = different IP.
Q16. IP addresses are essential for:.
- Running antivirus
- Sending and receiving data
- Charging devices
- Formatting storage
Answer: b, Sending and receiving data
Solution: IP enables communication on networks.