11 Lecture

CS101

Midterm & Final Term Short Notes

Operating System

An operating system (OS) is a software program that manages computer hardware and software resources and provides common services for computer programs.


Important Mcq's
Midterm & Finalterm Prepration
Past papers included

Download PDF
  1. Which of the following is not a function of an operating system? A) Resource management B) Process management C) User interface D) None of the above

Answer: D

  1. Which type of operating system can run only one program at a time? A) Single-tasking B) Multi-tasking C) Real-time D) Network

Answer: A

  1. Which function of an operating system manages the processes that are running on a computer? A) Resource management B) Process management C) User interface D) Networking

Answer: B

  1. Which feature of an operating system manages files and directories on a computer? A) Memory management B) File management C) Security D) Device management

Answer: B

  1. Which type of operating system is commonly used in industries, such as aviation and medical equipment? A) Single-tasking B) Multi-tasking C) Real-time D) Network

Answer: C

  1. Which function of an operating system provides a user interface to interact with the computer? A) Resource management B) Process management C) User interface D) Networking

Answer: C

  1. Which feature of an operating system manages the devices connected to a computer, including printers and scanners? A) Memory management B) File management C) Security D) Device management

Answer: D

  1. Which type of operating system is designed to manage and control a network of computers? A) Single-tasking B) Multi-tasking C) Real-time D) Network

Answer: D

  1. Which function of an operating system manages the memory of a computer, including virtual memory? A) Resource management B) Process management C) User interface D) Memory management

Answer: D

  1. Which feature of an operating system provides security features, such as access control and encryption? A) Memory management B) File management C) Security D) Device management

Answer: C



Subjective Short Notes
Midterm & Finalterm Prepration
Past papers included

Download PDF
  1. What is an operating system? Answer: An operating system is a software program that manages computer hardware and software resources and provides services to computer programs.


  2. What is a process in the context of an operating system? Answer: A process is a program in execution, which includes the current values of the program counter, registers, and variables.


  3. What is a file system in the context of an operating system? Answer: A file system is a way of organizing and storing files on a computer. It includes directories, files, and metadata.


  4. What is a shell in the context of an operating system? Answer: A shell is a program that provides a command-line interface for interacting with the operating system.


  5. What is virtual memory in the context of an operating system? Answer: Virtual memory is a technique that allows a computer to use more memory than it physically has by using the hard drive as a backup storage for unused memory.


  6. What is a device driver in the context of an operating system? Answer: A device driver is a program that allows the operating system to communicate with hardware devices, such as printers and scanners.


  7. What is a context switch in the context of an operating system? Answer: A context switch is a process of saving the state of the current process and restoring the state of another process to allow multiple processes to run concurrently.


  8. What is scheduling in the context of an operating system? Answer: Scheduling is the process of determining which process will run on the CPU at any given time.


  9. What is a system call in the context of an operating system? Answer: A system call is a request made by a user program to the operating system to perform a specific task, such as reading or writing a file.


  10. What is a kernel in the context of an operating system? Answer: The kernel is the core component of the operating system that manages system resources and provides services to applications.

What is the Operating System?

An operating system (OS) is a software program that manages computer hardware and software resources and provides common services for computer programs. It is the most important type of system software that runs on a computer and acts as an interface between the user and the hardware. In this article, we will discuss the different types of operating systems, their functions, and their features.

Types of Operating Systems: There are four types of operating systems:

  1. Single-tasking Operating Systems: Single-tasking operating systems can run only one program at a time. These systems are simple and require minimal resources.
  2. Multi-tasking Operating Systems: Multi-tasking operating systems can run multiple programs at the same time. These systems are more complex and require more resources.
  3. Real-time Operating Systems: Real-time operating systems are designed to perform specific tasks within a fixed time frame. These systems are commonly used in industries, such as aviation and medical equipment.
  4. Network Operating Systems: Network operating systems are designed to manage and control a network of computers. They provide the necessary resources for communication between computers in a network.

Functions of Operating Systems: The functions of an operating system can be broadly divided into three categories:

  1. Resource Management: An operating system manages the resources of a computer, including the processor, memory, disk space, and other hardware components.
  2. Process Management: An operating system manages the processes that are running on a computer. It allocates resources to these processes, schedules them for execution, and ensures that they run without any errors.
  3. User Interface: An operating system provides a user interface to interact with the computer. This interface can be graphical or text-based and allows users to interact with the system easily.

Features of Operating Systems:

  1. Memory Management: An operating system manages the memory of a computer, including virtual memory, which allows the computer to use more memory than physically available.
  2. File Management: An operating system manages files and directories on a computer. It provides the necessary tools to create, modify, delete, and organize files.
  3. Security: An operating system provides security features, such as access control and encryption, to protect the computer from unauthorized access and malicious attacks.
  4. Device Management: An operating system manages the devices connected to a computer, including printers, scanners, and other peripherals. It provides the necessary drivers and software to use these devices.
  5. Networking: An operating system provides networking features that allow computers to communicate with each other over a network. It provides the necessary tools to configure and manage network connections.
Conclusion: In conclusion, an operating system is a critical component of a computer system. It manages the resources of a computer, provides a user interface, and ensures that programs run without any errors. There are different types of operating systems, each with its own features and functions. The choice of the operating system depends on the specific needs of the user, the hardware configuration of the computer, and the intended use of the computer.