Operating System Interview Questions - Part 2

Operating System Kernal - The kernel is the essential center of a computer operating system, the core that provides basic services for all other parts....
Operating System - A command interpreter is the part of a computer operating system that understands and executes commands that are entered....
Operating System daemon - In Unix and some other operating systems, a daemon is a computer program that runs in the background, It is not under the direct control of a user.......
Operating System process management - The basic functions of the OS wrt the process management are : Allocating resources to processes,.....
Operating System named pipe- Its a pipe that an application opens by name in order to write data into or read data from the pipe. ...
In non-preemptive scheduling, a running task is executed till completion. It cannot be interrupted......
Operating System semaphore - A semaphore is a variable. There are 2 types of semaphores:Binary semaphores, Counting semaphores.....
Operating System mutex - A mutex and the binary semaphore are essentially the same. Both can take values: 0 or 1. However, there is a significant difference...
Operating System memory types - Cache Memory - This is a small amounts of memory used to speed up system performance.....
Operating System virtual memory - Virtual memory is an approach to make use of the secondary storage devices as an extension of the primary storage of the computer......
What is RTOS? - A certain capability within a specified time constraint is guaranteed by an operating system called ‘real time operating system’.
Hard real-time and soft real-time - Critical task completion on time is guaranteed by a hard real time system.
Type of scheduling in RTOS - The tasks of real time operating system have 3 states namely, ‘running’, ’ready’, ‘blocked’.
What is interrupt latency? - The time between a device that generates an interrupt and the servicing of the device
What is priority inheritance? - Priority inversion problems are eliminated by using a method called priority inheritance.
What is spin lock? - In a loop a thread waits simply (‘spins’) checks repeatedly until the lock becomes available.
An operating system is an interface between hardware and software. OS is responsible for managing and co-ordinating the activities of a computer system.......
OS performs an operation for storing and retrieving data from secondary storage devices for use in main memory........
A program is a set of instructions that are to perform a designated task, where as the process is an operation........
Physical memory is the only memory that is directly accessible to the CPU.......
Sockets: Socket is a part of OSI layer model. Communication among different layers is performed through sockets......
A program in execution is known as ‘process’. A program can have any number of processes. Every process has its own address space........
RAM: - Volatile memory - Electricity needs to flow continuously - Program information is stored in RAM.......
DRAM – Dynamic Random Access Memory. One of the read / write memory. DRAM is cheap and does the given task.......
Cache memory is RAM. The most recently processing data is stored in cache memory. CPU can access this data more quickly than it can access data in RAM.......
The program syntax is checked by the compiler; where as the keywords of the program is checked by the interpreter......
Job scheduling is an activity for deciding the time for a process to receive the resources they request. First Come First Served: In this scheduling, the job that is waiting for a long time is served next........
Real-time system is the study of hardware and software, which are subject to the operational deadlines from event to the system response......
Dead lock is a situation of two or more processes waiting for each other to finish their tasks. In this situation no progress or no advancement is made.......
Primary memory storages are temporary; where as the secondary storage is permanent.......