II. Scheduling and Dispatch Flashcards
■ An operating system executes a variety of programs: ● Batch system – ____ ● Time-shared systems –____ _______ or ____■ Textbook uses the terms __ and ______ almost interchangeably ■ ______ – a program in execution; process execution must progress in sequential fashion ■ Multiple parts (See slide 2.5) ● The program code, also called ____ ______● Current activity including _____ ______, processor registers ● ____ containing temporary data - Function parameters, return addresses, local variables ● ____ _____ containing global variables ● ____ containing memory dynamically allocated during run time
■ An operating system executes a variety of programs: ● Batch system – jobs ● Time-shared systems – user programs or tasks ■ Textbook uses the terms job and process almost interchangeably ■ Process – a program in execution; process execution must progress in sequential fashion ■ Multiple parts (See slide 2.5) ● The program code, also called text section ● Current activity including program counter, processor registers ● Stack containing temporary data 4Function parameters, return addresses, local variables ● Data section containing global variables ● Heap containing memory dynamically allocated during run time