CS 4504 Lecture Notes - Lecture 2: Code Segment, Race Condition, Child Process

49 views2 pages

Document Summary

When a program is run or executed on a computer it is represented as a process. A process consists of an executing program, its current values, state information, and resources used by the operating system. Life of a process program starts at the execution and is send to the ready queue. When necessary resources are available (such as cpu) the process is dispatched (enters running state). It continues to execute till i/o operation is required (called blocked state). After blocked state is removed process is back to the ready que. When the process finishes its job the process will be terminated. Three types of java programs: applications, applets, and servlets. Application has a main method and it is run independent (stand-alone). Applet does not have a main method and it is run using a browser or the appletviever. Servlet does not have a main method and it is run in the context of a web browser.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents