B.S.W.E. Bachelor of Software Engineering Operating Systems & Computer Networks 2 — Questions and Answers
Question 1: What is the TCP/IP transport layer responsible for?
- Routing packets between networks
- End-to-end communication and reliability between applications (Correct answer)
- Encoding data for physical transmission
- Resolving domain names to IP addresses
Correct answer: End-to-end communication and reliability between applications
The transport layer (TCP/UDP) provides end-to-end communication between applications, handling reliable delivery and flow control.
Question 2: What is the main difference between TCP and UDP?
- TCP is wireless; UDP is wired
- TCP is reliable with acknowledgments; UDP is faster but unreliable (Correct answer)
- TCP is for video streaming; UDP is for text
- TCP uses IPv6; UDP uses IPv4
Correct answer: TCP is reliable with acknowledgments; UDP is faster but unreliable
TCP provides reliable, ordered, error-checked delivery with acknowledgments, while UDP is connectionless and faster but offers no delivery guarantees.
Question 3: What does DNS do in a network?
- Data Network System — transfers files between servers
- Domain Name System — translates domain names to IP addresses (Correct answer)
- Dynamic Node Service — assigns dynamic IP addresses
- Distributed Network Switch — routes network traffic
Correct answer: Domain Name System — translates domain names to IP addresses
DNS (Domain Name System) translates human-readable domain names like google.com into the IP addresses that computers use to communicate.
Question 4: What is a subnet mask used for in networking?
- Encrypting network traffic between devices
- Dividing an IP network into smaller subnetworks (Correct answer)
- Assigning MAC addresses to network interfaces
- Filtering web content at the router
Correct answer: Dividing an IP network into smaller subnetworks
A subnet mask divides an IP address into network and host portions, enabling the logical subdivision of an IP network into subnets.
Question 5: What is the purpose of the ARP protocol?
- Assigning IP addresses dynamically to hosts
- Resolving IP addresses to MAC addresses on a local network (Correct answer)
- Encrypting network traffic end-to-end
- Routing packets between different networks
Correct answer: Resolving IP addresses to MAC addresses on a local network
ARP (Address Resolution Protocol) maps a known IP address to the corresponding MAC address needed for local network communication.
Question 6: What is the main purpose of HTTPS over plain HTTP?
- Faster data transfer speeds
- Encrypted, secure communication using TLS/SSL (Correct answer)
- Support for larger file transfer sizes
- Better browser caching capabilities
Correct answer: Encrypted, secure communication using TLS/SSL
HTTPS uses TLS/SSL encryption to provide authenticated and encrypted communication, protecting data integrity and confidentiality over the web.
What is the TCP/IP transport layer responsible for?