Page 267 - DCAP103_Principle of operating system
P. 267

Principles of Operating Systems



                   Notes
                                   To implement stable storage:
                                    1.  Replicate information on more than one nonvolatile storage media with independent
                                      failure modes.

                                    2.  Update information in a controlled manner to ensure that we can recover the stable data
                                      after any failure during data transfer or recovery.

                                   Questions:
                                    1.  What is the use of stable-storage implementation?
                                    2.  How stable-storage in an operating system can be achieved?




                                                1.  What is the difference between primary and secondary storage?
                                                2.  What is logical device?
                                                3.  Disk Operations Read/Write operations:
                                                4.  Calculating the disk access time on different cases:

                                                   (  a)  The file is stored contiguous.
                                                   (  b)  The file is stored on same cylinder.
                                                   (  c)  The file is stored randomly or scattered on different places.

                                 Self Assessment

                                 Multiple choice questions:
                                    5.  Which among the following are the best tools for fixing errors on disks?

                                      (a)  Fdisk                             (b)  Scandisk

                                      (c)  Chkdsk                            (d)  Fixdsk
                                    6.  Which command can be used to create the disk’s tracks and sectors?
                                      (a)  Fdisk                             (b)  Format

                                      (c)  Chkdsk                            (d)  Attrib

                                    7.  Which command is used to create root directory and FAT on disk?
                                      (a)  Chkdsk                            (b)  Command.com
                                      (c)  Format                            (d)  Fat

                                    8.  ...................... is a technique of temporarily removing inactive programs from the memory
                                      of computer system.
                                      (a)  Swapping                          (b)  Spooling

                                      (c)  Semaphore                         (d)  Scheduler
                                 Fill in the blanks:

                                    9.  Low-level formatting fill the  ...................... with a special data structure for each sector.
                                   10.  System memory used for swap-space is called  ...................... space.



        260                               LOVELY PROFESSIONAL UNIVERSITY
   262   263   264   265   266   267   268   269   270   271   272