Computer Networks MCQ & Objective Questions
Understanding Computer Networks is crucial for students preparing for school and competitive exams. This topic not only forms a significant part of the curriculum but also enhances your grasp of how data communication works. Practicing MCQs and objective questions related to Computer Networks can significantly improve your exam performance by familiarizing you with important concepts and question formats.
What You Will Practise Here
Fundamentals of Computer Networks
Types of Networks: LAN, WAN, and MAN
Network Topologies: Star, Ring, Bus, and Mesh
Protocols and Standards: TCP/IP, HTTP, FTP
Network Devices: Routers, Switches, and Hubs
IP Addressing and Subnetting
Common Network Security Measures
Exam Relevance
Computer Networks is a vital topic in various examinations such as CBSE, State Boards, NEET, and JEE. Questions often focus on definitions, key concepts, and practical applications of network theories. You may encounter multiple-choice questions that test your understanding of network types, protocols, and devices, making it essential to master this area for effective exam preparation.
Common Mistakes Students Make
Confusing different types of networks and their characteristics.
Misunderstanding network protocols and their functions.
Overlooking the importance of IP addressing and subnetting.
Failing to recognize the role of network devices in data transmission.
FAQs
Question: What are the main types of computer networks?Answer: The main types of computer networks include Local Area Network (LAN), Wide Area Network (WAN), and Metropolitan Area Network (MAN).
Question: Why is subnetting important in computer networks?Answer: Subnetting helps in efficient IP address management and improves network performance and security.
Now is the time to enhance your understanding of Computer Networks! Dive into our practice MCQs and test your knowledge to ensure you are well-prepared for your exams. Remember, consistent practice with objective questions will lead to better scores and a clearer grasp of the subject.
Q. How many bits are borrowed from the host portion in a /24 subnet to create 4 subnets?
Show solution
Solution
To create 4 subnets, 2 bits must be borrowed from the host portion (2^2 = 4).
Correct Answer:
B
— 2
Learn More →
Q. How many bits are used for the host portion in a /22 subnet?
Show solution
Solution
In a /22 subnet, 10 bits are used for the host portion (32 total bits - 22 bits for the network = 10 bits for hosts).
Correct Answer:
A
— 10
Learn More →
Q. How many bits are used for the network portion in a Class B IP address?
Show solution
Solution
In a Class B IP address, the first 16 bits are used for the network portion, allowing for a large number of hosts.
Correct Answer:
B
— 16
Learn More →
Q. How many subnets can be created from a /24 network if 3 bits are borrowed for subnetting?
Show solution
Solution
Borrowing 3 bits from a /24 network allows for 2^3 = 8 subnets.
Correct Answer:
B
— 8
Learn More →
Q. How many subnets can be created from a Class B network with a subnet mask of 255.255.255.0?
A.
256
B.
128
C.
64
D.
32
Show solution
Solution
Using a subnet mask of 255.255.255.0 on a Class B network allows for 256 subnets, as it borrows 8 bits from the host portion.
Correct Answer:
A
— 256
Learn More →
Q. How many subnets can be created from a Class C network with a default subnet mask of 255.255.255.0 if 3 bits are borrowed?
Show solution
Solution
Borrowing 3 bits from the host portion allows for 2^3 = 8 subnets, but with 2 reserved for network and broadcast, 6 usable subnets remain.
Correct Answer:
A
— 4
Learn More →
Q. How many total IP addresses are available in a subnet with a /22 CIDR notation?
A.
1024
B.
512
C.
256
D.
64
Show solution
Solution
A /22 subnet provides 2^(32-22) = 2^10 = 1024 total IP addresses.
Correct Answer:
A
— 1024
Learn More →
Q. How many usable hosts are available in a subnet with a /24 subnet mask?
A.
254
B.
256
C.
512
D.
128
Show solution
Solution
A /24 subnet mask allows for 256 total addresses, but 2 are reserved (network and broadcast), leaving 254 usable host addresses.
Correct Answer:
A
— 254
Learn More →
Q. How many usable hosts are available in a subnet with a /28 prefix?
Show solution
Solution
A /28 subnet has 16 total addresses, but 2 are reserved (network and broadcast), leaving 14 usable host addresses.
Correct Answer:
A
— 14
Learn More →
Q. How many usable hosts are available in a subnet with a subnet mask of 255.255.255.240?
Show solution
Solution
A subnet mask of 255.255.255.240 allows for 16 total addresses, but 2 are reserved (network and broadcast), leaving 14 usable hosts.
Correct Answer:
A
— 14
Learn More →
Q. How many usable IP addresses are available in a /28 subnet?
Show solution
Solution
A /28 subnet has 2^(32-28) = 2^4 = 16 total addresses. Subtracting 2 for the network and broadcast addresses leaves 14 usable addresses.
Correct Answer:
A
— 14
Learn More →
Q. How many usable IP addresses are available in a subnet with a /29 subnet mask?
Show solution
Solution
A /29 subnet mask provides 8 total addresses, of which 6 are usable for hosts after excluding the network and broadcast addresses.
Correct Answer:
B
— 6
Learn More →
Q. If a device has an IP address of 172.16.5.10 with a subnet mask of 255.255.255.0, what is its network address?
A.
172.16.5.0
B.
172.16.5.10
C.
172.16.0.0
D.
172.16.5.255
Show solution
Solution
The network address is determined by the IP address and subnet mask; for 172.16.5.10/24, the network address is 172.16.5.0.
Correct Answer:
A
— 172.16.5.0
Learn More →
Q. If a host has an IP address of 192.168.1.10 and a subnet mask of 255.255.255.0, what is its network address?
A.
192.168.1.0
B.
192.168.1.10
C.
192.168.0.0
D.
192.168.1.255
Show solution
Solution
The network address is obtained by performing a bitwise AND between the IP address and the subnet mask: 192.168.1.10 AND 255.255.255.0 = 192.168.1.0.
Correct Answer:
A
— 192.168.1.0
Learn More →
Q. If a network has a subnet mask of /22, how many subnets can be created from a /16 network?
Show solution
Solution
A /22 subnet mask allows for 4 subnets to be created from a /16 network (2^(22-16) = 2^6 = 4).
Correct Answer:
A
— 4
Learn More →
Q. If a network has a subnet mask of 255.255.255.128, how many subnets can be created?
Show solution
Solution
A subnet mask of 255.255.255.128 allows for 2 subnets, as it uses 1 bit for subnetting (2^1 = 2).
Correct Answer:
B
— 4
Learn More →
Q. If a network has the IP address 192.168.1.0/24, what is the broadcast address?
A.
192.168.1.255
B.
192.168.1.0
C.
192.168.1.1
D.
192.168.1.254
Show solution
Solution
The broadcast address for the subnet 192.168.1.0/24 is 192.168.1.255, which is the highest address in the subnet.
Correct Answer:
A
— 192.168.1.255
Learn More →
Q. In a /16 subnet, what is the range of valid host addresses for the network 172.16.0.0?
A.
172.16.0.1 to 172.16.255.254
B.
172.16.0.0 to 172.16.255.255
C.
172.16.0.0 to 172.16.0.255
D.
172.16.1.0 to 172.16.1.255
Show solution
Solution
In a /16 subnet, the valid host range is from 172.16.0.1 to 172.16.255.254, with 172.16.0.0 as the network address and 172.16.255.255 as the broadcast address.
Correct Answer:
A
— 172.16.0.1 to 172.16.255.254
Learn More →
Q. In a network with a subnet mask of 255.255.255.128, how many hosts can be accommodated?
A.
126
B.
128
C.
254
D.
256
Show solution
Solution
A subnet mask of 255.255.255.128 corresponds to /25, which allows for 2^(32-25) = 2^7 = 128 total addresses. Subtracting 2 for the network and broadcast addresses leaves 126 usable hosts.
Correct Answer:
A
— 126
Learn More →
Q. In a subnet mask of 255.255.255.0, how many usable IP addresses are available?
A.
254
B.
256
C.
512
D.
1024
Show solution
Solution
A subnet mask of 255.255.255.0 allows for 256 total addresses, but 2 are reserved (network and broadcast), leaving 254 usable addresses.
Correct Answer:
A
— 254
Learn More →
Q. In a subnet mask of 255.255.255.192, how many subnets can be created from a Class C network?
Show solution
Solution
The subnet mask 255.255.255.192 corresponds to /26, which allows for 2^(26-24) = 4 subnets from a Class C network.
Correct Answer:
B
— 4
Learn More →
Q. In a subnet with a subnet mask of 255.255.255.248, how many usable IP addresses are there?
Show solution
Solution
A subnet mask of 255.255.255.248 allows for 2^3 - 2 = 6 usable IP addresses.
Correct Answer:
B
— 6
Learn More →
Q. In a switched network, what is the primary function of a switch?
A.
To route packets between different networks
B.
To connect devices within the same network
C.
To provide a firewall
D.
To manage bandwidth
Show solution
Solution
A switch connects devices within the same network and forwards data based on MAC addresses.
Correct Answer:
B
— To connect devices within the same network
Learn More →
Q. In CIDR notation, what does /16 signify?
A.
255.255.0.0 subnet mask
B.
65,536 possible addresses
C.
A Class B network
D.
All of the above
Show solution
Solution
CIDR notation /16 indicates a subnet mask of 255.255.0.0, allowing for 65,536 possible addresses, typically associated with Class B networks.
Correct Answer:
D
— All of the above
Learn More →
Q. In CIDR notation, what does /24 represent?
A.
255.255.255.0 subnet mask
B.
256 IP addresses
C.
24 hosts per subnet
D.
24 bits for the host portion
Show solution
Solution
CIDR notation /24 indicates that the first 24 bits of the subnet mask are set to 1, which corresponds to a subnet mask of 255.255.255.0.
Correct Answer:
A
— 255.255.255.0 subnet mask
Learn More →
Q. In CIDR notation, what does a /22 subnet mask indicate?
A.
255.255.252.0
B.
255.255.255.0
C.
255.255.255.252
D.
255.255.255.128
Show solution
Solution
A /22 subnet mask corresponds to 255.255.252.0, allowing for 1024 IP addresses in the subnet.
Correct Answer:
A
— 255.255.252.0
Learn More →
Q. In CIDR notation, what does a /24 subnet indicate?
A.
255.255.255.0
B.
255.255.0.0
C.
255.0.0.0
D.
255.255.255.255
Show solution
Solution
CIDR notation /24 corresponds to a subnet mask of 255.255.255.0, which allows for 256 addresses in the subnet.
Correct Answer:
A
— 255.255.255.0
Learn More →
Q. In CIDR notation, what does a /24 subnet mask represent?
A.
255.255.255.0
B.
255.255.0.0
C.
255.0.0.0
D.
255.255.255.255
Show solution
Solution
A /24 subnet mask corresponds to 255.255.255.0, allowing for 256 IP addresses in the subnet.
Correct Answer:
A
— 255.255.255.0
Learn More →
Q. In HTTP/1.1, what is the default behavior regarding persistent connections?
A.
Connections are always persistent
B.
Connections are never persistent
C.
Connections are persistent by default
D.
Connections require a special header
Show solution
Solution
In HTTP/1.1, connections are persistent by default, meaning that multiple requests can be sent over a single connection without reopening it.
Correct Answer:
C
— Connections are persistent by default
Learn More →
Q. In IP addressing, what does the subnet mask 255.255.255.0 indicate?
A.
Class A network
B.
Class B network
C.
Class C network
D.
Class D network
Show solution
Solution
A subnet mask of 255.255.255.0 indicates a Class C network, allowing for 256 IP addresses in total.
Correct Answer:
C
— Class C network
Learn More →
Showing 1 to 30 of 329 (11 Pages)