Page 440 - Computer_Science_F5
P. 440

Revision Exercise 7               10. What are the key differences
                                                            between preemptive and non-            Chapter Seven: Operating Systems
                                                            preemptive scheduling?
               1.  Research the concept of context
                   switching in CPU scheduling. How      11. How does the  OS ensure data
          FOR ONLINE READING ONLY
                   can operating systems minimize           security and integrity on storage
                   context switching to improve the         devices?
                   gaming experience?                    12. What mechanisms does the OS
               2.  Operating systems use fairness           use to detect and recover from
                   and  efficiency  principles  when        deadlocks?
                   scheduling  CPU  tasks. Discuss       13. Imagine that you are a team
                   with your classmates the ethical         developing a new mobile operating
                   considerations of prioritizing           system for educational tablets.
                   certain processes (e.g., emergency       Discuss and answer the following
                   services applications) over others.
                   How can we balance fairness with         questions:
                   efficiency in CPU scheduling?             (a) Who  are  the  primary  users

               3.  How does CPU scheduling affect               of this tablet OS (students,
                   app responsiveness and patience?             teachers, both)? What are their

               4.  How  can  you optimise  the                  specific needs and priorities?
                   performance of a smartphone using         (b) How will you ensure the
                   CPU scheduling knowledge?                    security and privacy of student
               5.  How does CPU scheduling promote              data stored on the tablets?
                   collaboration and  sharing  of            (c) How can the OS handle multiple
                   computer resources?                          apps running simultaneously
               6.  How  does  CPU scheduling                    while  maintaining  efficient
                   connect to coding and resource               usage of computer resources
                   management?                                  such as CPU and memory?
               7.  How can the knowledge of                  (d) Design a user-friendly and
                   CPU scheduling prepare you for               intuitive interface suitable for
                   emerging technologies?                       users of different ages and tech

               8.  Provide two real-world cases of              experience levels. Sketch your
                   deadlock. For each case briefly              ideas or create a simple mock-
                   explain its causes and ways to               up.
                   handle the deadlock. How does the
                   OS handle process synchronization         (e) How can the OS be designed
                   to avoid race conditions?                    to adapt to future technological
               9.  How  does  the  OS  use  CPU                 advancements and integrate
                   scheduling to improve efficiency?            with emerging learning
                                                                technologies?

                                                    431
               Student’s Book  Form Five



     Computer Science Form 5.indd   431                                                     23/07/2024   12:34
   435   436   437   438   439   440   441   442   443   444   445