Navigation

    Cyberian
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Pro Blog
    • Users
    • Groups
    • Unsolved
    • Solved

    SOLVED CS604 Quiz#2 Solution and discussion

    CS604 - Operating Systems
    3
    28
    5051
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • zaasmi
      zaasmi Cyberian's Gold last edited by

      CS604 Quiz#2.
      Please post your current Quiz to help the students.

      Discussion is right way to get Solution of the every assignment, Quiz and GDB.
      We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
      Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
      NOTE: Don't copy or replicating idea solutions.
      Quiz Copy Solution
      Mid and Final Past Papers
      Live Chat

      1 Reply Last reply Reply Quote 0
      • zareen
        zareen Cyberian's Gold last edited by

        While executing the statement c++/c-- in Producer-Consumer problem, at back end certain number of
        instructions are executed, if interleaving of statements happen, it create race condition. Tell number of
        instructions that require “no interleaving” while executing c++/c–?

        3
        1
        2
        0

        Discussion is right way to get Solution of the every assignment, Quiz and GDB.
        We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
        Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
        NOTE: Don't copy or replicating idea solutions.
        Quiz Copy Solution
        Mid and Final Past Papers
        Live Chat

        1 Reply Last reply Reply Quote 0
        • zareen
          zareen Cyberian's Gold last edited by zareen

          Software solution to critical section problem can run only in environment ______________.

          Multiprocessor
          Multithreading
          Uniprocessor
          Separate address spacing

          The software-based solution is 2 processes also they are not guaranteed to work on modern computers architecture. The critical section problem could be solved simply in a uniprocessor environment if we prevent interrupts from occurring from uniprocessor environment.

          Discussion is right way to get Solution of the every assignment, Quiz and GDB.
          We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
          Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
          NOTE: Don't copy or replicating idea solutions.
          Quiz Copy Solution
          Mid and Final Past Papers
          Live Chat

          1 Reply Last reply Reply Quote 0
          • zareen
            zareen Cyberian's Gold last edited by

            We can use semaphores to deal with the number of __________process critical section problem.

            ►n-process critical section problem

            Discussion is right way to get Solution of the every assignment, Quiz and GDB.
            We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
            Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
            NOTE: Don't copy or replicating idea solutions.
            Quiz Copy Solution
            Mid and Final Past Papers
            Live Chat

            1 Reply Last reply Reply Quote 0
            • zareen
              zareen Cyberian's Gold last edited by

              Using hardware solution to synchronization for complex problems, introduce a new synchronization tool know as _______________.

              1. TestAndSet
              2. Semaphore (Page 111)
              3. Swap
              4. Trap

              Discussion is right way to get Solution of the every assignment, Quiz and GDB.
              We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
              Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
              NOTE: Don't copy or replicating idea solutions.
              Quiz Copy Solution
              Mid and Final Past Papers
              Live Chat

              1 Reply Last reply Reply Quote 0
              • zareen
                zareen Cyberian's Gold last edited by

                The main memory is usually divided into partitions, one for __________ and other for __________.

                1. Operating System, User processes
                2. Operating system, CPU
                3. Processes, Virtual Memory
                4. Base Register, Limit Register

                Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                NOTE: Don't copy or replicating idea solutions.
                Quiz Copy Solution
                Mid and Final Past Papers
                Live Chat

                1 Reply Last reply Reply Quote 0
                • zareen
                  zareen Cyberian's Gold last edited by

                  The integer value of ________semaphores can range over an unrestricted integer domain.

                  ►Counting (Page 117)
                  ►Binary
                  ►Mutex
                  ►Bounded buffer

                  Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                  We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                  Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                  NOTE: Don't copy or replicating idea solutions.
                  Quiz Copy Solution
                  Mid and Final Past Papers
                  Live Chat

                  1 Reply Last reply Reply Quote 0
                  • zareen
                    zareen Cyberian's Gold last edited by

                    The integer value of _________ semaphores can not be greater than 1.
                    ►Counting
                    ►Binary (Page 117)
                    ►Mutex
                    ►Bounded buffer

                    Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                    We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                    Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                    NOTE: Don't copy or replicating idea solutions.
                    Quiz Copy Solution
                    Mid and Final Past Papers
                    Live Chat

                    1 Reply Last reply Reply Quote 0
                    • zareen
                      zareen Cyberian's Gold last edited by

                      Secondary storage memory devices have ____ memory.
                      ►Volatile
                      ►Permanent and non volatile Click here for detail
                      ►Temporary
                      ►None of the

                      Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                      We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                      Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                      NOTE: Don't copy or replicating idea solutions.
                      Quiz Copy Solution
                      Mid and Final Past Papers
                      Live Chat

                      1 Reply Last reply Reply Quote 0
                      • zareen
                        zareen Cyberian's Gold last edited by

                        Object files and libraries are combined by a ------------- program to produce the executable binary
                        ► Compiler
                        ► Linker
                        ► Text editor
                        ► Loader Click here for detail

                        Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                        We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                        Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                        NOTE: Don't copy or replicating idea solutions.
                        Quiz Copy Solution
                        Mid and Final Past Papers
                        Live Chat

                        1 Reply Last reply Reply Quote 0
                        • zareen
                          zareen Cyberian's Gold last edited by

                          In Swapping technique of Memory Management, the total amount transfer time is directly proportional to the ___________.

                          1. amount of memory swapped
                          2. amount of space on backing store
                          3. space on main memory
                          4. all the given options are correct

                          Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                          We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                          Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                          NOTE: Don't copy or replicating idea solutions.
                          Quiz Copy Solution
                          Mid and Final Past Papers
                          Live Chat

                          1 Reply Last reply Reply Quote 0
                          • zareen
                            zareen Cyberian's Gold last edited by

                            In order to remove the problem like busy waiting, some high level synchronization constructs are defined. What
                            are they?

                            ►Critical regions and Monitors (Page 124)

                            Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                            We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                            Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                            NOTE: Don't copy or replicating idea solutions.
                            Quiz Copy Solution
                            Mid and Final Past Papers
                            Live Chat

                            1 Reply Last reply Reply Quote 0
                            • zareen
                              zareen Cyberian's Gold last edited by

                              In deadlock detection and recovery algorithm, a deadlock exists in the system if and only if the wait for graph
                              contains a _____________

                              ► Cycle (Page 147)
                              ► Graph
                              ► Edge
                              ► Node

                              Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                              We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                              Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                              NOTE: Don't copy or replicating idea solutions.
                              Quiz Copy Solution
                              Mid and Final Past Papers
                              Live Chat

                              1 Reply Last reply Reply Quote 0
                              • zareen
                                zareen Cyberian's Gold last edited by

                                External Fragmentation takes place in ______________

                                Select correct option:

                                1. Multi programming with Variable Tasks (MVT)
                                2. Multi programming with Fixed Tasks (MFT)
                                3. Multi-tasking
                                4. Paging

                                Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                                We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                                Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                                NOTE: Don't copy or replicating idea solutions.
                                Quiz Copy Solution
                                Mid and Final Past Papers
                                Live Chat

                                1 Reply Last reply Reply Quote 0
                                • zareen
                                  zareen Cyberian's Gold last edited by

                                  Each page is a power of -------- bytes long in paging scheme.
                                  ► 2
                                  ► 3
                                  ► 4 (Page 167)
                                  ► 5

                                  Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                                  We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                                  Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                                  NOTE: Don't copy or replicating idea solutions.
                                  Quiz Copy Solution
                                  Mid and Final Past Papers
                                  Live Chat

                                  1 Reply Last reply Reply Quote 0
                                  • zareen
                                    zareen Cyberian's Gold last edited by

                                    ----------holds the smallest legal physical memory address for a process CS604
                                    Or
                                    Which register holds the smallest legal physical memory address for a process?

                                    ► Base register (Page 13)
                                    ► Limit register
                                    ►Status register
                                    ►None of the given options

                                    Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                                    We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                                    Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                                    NOTE: Don't copy or replicating idea solutions.
                                    Quiz Copy Solution
                                    Mid and Final Past Papers
                                    Live Chat

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Insaf Sehat Card Live Cricket Streaming

                                    100% Off on Your FEE Join US! Ask Me How?

                                    Quiz 100% Result If you want to know how you can join us and get 100% Discount on your FEE ask Cyberian in Chat Room!
                                    Quiz 100% Result Quiz 100% Result
                                    solution1255 discussion1206 fall 2019813 assignment 1433 assignment 2297 spring 2020265 gdb 1248 assignment 382 crw10174 spring 201955
                                    | |
                                    Copyright © 2021 Cyberian Inc. Pakistan | Contributors
                                    Live Chat