Operating System: Processes and Threads

ConsiderateLorentz avatar
ConsiderateLorentz
·
·
Download

Start Quiz

Study Flashcards

5 Questions

What are the components included in a process?

Program counter, stack, data section

What are the four principle events that lead to process creation?

System initialization, execution of a process creation system calls, user request to create a new process, initialization of a batch job

What is the term for processes that stay in the background and suddenly handle activities such as email, webpage, and printing?

Daemons

What is the term for the process that creates a new process, such as fork()?

Parent process

What forms a tree of processes in the process creation hierarchy?

Parent processes creating children processes, which in turn create other processes

Study Notes

Components of a Process

  • A process consists of program counter, registers, memory, and system resources.

Process Creation

  • Four principle events that lead to process creation are:
    • System initialization
    • Execution of a process creation system call
    • A user request to create a new process
    • Initiation of a batch job

Background Processes

  • Processes that stay in the background and suddenly handle activities such as email, webpage, and printing are called daemons.

Process Creation Hierarchy

  • A parent process creates a new process using a system call, typically fork().
  • The parent process forms a tree of processes in the process creation hierarchy.

Test your knowledge about processes and threads in operating systems with this quiz. Topics include process concept, process structure, and program execution.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free
Use Quizgecko on...
Browser
Browser