Computer Science Systems & Networking 1 — Questions and Answers
Question 1: What is the primary function of an operating system?
- To directly execute machine code
- To manage hardware and software resources (Correct answer)
- To serve as an antivirus
- To provide power to the system
Correct answer: To manage hardware and software resources
The operating system (OS) is the core software that manages all the hardware and software resources of a computer. It acts as an intermediary between applications and hardware, handling tasks such as memory management, process scheduling, file system operations, and input/output. Without an OS, applications cannot run, and users cannot interact with the computer.
Question 2: Which network topology connects all devices to a central hub?
- Bus topology
- Ring topology
- Star topology (Correct answer)
- Mesh topology
Correct answer: Star topology
In a star network topology, all network devices are connected individually to a central hub, switch, or server. This central device acts as a conduit for all data traffic between the connected nodes. While it offers easy fault isolation and management, a failure of the central hub can bring down the entire network.
Question 3: Which protocol is commonly used for secure communication over the internet?
- HTTP
- FTP
- HTTPS (Correct answer)
- SMTP
Correct answer: HTTPS
HTTPS (Hypertext Transfer Protocol Secure) is an extension of HTTP that adds a layer of security for communication over a computer network. It encrypts the data exchanged between a user's browser and a website, protecting sensitive information from eavesdropping and tampering. This security is achieved through the use of SSL/TLS protocols, ensuring data integrity and confidentiality.
Question 4: What does DHCP stand for, and what is its purpose?
- Domain Host Configuration Protocol
- Data Handling and Communication Protocol
- Dynamic Host Configuration Protocol (Correct answer)
- Distributed Hypertext Communication Protocol
Correct answer: Dynamic Host Configuration Protocol
DHCP stands for Dynamic Host Configuration Protocol. Its primary purpose is to automatically assign IP addresses and other network configuration parameters to devices connected to a network. This automation simplifies network administration by eliminating the need for manual IP address configuration, ensuring efficient and error-free network setup for new devices.
Question 5: Which layer of the OSI model is responsible for routing and forwarding data?
- Physical layer
- Network layer (Correct answer)
- Transport layer
- Data link layer
Correct answer: Network layer
The Network layer (Layer 3) of the OSI model is responsible for logical addressing and routing data packets across different networks. It determines the best path for data to travel from the source to the destination, using IP addresses for identification. Routers operate at this layer to forward packets between networks.
Question 6: What is the purpose of a firewall in network security?
- To increase internet speed
- To manage network traffic and block threats (Correct answer)
- To replace antivirus software
- To store backup data
Correct answer: To manage network traffic and block threats
A firewall is a network security system that monitors and controls incoming and outgoing network traffic based on predetermined security rules. Its main purpose is to establish a barrier between a trusted internal network and untrusted external networks, such as the internet. Firewalls prevent unauthorized access and block malicious traffic, protecting systems from various cyber threats.
What is the primary function of an operating system?