Interview Centric Questions Flashcards
(348 cards)
What is IPC?
Interprocess Communication (IPC) is a mechanism that allows different processes to communicate with each other using shared resources like memory.
What are the different IPC mechanisms?
Different IPC mechanisms include:
* Pipes
* Message Queuing
* Semaphores
* Socket
* Shared Memory
* Signals
What is the main purpose of an OS?
The main purpose of an OS is to execute user programs and manage computational activities, including memory, processes, and hardware/software operations.
What are the different types of OS?
Types of OS include:
* Batched OS
* Multi-Programmed OS
* Timesharing OS
* Distributed OS
* Real-Time OS
What is a multiprocessor system?
A multiprocessor system includes two or more CPUs and allows processing of different programs simultaneously.
What are the benefits of a multiprocessor system?
Benefits include:
* Improved performance
* Increased throughput
* Cost-effectiveness
* Enhanced reliability
What is RAID structure in OS?
RAID (Redundant Arrays of Independent Disks) is a method for data storage that combines multiple hard disks for data protection and performance.
What are the different levels of RAID configuration?
Different levels of RAID include:
* RAID 0
* RAID 1
* RAID 2
* RAID 3
* RAID 4
* RAID 5
* RAID 6
What is GUI?
GUI (Graphical User Interface) is a user interface that allows users to interact with the OS using graphics instead of text commands.
What is a Pipe?
A pipe is a connection among two or more processes used for inter-process communication through message passing.
What operations are possible on a semaphore?
Two atomic operations possible on a semaphore are:
* Wait()
* Signal()
What is a bootstrap program in OS?
A bootstrap program initializes the OS during startup and is responsible for loading the kernel into main memory.
What is demand paging?
Demand paging loads pages into memory only when they are needed during execution, primarily used in virtual memory.
What is RTOS?
Real-Time Operating System (RTOS) is used for applications requiring data processing within a fixed time frame.
What types of RTOS exist?
Types of RTOS include:
* Hard Real-Time
* Firm Real-Time
* Soft Real-Time
What is process synchronization?
Process synchronization is a method to coordinate processes that use shared resources to maintain data consistency.
Why is the operating system important?
The OS is essential for enabling interaction between software and users, managing hardware, and providing a platform for running applications.
What is the difference between main memory and secondary memory?
Main memory is RAM and volatile, while secondary memory is non-volatile storage like hard drives.
What are overlays in OS?
Overlays is a programming method that divides processes into pieces to run programs larger than physical memory.
What are some examples of OS?
Examples of OS include:
* MS-Windows
* Ubuntu
* Mac OS
* Fedora
* Solaris
* Free BSD
* Chrome OS
* CentOS
* Debian
* Android
What is thrashing in OS?
Thrashing occurs when the CPU spends more time swapping or paging than executing processes, leading to degraded performance.
What is the main objective of multiprogramming?
The main objective of multiprogramming is to execute multiple programs on a single processor to improve CPU utilization.
What is asymmetric clustering?
Asymmetric Clustering is a system where one node is in hot standby mode while others run different applications.
What is the difference between multitasking and multiprocessing OS?
Multitasking uses one CPU for multiple tasks; multiprocessing uses multiple CPUs for executing different parts of the same program.