What does OS stand for?
Operating System
True or False: An operating system manages hardware and software resources.
True
What is a process?
A process is a program in execution.
Fill in the blank: The _____ is the part of the operating system that manages processes.
Process scheduler
What is a thread?
A thread is the smallest unit of a process that can be scheduled for execution.
Multiple Choice: Which of the following is NOT a state of a process? A) Running B) Waiting C) Sleeping D) Terminated
C) Sleeping
What is the purpose of memory management in an OS?
To manage the allocation and deallocation of memory space to processes.
True or False: Deadlock occurs when two or more processes are unable to proceed because each is waiting for the other to release resources.
True
What is a file in the context of an operating system?
A file is a collection of related data or information that is stored on a storage device.
Multiple Choice: Which of the following is a common file system? A) NTFS B) GPS C) HTTP D) FTP
A) NTFS
Fill in the blank: The _____ is a system call used to create a new process.
fork()
What is context switching?
Context switching is the process of storing the state of a process so that it can be resumed later.
True or False: A process can have multiple threads.
True
What is paging in memory management?
Paging is a memory management scheme that eliminates the need for contiguous allocation of physical memory.
Multiple Choice: Which of the following is a method to prevent deadlock? A) Mutual Exclusion B) Hold and Wait C) Preemption D) Circular Wait
C) Preemption
What is a semaphore?
A semaphore is a synchronization primitive used to control access to a common resource in concurrent systems.
Fill in the blank: The _____ algorithm is used for deadlock detection.
Banker’s
What is the role of the file system?
The file system is responsible for managing files on storage devices.
True or False: Virtual memory allows a computer to use more memory than is physically available.
True
What does the term ‘thrashing’ refer to in operating systems?
Thrashing refers to a situation where excessive paging leads to a significant decrease in performance.
Multiple Choice: Which scheduling algorithm is based on the shortest time to completion? A) FCFS B) SJF C) RR D) Priority
B) SJF
What is a deadlock avoidance strategy?
A deadlock avoidance strategy is a method to ensure that a system will not enter a deadlock state.
Fill in the blank: The _____ method divides memory into fixed-size blocks.
Paging
What is the difference between a process and a program?
A program is a static set of instructions, while a process is a dynamic execution of those instructions.