Preview

Tets

Powerful Essays
Open Document
Open Document
2487 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Tets
Wolmer’s Trust High School for Girls

CAPE COMPUTER SCIENCE

Grade 11 Teacher: Mrs. McCallum-Rodney

Operating System Function – PROCESS MANAGEMENT

Introduction to Process Management

• A process does nothing unless its instructions are executed by the CPU.

• A process can be thought of as a program in execution.

• A process needs certain resources, including CPU time, memory, files and I/O devices, to accomplish its tasks. These resources are either given to the process when it is created, or allocated to it while it is running.

• In addition to physical and logical resources that a process obtains when it is created, some initialization data (input) may be passed along. For example, a process whose function is to display the status of a file on the screen of a terminal, will be given as an input the name of the file, and will execute the appropriate instructions and system calls to obtain the desired information and display it on the terminal.

• When the process terminates, the operating system will reclaim any reusable resources.

• A program by itself is not a process; a program is a passive entity, such as the contents of a file stored on a disk. A process is an active entity, with a program counter specifying the next instruction to be executed.

• The execution of a process must be executed sequentially.

• The CPU executes one instruction of the process after another, until the process is complete. At most one instruction is executed on behalf of the process. Therefore, although two processes may be associated with the same program, they are nevertheless considered two separate execution sequences. It is common to have a program that spawns many processes as it runs.

Note: A process is the unit of work in a system.

• Such a system consists of a collection of processes, some of which are operating-system processes (those that execute system codes) and the rest of which are user processes (those that

You May Also Find These Documents Helpful

  • Good Essays

    Unix processes are instances of an executed program. UNIX, being a multi task operating system handles thousands of processes at a time. We are able to check on what processes are currently running by typing ps at the UNIX prompt. Depending on the options used with the ps command, we can see different outcomes such as $ps -ef | more. This will list all the processes in the system. Some items you might see using the ps command are PID which is the process ID number, TT or TTY shows the controlling terminal for the process. If there is no controlling terminal then a question mark is used.…

    • 567 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    NT1310 Unit 3 Homework

    • 1253 Words
    • 5 Pages

    Q3) What is a PID number? Why are these numbers useful when you run process in the background? Which utility displays the PID numbers of the commands you are running?…

    • 1253 Words
    • 5 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1330 Unit 1 Study Guide

    • 2629 Words
    • 11 Pages

    CPU scheduler is to selects from among the processes in memory ready to execute and allocates the CPU to one of them. CPU scheduling decisions may take place when a process:…

    • 2629 Words
    • 11 Pages
    Powerful Essays
  • Powerful Essays

    IT/210 Appendix D

    • 453 Words
    • 4 Pages

    Up to this point, you have identified the processes the program must perform, but you have not given any consideration to exactly how the processes work together to solve the problem. At this point, you must generate a description of the processing using pseudocode, a natural language description of the processing the application must perform.…

    • 453 Words
    • 4 Pages
    Powerful Essays
  • Good Essays

    The operating systems job is managing the memory. The operating system is in charge of bringing this process into main memory (Stallings, 2012). However the processor must deal with references within the program. Branch instructions include an address to reference the order to be executed next. Data reference instructions include the address of the byte or word of data referenced. The processor hardware and operating system software must be able to translate the memory references found in the code of the program into actual physical memory addresses, reflecting the current location of the program in main memory. (Stallings, 2012).…

    • 573 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Nt1310 Unit 3 Os

    • 1341 Words
    • 6 Pages

    +• Scheduling: Any processor may perform scheduling, which complicates the task of enforcing a scheduling policy and assuring that corruption of the scheduler data structures is avoided. If kernel-level multithreading is used, then the opportunity exists to schedule multiple threads from the same process simultaneously on multiple processors.…

    • 1341 Words
    • 6 Pages
    Good Essays
  • Good Essays

    11. An OS’s capability to run more than one application or process at the same time is referred to which of the…

    • 2490 Words
    • 10 Pages
    Good Essays
  • Good Essays

    PT1420 Assign. 10

    • 702 Words
    • 4 Pages

    Described the three steps that must be taken when a file is used by a program.…

    • 702 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Macs vs Pc

    • 295 Words
    • 2 Pages

    A. The memory (RAM) of the computer determines how many programs or applications can run concurrently.…

    • 295 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Study Guide GB 310

    • 5424 Words
    • 22 Pages

    is a graphic description of a process, showing the sequence of process tasks, which is developed for a specific purpose and from a selected viewpoint…

    • 5424 Words
    • 22 Pages
    Good Essays
  • Good Essays

    Cost accoutning

    • 12348 Words
    • 50 Pages

    1. A process is a series of activities or operations, which are linked to perform a specific objective.…

    • 12348 Words
    • 50 Pages
    Good Essays
  • Satisfactory Essays

    A process can be define as Sequence of interdependent and linked procedures which, at every stage, consume one or more resources (employee, time, energy, machines, money) to convert inputs (data, material, parts, etc.)…

    • 922 Words
    • 3 Pages
    Satisfactory Essays
  • Better Essays

    Systems Paper

    • 1231 Words
    • 4 Pages

    At the most basic level, systems are characterized by input-throughput-output processes (Farace, Monge & Russell, 1977). In system processes, the “input” is what is entered into a system of, for example, information, in its operation to achieve an “output” result. The “throughput” is a transformational process that transitions information gathered to what it will eventually amount to. The output, then, expectedly, is the final result.…

    • 1231 Words
    • 4 Pages
    Better Essays
  • Better Essays

    Process is a set of logical activities that lead to some final or interim output. For example,…

    • 1005 Words
    • 5 Pages
    Better Essays
  • Powerful Essays

    Modern Operating System

    • 3667 Words
    • 15 Pages

    1. The operating system is the most important program that runs on a computer. Every general-purpose computer must have an operating system to run other programs. Operating systems perform basic tasks, such as recognizing inputfrom the keyboard, sending output to the display screen, keeping track of filesand directories on the disk, and controlling peripheral devices such as disk drives and printers.…

    • 3667 Words
    • 15 Pages
    Powerful Essays