CS604 Quiz#2 Solution and discussion


  • Cyberian's Gold

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


  • Cyberian's Gold

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


  • Cyberian's Gold

    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

  • Cyberian's Gold

    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)


  • Cyberian's Gold

    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


  • Cyberian's Gold

    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

  • Cyberian's Gold

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


  • Cyberian's Gold

    ----------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


  • Cyberian's Gold

    ---------------keep in memory only those instructions and data that are needed at any given time. CS604

    ►Fragmentation
    ►Paging
    ►Swapping
    Overlays (Page 156)


  • Cyberian's Gold

    1. The collection of process that is waiting on the disk to be brought into the memory for execution forms the _______

    Input queue = Correct Option

    Output queue

    Both of the

    None of the above

    1. _____is used due to un-used space in fixed size blocks/ pages.

    Internal fragmentation = Correct Option

    External fragmentation

    Paging

    MVT

    1. Fragmentation when using ICMP for path MTU should be avoided.

    Select correct option:

    True = Correct Option

    False

    Static routing

    1. Secondary storage memory devices have ____ memory.

    Volatile

    Permanent and non volatile = Correct Option

    Temporary

    None of the

    1. _____is caused due to un-used in physical memory.

    Internal fragmentation = Correct Option

    External fragmentation

    Paging

    MVT

    1. The set of all physical address corresponding to the logical address is a _____of the process

    Logical address space

    Process address space

    Physical address space = Correct Option

    None of the These

    1. Addresses generated relative to part of program, not to start of physical memory are

    Relocatable = Correct Option

    Virtual

    Symbolic

    Physical

    1. In deadlock detection and recovery algorithm exists in the system if and only if the wait for graph contains a _______.

    Cycle = Correct Option

    Graph

    Edge

    Node

    1. Object files and library are combined by a ____ program to produce the executable binary

    Compiler

    Linker

    Text editor

    Loader = Correct Option

    1. The run-time mapping from virtual to physical address is done by a piece of hardware in the CPU, called the _______

    Memory management unit (MMU) = Correct Option

    CPU scheduler

    Registers

    None of the above


  • Cyberian's Gold

    Addresses generated relative to part of program, not to start of physical memory are CS604

    Relocatable = Correct Option
    Virtual
    Symbolic
    Physical


  • Cyberian's Gold

    If a system is not in a safe state, there can be NO deadlocks. CS604

    True ()134

    e93754a5-b3c7-4656-8fad-5ff452175252-image.png


  • Cyberian's Gold

    __________ is used in the detection and recovery mechanism to handle deadlocks. CS604
    98b4b098-ca66-4173-9a78-28bf2fff4b2c-image.png


  • Cyberian's Gold

    A program can not execute unless whole or necessary part of it resides in the main memory. CS604
    TRUE (Page 12)
    6dcb54c6-cc85-44fd-9d71-6476373a2b06-image.png


  • Cyberian's Gold

    External Fragmentation takes place in ______________ CS604

    01ab8719-8c63-4ef8-8d33-d113cef8b6a0-image.png


  • Cyberian's Gold

    The condition where a set of blocked processes each holding a resource and waiting to acquire a resource held by another process in the set, is termed as ________. CS604

    The Deadlock Problem (Page 127)

    abd56272-d2b7-43ac-921f-fb0c79a0ac17-image.png


Log in to reply
 

Quiz 100% Result Quiz 100% Result
| |