Operating system
Examil2 os Chapters 3 Process and 4 Threads Use the Excel Workbook file to note the actions of an Operating System (OS) kernel, called Dispatcher. The kemel is a computer program at the heart and core of a computer's operating system and generally has complete control over everything in the system. It is the portion of the OS code that is always resident in memory and facilitates interactions between hardware and software components (software drivers and applications) Kernel (operating system) by wikipedia.org First load the kernel l.e., "Dispatcher" into memory. Dispatcher initiates from job scheduler data list to execute an application called "ATC" (AirTraffic-Control) in background. It runs until a user terminates it. "Air-Traffic-Control" loads into memory a data file called "ATC-Data". A.user makes a request to run an application, "Plane. exe with command line arguments T001 ". A user makes a request to run an application, "Plane.exe with command line arguments T002 ". Note: Both requests are running in the system at the same time. TH\#\# is the plane's tail number a unique identifier. Dispatcher algorithm: Cycles applications in ATC-Data. Gives each process 2min30sec then goes to next process. ATC algorithm: Open ATC-Data (15sec) ATC loops until terminated by a Human. Update ATC-Data file ( 2min) Pause (10 sec) LEND of ATC Programs Plane's algorithm: Note each line is an instruction address (Program Counter). Start plane engine. ( 15sec) Call ATC. ( 2sec ) Means ATC puts plane in ATC-Data and updates with status. Loop: Plane checks ATC-Data for status. ( 30sec ) Exit loop when status changes. Plane requests take off. ( 3sec ) Means ATC updates plane in ATC-Data queue and updates with status. Loop: Plane checks ATC-Data for status. ( 30 sec) Exit loop when status changes. Plane takes off. ( 1min) Call ATC. (2sec) ATC takes plane out of ATC-Data. (20 sec)