Bhanu Priya

Bhanu Priya

1,061 Articles Published

Articles by Bhanu Priya

Page 5 of 107

What are layered structures and its benefits in OS?

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 977 Views

The layered structure is an operating system design approach where the OS is organized into a hierarchy of layers, each providing specific services to the layer above it. This architectural pattern allows for better organization, modularity, and maintainability of the operating system components. In a layered OS structure, the system is divided into multiple layers numbered from 0 (bottom layer) to N (top layer). Each layer can only interact with the layer immediately below it, creating a clear separation of concerns and controlled access to system resources. Layer Organization The classic layered structure consists of six layers, ...

Read More

What are advantages and disadvantages of object based distributed OS?

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 865 Views

A Distributed Operating System is a type of system where applications run across multiple interconnected computers, functioning as a single unified platform. It extends network operating system capabilities by supporting higher levels of communication and integration between machines. For end-users, it appears as an ordinary centralized operating system while leveraging multiple CPUs and distributed resources. The system can share all resources including CPU, memory, disk storage, network interfaces, and computational nodes across different sites, effectively increasing the data and processing power available to the entire network. All processors connect through high-speed communication media like buses and network lines, with ...

Read More

Differentiate between Application Programming Interfaces (APIs) and system calls.

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 6K+ Views

Application Programming Interfaces (APIs) and system calls are both mechanisms that enable communication and service requests, but they operate at different levels of the computing stack. Understanding their differences is crucial for grasping how software components interact with each other and the operating system. Application Programming Interface (API) An API is a set of protocols, routines, and functions that allows different applications and devices to communicate and exchange data. It acts as an intermediary that takes requests from users or applications, informs the system about what needs to be done, and returns the appropriate response. APIs enable ...

Read More

What is the difference between process and program?

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 1K+ Views

A process and a program are fundamental concepts in operating systems, yet they are often confused. Understanding their differences is crucial for grasping how operating systems manage tasks and resources. What is a Program? A program is a passive entity that consists of a set of instructions written in a programming language. It is stored as an executable file on secondary storage (like a hard disk). A program by itself does not consume system resources like CPU time or memory until it is executed. Key characteristics of a program: It is a static entity stored on ...

Read More

What are process states?

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 72K+ Views

A process is a program in execution that consists of more than just program code (text section). This concept works under all operating systems because every task performed by the operating system requires a process to execute. A process executes by changing its state over time. The state of a process is defined by the current activity and status of that process within the system. Types of Process States Each process may be in any one of the following five states − New − The process is being created and initialized by the operating system. ...

Read More

Differentiate between a single processor and a multi-processor.

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 21K+ Views

A single processor system contains only one CPU to handle all processing tasks, while a multiprocessor system contains two or more processors working together. Understanding the differences between these architectures is crucial for system design and performance optimization. Architecture Comparison Single Processor vs Multiprocessor Systems Single Processor System Multiprocessor System CPU Memory I/O Controllers CPU 1 CPU 2 Shared Memory ...

Read More

What are the types of system calls used in file management?

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 11K+ Views

File management system calls are essential operating system functions that allow programs to interact with the file system. These system calls provide a standardized interface for creating, opening, reading, writing, and manipulating files at the kernel level. Types of File Management System Calls File Access System Calls open() − Opens a file for reading, writing, or both. Requires filename and access mode parameters. close() − Closes an open file and releases associated resources like file descriptors. read() − Reads data from an open file into a buffer in memory. write() − Writes data from a buffer ...

Read More

Differentiate between 5 state and 7 state process models.

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 16K+ Views

A process is a program in execution that consists of more than just program code (text section). Process management is fundamental to operating systems as all tasks require processes to execute. The process changes state as it progresses through different phases of execution. The state of a process is defined by its current activity. Only one process can run on a processor at any given instant, while many processes may be ready and waiting for CPU time. Five State Process Model The 5-state model represents the basic lifecycle of a process with the following states − ...

Read More

What are the operations on process?

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 6K+ Views

A process is a program in execution that includes more than just program code (called the text section). This concept is fundamental to all operating systems because every task performed by the OS requires a process to execute it. The process executes as it changes state. The state of a process is defined by the current activity of that process. Process States Each process may be in one of the following states − New − The process is being created. Running − Instructions are currently being executed. Waiting − The process is waiting for an ...

Read More

What is a process control block?

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 3K+ Views

A Process Control Block (PCB) is a data structure in the operating system that contains all the information needed to manage a specific process. Also known as a Task Control Block, the PCB serves as the repository for process-specific data that the OS needs to switch between processes efficiently. Components of a Process Control Block The PCB contains several critical pieces of information associated with each process − Process state − Current state of the process (new, ready, running, waiting, terminated) Program counter − Address of the next instruction to be executed CPU registers − Contents ...

Read More
Showing 41–50 of 1,061 articles
« Prev 1 3 4 5 6 7 107 Next »
Advertisements