B.S.W.E. Bachelor of Software Engineering Computer Networks & Security 1 — Questions and Answers
Question 1: What does the OSI model stand for?
- Open Systems Interconnection (Correct answer)
- Operational Software Interface
- Open Security Infrastructure
- Object-oriented Systems Integration
Correct answer: Open Systems Interconnection
The Open Systems Interconnection (OSI) model is a conceptual framework with seven layers that standardizes how different network systems communicate.
Question 2: Which transport layer protocol provides reliable, ordered, and error-checked delivery of data?
- UDP
- ICMP
- TCP (Correct answer)
- ARP
Correct answer: TCP
TCP (Transmission Control Protocol) establishes a connection and guarantees reliable, ordered data delivery with flow control and error checking.
Question 3: What is the purpose of DNS (Domain Name System)?
- To encrypt web traffic between client and server
- To translate human-readable domain names into IP addresses (Correct answer)
- To manage IP address allocation across a network
- To route packets between different networks
Correct answer: To translate human-readable domain names into IP addresses
DNS acts as the internet's phone book, translating domain names like www.example.com into the IP addresses computers use to communicate.
Question 4: What is a subnet mask used for?
- Encrypting data sent over a network
- Dividing an IP address into network and host portions to identify which subnet a host belongs to (Correct answer)
- Assigning IP addresses dynamically to devices
- Filtering malicious network traffic
Correct answer: Dividing an IP address into network and host portions to identify which subnet a host belongs to
A subnet mask identifies which part of an IP address refers to the network and which part refers to the individual host, enabling logical network segmentation.
Question 5: Which protocol is used to automatically assign IP addresses to devices on a network?
- ARP
- DHCP (Correct answer)
- SNMP
- FTP
Correct answer: DHCP
DHCP (Dynamic Host Configuration Protocol) automatically assigns IP addresses, subnet masks, default gateways, and DNS servers to devices joining a network.
Question 6: What is the difference between symmetric and asymmetric encryption?
- Symmetric uses no keys; asymmetric uses one key
- Symmetric uses the same key for encryption and decryption; asymmetric uses a public key to encrypt and a private key to decrypt (Correct answer)
- Symmetric is slower; asymmetric is faster
- Symmetric is used for hashing; asymmetric is used for signing
Correct answer: Symmetric uses the same key for encryption and decryption; asymmetric uses a public key to encrypt and a private key to decrypt
Symmetric encryption uses one shared secret key for both operations, while asymmetric encryption uses a mathematically related key pair where data encrypted with the public key can only be decrypted with the private key.
What does the OSI model stand for?