Process

Process: Program which is under execution is known as process.
There two conditions for process-
  1. It has to reside in the main memory
  2. It should occupy the CPU, means should be using or used by any resource of CPU.

Attributes of process:

  1. Process ID
  2. Process State
  3. Program Counter
  4. Priority
  5. General purpose register
  6. List of open files
  7. List of open devices
  8. Protection information



Description about process attributes is given below-

  1. Process ID: is a unique identification number which is organized by the OS at the time of process creation.

  1. Process state: contains the current state information of the process where it is residing.

  1. Program Counter: Contains the address of the next instruction to be expected.

  1. Priority: is a parameter which is assigned by the OS, at the time of process creation.

  1. General purpose registers: It contains registers information used by the process in order to execute the instructions.

  1. List of open files: In this information is stored about the files which are open by the process during execution.

  1. List of open devices: the devices which are opened by the process in execution.

  1. Protection Information: security information related to currently executing process is stored here.

All the above process attributes is known as context of the process.

Context of the process will be stored in PCB.
PCB stands for process control block.


Process ID
Process states
Program Counter
Priority
List of open files
List of open devices
General Purpose register
Protection information

Above is stored in PCB : Process Control Block


Every process will have its own PCB.

PCB of the process will be stored in main memory.


Process with respect to execution time are of two types.


  1. CPU Bound Processes
  2. Input Output Bound Processes.


  1. CPU Bound Process: The process which require more CPU time is known as CPU Bound Processes. They spend more time in running state.


  1. Input Output Bound Process: The process which requires more input output time are known as Input Output Bound Process. They spend more time in waiting state.

Operating Systems:

EasyExamNotes.com covered following topics in Operating Systems.
    A list of Video lectures
    Python Programming ↓ 👆
    Java Programming ↓ 👆
    JAVA EasyExamNotes.com covered following topics in these notes.
    JAVA Programs
    Principles of Programming Languages ↓ 👆
    Principles of Programming Languages
    EasyExamNotes.com covered following topics in these notes.

    Practicals:
    Previous years solved papers:
    A list of Video lectures References:
    1. Sebesta,”Concept of programming Language”, Pearson Edu 
    2. Louden, “Programming Languages: Principles & Practices” , Cengage Learning 
    3. Tucker, “Programming Languages: Principles and paradigms “, Tata McGraw –Hill. 
    4. E Horowitz, "Programming Languages", 2nd Edition, Addison Wesley

      Computer Organization and Architecture ↓ 👆

      Computer Organization and Architecture 

      EasyExamNotes.com covered following topics in these notes.

      1. Structure of desktop computers
      2. Logic gates
      3. Register organization
      4. Bus structure
      5. Addressing modes
      6. Register transfer language
      7. Direct mapping numericals
      8. Register in Assembly Language Programming
      9. Arrays in Assembly Language Programming

      References:

      1. William stalling ,“Computer Architecture and Organization” PHI
      2. Morris Mano , “Computer System Organization ”PHI

      Computer Network ↓ 👆
      Computer Network

      EasyExamNotes.com covered following topics in these notes.
      1. Data Link Layer
      2. Framing
      3. Byte count framing method
      4. Flag bytes with byte stuffing framing method
      5. Flag bits with bit stuffing framing method
      6. Physical layer coding violations framing method
      7. Error control in data link layer
      8. Stop and Wait scheme
      9. Sliding Window Protocol
      10. One bit sliding window protocol
      11. A protocol Using Go-Back-N
      12. Selective repeat protocol
      13. Application layer
      References:
      1. Andrew S. Tanenbaum, David J. Wetherall, “Computer Networks” Pearson Education.
      2. Douglas E Comer, “Internetworking with TCP/IP Principles, Protocols, And Architecture",Pearson Education
      3. KavehPahlavan, Prashant Krishnamurthy, “Networking Fundamentals”, Wiley Publication.
      4. Ying-Dar Lin, Ren-Hung Hwang, Fred Baker, “Computer Networks: An Open Source Approach”, McGraw Hill.