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. What is the subnet mask for a network with 30 usable IP addresses?
A.
255.255.255.252
B.
255.255.255.248
C.
255.255.255.240
D.
255.255.255.224
Show solution
Solution
A subnet mask of 255.255.255.252 allows for 2 usable IP addresses (4 total - 2 for network and broadcast), which is suitable for point-to-point links.
Correct Answer:
A
— 255.255.255.252
Learn More →
Q. What is the subnet mask for the IP address 172.16.5.10 if it is part of a /20 network?
A.
255.255.240.0
B.
255.255.255.0
C.
255.255.0.0
D.
255.255.255.240
Show solution
Solution
A /20 subnet mask corresponds to 255.255.240.0, allowing for 4096 addresses in the subnet.
Correct Answer:
A
— 255.255.240.0
Learn More →
Q. What is the total number of hosts in a subnet with a /18 subnet mask?
A.
16382
B.
16384
C.
8190
D.
8192
Show solution
Solution
A /18 subnet mask allows for 2^(32-18) = 16384 total addresses, of which 16382 are usable for hosts.
Correct Answer:
B
— 16384
Learn More →
Q. What layer of the OSI model does HTTP operate on?
A.
Application
B.
Transport
C.
Network
D.
Data Link
Show solution
Solution
HTTP operates at the Application layer of the OSI model, which is responsible for providing network services to end-user applications.
Correct Answer:
A
— Application
Learn More →
Q. What layer of the OSI model is responsible for end-to-end communication and error recovery?
A.
Application Layer
B.
Transport Layer
C.
Network Layer
D.
Data Link Layer
Show solution
Solution
The Transport Layer (Layer 4) is responsible for end-to-end communication and error recovery, ensuring complete data transfer.
Correct Answer:
B
— Transport Layer
Learn More →
Q. What layer of the OSI model is responsible for end-to-end communication?
A.
Application Layer
B.
Transport Layer
C.
Network Layer
D.
Data Link Layer
Show solution
Solution
The Transport Layer (Layer 4) is responsible for end-to-end communication and ensures complete data transfer.
Correct Answer:
B
— Transport Layer
Learn More →
Q. What layer of the OSI model is responsible for routing packets between devices?
A.
Application Layer
B.
Transport Layer
C.
Network Layer
D.
Data Link Layer
Show solution
Solution
The Network Layer is responsible for routing packets between devices across different networks.
Correct Answer:
C
— Network Layer
Learn More →
Q. What layer of the TCP/IP model corresponds to the Transport Layer of the OSI model?
A.
Application Layer
B.
Internet Layer
C.
Transport Layer
D.
Network Access Layer
Show solution
Solution
The Transport Layer in the TCP/IP model corresponds directly to the Transport Layer of the OSI model.
Correct Answer:
C
— Transport Layer
Learn More →
Q. What type of addressing does HTTP use to identify resources?
A.
MAC addressing
B.
IP addressing
C.
URL addressing
D.
Port addressing
Show solution
Solution
HTTP uses URL addressing to identify resources on the web.
Correct Answer:
C
— URL addressing
Learn More →
Q. What type of addressing does IPv4 use?
A.
Physical addressing
B.
Logical addressing
C.
Port addressing
D.
Session addressing
Show solution
Solution
IPv4 uses logical addressing, which allows devices to communicate over a network using IP addresses.
Correct Answer:
B
— Logical addressing
Learn More →
Q. What type of addressing does the Data Link layer use?
A.
IP Addressing
B.
MAC Addressing
C.
Port Addressing
D.
Logical Addressing
Show solution
Solution
The Data Link layer uses MAC Addressing to identify devices on the same local network.
Correct Answer:
B
— MAC Addressing
Learn More →
Q. What type of addressing does the Network Layer use in the OSI model?
A.
MAC addressing
B.
IP addressing
C.
Port addressing
D.
Session addressing
Show solution
Solution
The Network Layer uses IP addressing to identify devices on a network.
Correct Answer:
B
— IP addressing
Learn More →
Q. What type of addressing does the Network Layer use to identify devices on a network?
A.
Physical addresses
B.
Logical addresses
C.
Port numbers
D.
Session IDs
Show solution
Solution
The Network Layer uses logical addresses (such as IP addresses) to identify devices on a network.
Correct Answer:
B
— Logical addresses
Learn More →
Q. What type of addressing does the Network Layer use?
A.
Physical addressing
B.
Logical addressing
C.
Port addressing
D.
Session addressing
Show solution
Solution
The Network Layer uses logical addressing, such as IP addresses, to identify devices on a network.
Correct Answer:
B
— Logical addressing
Learn More →
Q. What type of addressing is used at the Data Link layer?
A.
IP Addressing
B.
MAC Addressing
C.
Port Addressing
D.
Logical Addressing
Show solution
Solution
The Data Link layer uses MAC Addressing to identify devices on the same local network.
Correct Answer:
B
— MAC Addressing
Learn More →
Q. What type of addressing is used at the Network Layer of the OSI model?
A.
MAC addressing
B.
IP addressing
C.
Port addressing
D.
Session addressing
Show solution
Solution
IP addressing is used at the Network Layer (Layer 3) of the OSI model for routing packets.
Correct Answer:
B
— IP addressing
Learn More →
Q. What type of cable is commonly used for high-speed data transmission in local area networks?
A.
Coaxial Cable
B.
Fiber Optic Cable
C.
Twisted Pair Cable
D.
Serial Cable
Show solution
Solution
Fiber Optic Cable is commonly used for high-speed data transmission due to its high bandwidth and low attenuation.
Correct Answer:
B
— Fiber Optic Cable
Learn More →
Q. What type of cable is commonly used for high-speed data transmission in networks?
A.
Coaxial Cable
B.
Fiber Optic Cable
C.
Twisted Pair Cable
D.
Serial Cable
Show solution
Solution
Fiber Optic Cable is commonly used for high-speed data transmission due to its high bandwidth and low attenuation.
Correct Answer:
B
— Fiber Optic Cable
Learn More →
Q. What type of error control mechanism does TCP use?
A.
Checksum
B.
Parity Bit
C.
CRC
D.
Acknowledgment
Show solution
Solution
TCP uses an acknowledgment mechanism to ensure that packets are received correctly and to request retransmission if necessary.
Correct Answer:
D
— Acknowledgment
Learn More →
Q. What type of transmission media uses light to transmit data?
A.
Coaxial Cable
B.
Twisted Pair Cable
C.
Fiber Optic Cable
D.
Wireless
Show solution
Solution
Fiber Optic Cable uses light to transmit data, allowing for high-speed and long-distance communication.
Correct Answer:
C
— Fiber Optic Cable
Learn More →
Q. Which addressing scheme is used in the Internet Protocol (IP)?
A.
MAC Addressing
B.
Logical Addressing
C.
Physical Addressing
D.
Session Addressing
Show solution
Solution
Logical Addressing is used in the Internet Protocol (IP) to identify devices on a network uniquely.
Correct Answer:
B
— Logical Addressing
Learn More →
Q. Which addressing scheme is used in the Network Layer of the OSI model?
A.
MAC Addressing
B.
IP Addressing
C.
Port Addressing
D.
Session Addressing
Show solution
Solution
IP Addressing is used in the Network Layer (Layer 3) of the OSI model to identify devices on a network.
Correct Answer:
B
— IP Addressing
Learn More →
Q. Which device operates at the Data Link Layer of the OSI model?
A.
Router
B.
Switch
C.
Hub
D.
Gateway
Show solution
Solution
A switch operates at the Data Link Layer (Layer 2) of the OSI model, forwarding frames based on MAC addresses.
Correct Answer:
B
— Switch
Learn More →
Q. Which HTTP method is idempotent and safe?
A.
POST
B.
GET
C.
PUT
D.
DELETE
Show solution
Solution
The GET method is considered idempotent and safe, meaning it can be called multiple times without changing the state of the resource.
Correct Answer:
B
— GET
Learn More →
Q. Which HTTP method is idempotent, meaning it can be called multiple times without different outcomes?
A.
POST
B.
GET
C.
PUT
D.
DELETE
Show solution
Solution
The PUT method is idempotent, meaning that making the same request multiple times will not change the outcome beyond the initial application.
Correct Answer:
C
— PUT
Learn More →
Q. Which HTTP method is used to request data from a server?
A.
POST
B.
GET
C.
PUT
D.
DELETE
Show solution
Solution
The GET method is used to request data from a specified resource on the server.
Correct Answer:
B
— GET
Learn More →
Q. Which HTTP method is used to request data from a specified resource?
A.
POST
B.
GET
C.
PUT
D.
DELETE
Show solution
Solution
The GET method is used to request data from a specified resource, allowing clients to retrieve information from the server.
Correct Answer:
B
— GET
Learn More →
Q. Which HTTP method is used to retrieve data from a server?
A.
POST
B.
GET
C.
PUT
D.
DELETE
Show solution
Solution
The GET method is used to retrieve data from a server, while POST is used to send data to the server.
Correct Answer:
B
— GET
Learn More →
Q. Which HTTP method is used to submit data to be processed to a specified resource?
A.
GET
B.
POST
C.
PUT
D.
DELETE
Show solution
Solution
The POST method is used to submit data to a specified resource for processing.
Correct Answer:
B
— POST
Learn More →
Q. Which HTTP status code indicates a successful request?
A.
200
B.
404
C.
500
D.
301
Show solution
Solution
HTTP status code 200 indicates that the request was successful and the server returned the requested resource.
Correct Answer:
A
— 200
Learn More →
Showing 181 to 210 of 329 (11 Pages)