GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Operating System
Go To First  |  Previous Question  |  Next Question 
 Operating System  |  Question 62 of 72    Print  
If the OS is just a collection pf programs and if it is executed by the processor just like any other program, is the OS a process? If so, how is it controlled?
?


  
Total Answers and Comments: 2 Last Update: November 08, 2008     Asked by: Debajyoti Ghosh 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: sk_seeker
 
Execution contexts can be of two types: thread/process context OR an Interrupt context. What this means is that to execute code, one has to be in a thread context or a an Interrupt context. OS code or any code for that matter has no context. It is the execution stream that has a context. So, whenever we are executing OS code, we are doing so on behalf of one of the two contexts mentioned above.


The behavior of the OS is controlled by user requests via system calls, by interrupt requests and by the policy and mechanisms put in place to manage resources, provide protection, etc.

Above answer was rated as good by the following members:
UncaAlby
December 22, 2007 05:20:00   #1  
sk_seeker Member Since: December 2007   Contribution: 43    

RE: If the OS is just a collection pf programs and if it is executed by the processor just like any other program, is the OS a process? If so, how is it controlled?
Execution contexts can be of two types: thread/process context OR an Interrupt context. What this means is that to execute code, one has to be in a thread context or a an Interrupt context. OS code or any code for that matter has no context. It is the execution stream that has a context. So, whenever we are executing OS code, we are doing so on behalf of one of the two contexts mentioned above.


The behavior of the OS is controlled by user requests via system calls, by interrupt requests and by the policy and mechanisms put in place to manage resources, provide protection, etc.

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
November 08, 2008 00:16:38   #2  
UncaAlby Member Since: October 2008   Contribution: 11    

RE: If the OS is just a collection pf programs and if it is executed by the processor just like any other program, is the OS a process? If so, how is it controlled?

Yes, it is executed by the hardware like any other program.  It controls itself.

This is why you have the concept of a kernel, which would be the smallest possible piece of the operating system that generally has to be running before anything else -- with the exception of the boot loader which boots up the machine from a powered-down state, and among various clean-up duties, its only job is to load and execute the kernel.


 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : process is program under execution.Program is only a set of instructions and process is a program in memory.  Thread is a basic unit of execution within a process.  This means program is something which is not loaded in memory yet. And ...

Latest Answer : process system timeTime taken for a process to execute in terms of BIOS/System time.process waiting time When a process is waiting for a resources/interrupts togo into 'RUN' state.process CPU timeProcess execution time in terms of CPU clock time. ...

Latest Answer : no ...
Read Answers (1) | Asked by : Amol

What is "Environment variable" in unix and what is command for set environment variables? What is command for list Processes with the highest CPU usage? What is command To Move Background job that has been suspended? What is command for to check disk space? How to find out what program is running now in unix?
Read Answers (4) | Asked by : Balayya

Latest Answer : Thread:Thread is separate path of excution which R functionally indepedent of each other.Process: A program in excution is called process.Task: In ptrogram contains tasks.Each task is nothing but job. ...
Read Answers (1) | Asked by : priya

Latest Answer : The possiblities of Deadlock are Mutual Exclusion,hold &wait,No preemption and Circularwait ...
Read Answers (1) | Asked by : nag203

Latest Answer : 1.POST 2.The MBR reads the boot sector which is the first sector of the active partition.3.Ntldr locket path of os from boot.ini4.Ntldr to run ntdedetect.com to get information about installed hardware.5.Ntldr reads the registry files then select ...
Read Answers (2) | Asked by : Pavan

Latest Answer : Provide the details of need. ...
Read Answers (1) | Asked by : jitendra kumar

If the OS is just a collection pf programs and if it is executed by the processor just like any other program, is the OS a process? If so, how is it controlled?
Read Answers (2) | Asked by : Debajyoti Ghosh

Can we execute a program with out installing Operating system? If yes, how it can be done?  
Latest Answer : yesusing EPROM ...


 Sponsored Links

 
Related Articles

SCOR Model Process

SCOR Model Process The Supply Chain Operations Reference Model commonly known as SCOR is a diagnostic tool for the Supply Chain Management It lets the users know the various processes involved in a business and the important things that lead to customer satisfaction The Supply Chain Operations refer
 

What is Data Collection

A database can be vast shared collection composed of data which are logically related to each other. Businesses rely heavily on data as they are Databases are used for managing the business day to day tasks so Data Collection happens every single day. Collection of data may seem a simple and trivial
 

What is Data Collection Time

Modern Relational Database Management Systems can be configured to collect data at certain events.  In a business, some of the events are sale, order, deposit, pay, request and many more. Events are really business activities in a company.  Big companies, in order to gain competiti
 

What is Data Collection Frequency

Data Collection Frequency, just as the name suggests refers to the time frequency at which data is collected at regular intervals. This often refers to whatever time of the day or the year in any given length of period. In a data warehouse, the relational database management systems continually ga
 

How to call C header that is not provided generally by system in C++?

Headers can be called by using extern C Syntax of extern C is: extern "C" <function declaration> for example to call C functions from C++ we can write extern "C" { <function declaration> <function declaration> ...
 

How to develop compile and run a C program

The steps involved in building a C program are: 1. First program is created by using any text editor and the file is stored with extension as .c 2. Next the program is compiled. There are many compilers available like GNU C compiler called as gcc, Sun compiler, Borland compiler which is pop
 

System Implementation

In the previous articles relating to SDLC Stages we discussed about Project Planning and Feasibility Study moved on to System Analysis and Requirements which lead to Systems Design. Systems Design will naturally lead to another stage where it becomes closer to the actual deployment of the p
 

System Analysis and Requirements

In the previous chapter, we’ve discussed about project planning and feasibility study. That stage was important because it tries to establish a problem in our highly technological world. As our understanding on what we can do in computers evolve and so are the things that we need to make t
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape