List components of OS. Explain process management in detail.

1 Answer

Answer :

List of System Components:

1. Process management

2. Main memory management

3. File management

4. I/O system management

5. Secondary storage management

Process Management: The operating system manages many kinds of activities ranging from user programs to system programs like printer spooler, name servers, file server etc.

Each of these activities is encapsulated in a process.

 A process includes the complete execution context (code, data, PC, registers, OS resources in use etc.).

 The basic unit of software that the operating system deals with in scheduling the work done by the processor is either a process or a thread, depending on the operating system.

 It’s tempting to think of a process as an application, but that gives an incomplete picture of how processes relate to the operating system and hardware.

 The application you see (word processor or spreadsheet or game) is, indeed, a process, but that application may cause several other processes to begin, for tasks like communications with other devices or other computers.

 There are also numerous processes that run without giving you direct evidence that they ever exist. A process, then, is software that performs some action and can be controlled by a user, by other applications or by the operating system.

 It is processes, rather than applications, that the operating system controls and schedules for execution by the CPU. In a singletasking system, the schedule is straightforward.

 The operating system allows the application to begin running, suspending the execution only long enough to deal with interrupts and user input.

 The five major activities of an operating system in regard to process management are

1. Creation and deletion of user and system processes.

2. Suspension and resumption of processes.

3. A mechanism for process synchronization.

4. A mechanism for process communication.

5. A mechanism for deadlock handling.

Related questions

Description : Enlist types of operating system. Explain multiprogramming OS in detail.

Last Answer : Types of operating system 1.Batch Systems 2.Multiprogramming 3.Multitasking 4.Time-Sharing Systems 5.Desktop Systems 6.Distributed system 7.Clustered system 8.Real Time system: Multiprogramming ... multiprogramming: user can open word, excel, access and other applications in a system.

Description : List free space management techniques? Describe any one in detail.

Last Answer : A file system is responsible to allocate the free blocks to the file therefore it has to keep track of all the free blocks present in the disk. There are mainly four approaches by using which, the free ... block. This block contains a pointer to the next free disk block, and so on.

Description : Enlist different file allocation methods? Explain contiguous allocation method in detail.

Last Answer : From the user's point of view, a file is an abstract data type. It can be created, opened, written, read, closed and deleted without any real concern for its implementation. The implementation of a ... a times is difficult to estimate. 4. Compaction may be required and it can be very expensive.

Description : Explain multithreading model in detail.

Last Answer : Many systems provide support for both user and kernel threads, resulting in different multithreading models. Following are three multithreading model: Many-to-One Model The many-to- ... True concurrency cannot be achieved. Multiple threads of kernel is an overhead for operating system

Description : Enlist the operating system tools. Explain any two in detail.

Last Answer : Following are the operating tools: User Management Security policy Device Management Performance Monitor Task Scheduler A) User management: User management includes everything ... routing tables, interface statistics, masquerade connections, and multicast memberships. # netstat -tulpn

Description : Explain any 4 services provided by OS.

Last Answer : 1.User Interface: All operating systems have a user interface that allows users to communicate with the system. Three types of user interfaces are available: a. Command line interface ( ... to system resources. Security is provided by user authentication such as password for accessing information.

Description : With neat diagram explain inter process communication model.

Last Answer : Inter-process communication: Cooperating processes require an Interprocess communication (IPC) mechanism that will allow them to exchange data and information. There are two models of IPC 1. ... a communication link between them. Between each pair of processes exactly one communication link.

Description : List any four features of open source operating system.

Last Answer : 1. Open Source: open source OS code is freely available and it is community based development project. Multiple team's works in collaboration to enhance the capability of operating system and it is ... issuing a command in Linux Terminal or Shell. Linux can also run Windows applications if needed.

Description : Write Unix command for following: i)create a folder OSY ii) create a file FIRST in OSY folder iii) List/display all files and directories. iv) Write command to clear the screen

Last Answer : i) create a folder OSY: $mkdir OSY ii)create a file FIRST in OSY folder: $cd OSY $cat>FIRST or $ touch FIRST iii) List/display all files and directories: $ls iv) to clear screen: $clear

Description : Define real time operating system. List its any four applications of it.

Last Answer : Real time Operating System: A real time system has well defined fixed time constraints. Processing should be done within the defined constraints -Hard and Soft real time system. OR The ... Applications: 1. Flight Control System 2. Simulations 3. Industrial control 4. Military applications

Description : Draw process state diagram.

Last Answer : process state diagram

Description : Explain LRU page replacement algorithm for following reference string. 7 0 1 2 0 3 0 4 2 3 0 3 2 1 2 0 1 7 0 1 Calculate the page fault.

Last Answer : LRU: The Least Recently Used (LRU) page replacement policy replaces the page that has not been used for the longest period of time. LRU replacement associates with each page the time of that page's last use. ... in question so assume frame size as 3 or 4) LRU: Assume frame size=3

Description : Explain PCB with diagram.

Last Answer : Each process is represented as a process control block (PCB) in the operating system. It contains information associated with specific process. Process State: It indicates current state of a process. ... . Each PCB gives information about a particular process for which it is designed.

Description : Explain Round Robin algorithm with suitable example.

Last Answer : It is preemptive scheduling algorithm. A small unit of time known as a time quantum or time slice is used for pre-emption of a currently running process. Ready queue is implemented as a circular ... has received 1 time quantum, the CPU returns to process P1 for an additional time quantum. 

Description : Explain partitioning and its types.

Last Answer : An important operation of memory management is to bring programs into main memory for execution by the processor. Partitioning is a technique that divides a memory into multiple partitions. These partitions ... in memory. For example: Consider following table with process and memory space.

Description : Explain deadlock? What are necessary conditions for deadlock?

Last Answer : In multiprogramming environment, several processes may compete for a finite number of resources. A process requests resources and if the resources are not available then the process enters into the ... Each process is waiting for the resources held by other waiting processes in circular form.

Description : Explain any four scheduling criteria.

Last Answer : 1. CPU utilization: In multiprogramming the main objective is to keep CPU as busy as possible. CPU utilization can range from 0 to 100 percent. 2.Throughput: It is the number of processes ... fairly early and can continue computing new results while previous results are being output to the user.

Description : State and describe types of scheduler.

Last Answer : There are three types of scheduler: Long term scheduler Short term scheduler Medium term scheduler 1. Long term scheduler: It selects programs from job pool and loads them into the ... scheduler works in close communication with long term scheduler for loading process into the main memory. 

Description : What is purpose of system call? State two system calls with their functions.

Last Answer : System call provides an interface between a running program and operating system. It allows user to access services provided by operating system. This system calls are procedures written using C, ... send, receive messages transfer status information attach or detach remote devices. 

Description : Describe sequential and direct access method.

Last Answer : Sequential access: Information from the file is processed in order i.e. one record after another. It is commonly used access mode. For example, editors and compilers access files in sequence. A read ... prevent the user from accessing portions of the file system that may not be part of his file.

Description : Describe I/O Burst and CPU Burst cycle with neat diagram.

Last Answer : CPU burst cycle: It is a time period when process is busy with CPU.  I/O burst cycle: It is a time period when process is busy in working with I/O resources. A process execution consists ... cycle and so on. The final CPU burst cycle ends with a system request to terminate execution.

Description : Describe any four file attributes

Last Answer : File attributes: Name: The symbolic file name is the only information kept in human readable form. Identifier: File system gives a unique tag or number that identifies file within file ... Last modification and last use. These data can be useful for protection, security and usage monitoring.

Description : Write syntax for following commands: i)Sleep ii)Kill

Last Answer : i)sleep Syntax: sleep NUMBER[SUFFIX]… sleep OPTION ii) kill Syntax: kill pid

Description : Define virtual memory

Last Answer : Virtual memory is a memory management capability of an operating system (OS) that uses hardware and software to allow a computer to compensate for physical memory shortages by temporarily transferring data ... can be placed in overlays, but can concentrate instead on the problem to be programmed. 

Description : Explain components of database in detail.

Last Answer : A database system involves four major components. 1. Data 2. Hardware 3. Software 4. Users

Description : List three sources of pollutant from gasoline engine. Explain evaporative losses in detail.

Last Answer : Answer: Three sources of pollutant from gasoline engine:- 1) Carburettor losses 2) Crankcase blow-by 3) Engine exhaust emission Evaporative losses:-  1. Carburettor losses: occur due ... due to incomplete combustion, the exhaust gas also contains carbon monoxide, unburnt hydrocarbons (UBHC).

Description : List four types of combustion chambers used in S.I. engine. Explain any one in detail with neat sketch.

Last Answer : Combustion chambers used in S.I. engine:- 1) T - Head 2) I - Head. 3) F - Head. 4) L - Head 5) Divided combustion chamber. 1. T Head Type Combustion chambers.  This ... and therefore more heat loss. 4. Valve size restricted. 6. Thermal failure in cylinder block also. 

Description : List out various position sensors. Explain any one in detail.

Last Answer : List : 1)Potentiometer 2) Eddy current sensorproximity sensor 3)Capacitive sensor 4)Hall effect sensor 5)Optical sensor/photo electric sensor 6)Inductive sensor Example :  Capacitive sensor: ... voltage which can be consider as error and actuator will move according to correct position. 

Description : List and explain the different counters of PLC in detail.

Last Answer : A counter in PLC is an instruction equivalent to mechanical counter. A counter block of PLC has two control inputs, Count line and Reset line. When count line makes FALSE-to-TRUE transition, the counter ... down counter. The up-down counter has three inputs, count up, count down and reset.

Description : Which of the following is the process of assembling program  components, data, and libraries, and then compiling and linking these to  create an executable system? a) System building b) Release management c) Change management d) Version management

Last Answer : a) System building

Description : What's a really good and effective to-do/idea management/brainstorming/scheduling application for OS X?

Last Answer : Try evernote.com. It sounds like what you want, and it’s a webapp so you can access it anywhere.

Description : Explain in detail about maceration with adjustment. How does it differ from simple maceration process?

Last Answer : Maceration with adjustment: This process is carried out for unorganized drug. Method: i) Place unorganized drug with 4/5th of the menstruum in a close vessel for 2-7 days. ii) ... of Capsicum Examples of tinctures: Compound Tincture of Benzoin, Tincture of Tolu, Tincture of Myrrh

Description : Define plant layout. Explain in detail 'Process layout' with neat sketch.

Last Answer : Definition of Plant layout It is defined as the systematic arranging of various facilities like equipments, machines manpower, and inspection areas, etc and services within the area  of plant ... required for product manufacturing Less cost of investment General purpose machines are used

Description : Define calibration. Explain process of calibration in detail. 

Last Answer : The process of deriving the value of a quantity by comparing that quantity with a standard quantity is called as calibration. Calibration of instrument is done to obtain correct unknown value of each ... instrument reading. To establish the reliability of the instrument i.e. it can be trusted. 

Description : How do I get to the earliest page of the list of questions for example, in a site ? See detail?

Last Answer : answer:You might want to use the search-box on the top right-hand corner :) Also this is probably a meta question.

Description : Adults: besides your kids and S/O's - have you added anyone recently to your "unconditional love" list?

Last Answer : Well, we got a puppy almost a year ago now. Not the same it’s true, but as close as it’s going to get. I wuv Penny I do! :¬)

Description : Is there a To Do / task-list app that works with Mac OS 10.3? (Not a web-based service, a local app.)

Last Answer : You should check out this article on the using mac blog

Description : Botanical Words Alphabetical List - OS

Last Answer : OSMOPHORE: A gland, usually floral, which produces fragrances that attract pollinators. OSMOSIS: The diffusion of fluids through a semipermeable membrane, as in a living cell.

Description : Names of some of the Operating Systems are given below: (a) MS-DOS (b) XENIX (c) OS/2 In the above list, following operating systems didn’t provide multiuser facility. (1) (a) only (2) (a) and (b) only (3) (b) and (C) only (4) (a), (b) and (c) 

Last Answer : Answer: Marks to all

Description : List and explain the components of a hydraulic system.

Last Answer : Components Hydraulic: Hydraulic pump- Supply fluid to the components in the system. Pressure in the system develops in reaction to the load. Hence, a pump rated for 5,000 ... mechanical components and need to be removed along with other contaminants.  Seals, fittings and connections.

Description : Discuss the process of translation in detail. -Biology

Last Answer : answer:

Description : A process that involves continuously improving and detailing a plan as more detail become  available is termed as (A) project analysis (B) project enhancing (C) progressive deliberation (D) progressive elaboration

Last Answer : (D) progressive elaboration

Description : The process of removing detail from a given state representation is called ______ a) Extraction b) Abstraction c) Information Retrieval d) Mining of data

Last Answer : b) Abstraction

Description : A budgeting process which demands each manager to justify his entire budget in detail from beginning is A. Functional budget B. Master budget C. Zero base budgeting D. None of the above

Last Answer : C. Zero base budgeting

Description : Write in detail about modified percolation process. 

Last Answer : Modified Percolation: In percolation process for tinctures drug\ percolate (d/p) ratio is 1:4.The drug/percolate ratio is reduced to 1:3 by modifying percolation process. Thus saves lot of heat, ... evaporated and then mixed with main percolate.  Final volume is made by adding more menstrum. 

Description : Give detail classification of welding. State important factors upon which selection of welding process depends. 

Last Answer : Answer: Classification of Welding 1. Arc welding a. Carbon Arc Welding; b. Shielded Metal Arc Welding (SMAW) c. Submerged Arc Welding (SAW) d. Metal Inert Gas Welding (MIG, ... workers 14. Cost of materials 15. Code or specification requirements 16. Mechanical properties desired in joints 

Description : A thread is a ………… process, which is managed by OS scheduler. (a) heavy weight (b) multiproces -Technology

Last Answer : (d) A thread is a light weight process because it executes sequentially.

Description : ……………….. is a example of an operating system that support single user process and single thread. A) UNIX B) MS-DOS C) OS/2 D) Windows 2000

Last Answer : B) MS-DOS

Description : A thread is usually defined as a light weight process because an Operating System (OS) maintains smaller data structure for a thread than for a process. In relation to this, which of the following ... separate stack for each thread. (D) OS does not maintain virtual memory state for each thread.

Last Answer : (B) OS maintains only CPU registers for each thread.

Description : The primary components of the quality management function are : 1. quality planning  2. quality control and assurance  3. quantitative measurement  4. quantitative assessment of the project

Last Answer : 5. a and b