Operating Systems
Operating Systems
@bzlearnin
Operating System (OS) is basically a software program that manages and handles
all resources of a computer such as hardware and software.
Basic Questions
1. What is an operating system?
○ Answer: An operating system (OS) is system software that manages computer
hardware and software resources, providing services for computer programs.
2. What are the main functions of an operating system?
○ Answer: The main functions include resource management, process
management, file system management, security and access control, user
interface management, and networking.
3. What is a process?
○ Answer: A process is a program in execution, including the program code,
current activity, process stack, and data section.
4. What is a thread?
○ Answer: A thread is the smallest unit of a process that can be scheduled for
execution, sharing resources like memory with other threads within the same
process.
7. What is multitasking?
○ Answer: Multitasking is the ability of an operating system to execute multiple
tasks (processes) concurrently by sharing CPU time.
8. What is a kernel?
○ Answer: The kernel is the core part of an operating system that manages system
resources, handles system calls, interrupts, and hardware communication.
19. What is the difference between a logical address and a physical address?
○ Answer: A logical address is a reference generated by the CPU, while a physical
address is the actual location in memory, translated by the memory management
unit (MMU).
Advanced Questions
21. What is a real-time operating system (RTOS)?
○ Answer: An RTOS is designed to handle real-time applications that process data
as it comes in, typically without buffer delays.
30. What is the difference between a hard link and a soft link in file systems?
○ Answer: A hard link is a directory entry that associates a name with a file on a file
system, while a soft link (symbolic link) is a pointer to another file name, creating
a link at the file system level.
Expert Questions