• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/5

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

5 Cards in this Set

  • Front
  • Back
  • 3rd side (hint)

What are attributes of process?

Process has following attributes:


1. State of execution like process will need a stack counter,program counter.This thing is used by OS in deciding how to schedule different processes and how to swap between different processes.


2. Parts and temporary holding areas like register and data and also it occupies state in memory.


3. May require special hardware like I/O devices and Operating system decides how to manage these devices between different processes.

Toy example from execution to managing.

What is Operating System?

An operating system is a system software that:


1. Directly has privileged acess to underlying hardware.


2. Hides hardware complexity from other applications.


3. Manages hardware on behalf of one or more applications according to predefined policies.


4. In addition it ensures that applications are isolated and protected from one another.

Think about why someone needs an operating system.

What is the difference between process and application?

Application is program on disk it is not executing so, it's static entity.




Process is a state of application while executing.So process is a program loaded in memory and that is executing and it is a active entity.


How does operating system knows what a process is doing?

Operating keeps a process control block what we call PCB for every process so it contains information like program counter (this is stored on register in cpu and it tell which instruction is currently executing.) And stack counter(it contains information like which instruction need to be run what states need to be stored if a process is moved out of memory.)

What are life cycle states of a process?

See the image