Page 428 - Computer_Science_F5
P. 428

so the  OS  uses scheduling algorithms     Instructions:
              to manage the queue and ensure smooth      Step 1:  Identify running                 Chapter Seven: Operating Systems
              multitasking.  This  prevents  resource            processes:
              hogging and prioritises demanding tasks,   (a) Open Task Manager (Windows),
              like  gaming. The  OS  also facilitates       Activity Monitor (macOS), or
          FOR ONLINE READING ONLY
              communication     between    processes        System Monitor (Linux).
              and terminates them when not needed,       (b) Identify different processes running
              freeing resources and maintaining             on the computer.
              system stability.                          (c) Observe how various processes
                                                            utilize CPU resources.
              Process management in an OS provides       (d) Note  how  much memory  each
              multitasking, allowing multiple programs      process consumes.
              to run without slowdowns. It ensures       (e) Identify tools that show which
              efficiency  by managing resources             processes are accessing the hard
              effectively, preventing any single program    drive.
              from monopolising them. System stability
              is maintained, so if a program crashes,    Step 2:  Observe resource
              only its process is affected, not the entire       utilisation:
              system. Good process management            (a) While  monitoring  the  Task
              ensures your computer can run multiple        Manager/Activity Monitor/System
              programs smoothly, maintaining efficiency     Monitor, perform the following
              and stability.                                tasks:
                                                            (i)  Open a web browser and visit

                  Activity 7.3:                                 a few websites.
                                                            (ii)  Open a music player and play
                Exploring process management on                 a song.
                a computer                                  (iii) Open a document editing
                                                                program and start typing.
               Aim:
               To explore and understand how process        (iv) Open a heavy game or video
               management works in an operating                 editing software.
               system by observing and analyzing         (b) Observe and note how CPU usage
               processes on a computer.                     and memory consumption change
                                                            as you open and use these programs.

               Materials:                                Step 3:  Analyse processes:
               A computer (Windows OS, macOS, or         (a) Identify processes associated with
               Linux distribution) or a smartphone/         specific  applications  you  have
               tablet                                       opened.


                                                    419
               Student’s Book  Form Five



     Computer Science Form 5.indd   419                                                     23/07/2024   12:34
   423   424   425   426   427   428   429   430   431   432   433