SOLVED CS604 Quiz#2 Solution and discussion

  • 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

  • Cyberian's Gold

    Which of the following is correct definition for signal operation? CS604
    signal(S) {
    S++;
    }

    Page (108)

    0dd93143-ad32-4258-a6cd-ee652cada560-image.png

  • Cyberian's Gold

    Cache is non-volatile memory. CS604

    90343e61-51dd-40b1-b66b-ed13a975be59-image.png

  • Cyberian's Gold

    What do we name to an address that is generated by the CPU? CS604
    logical address (Page 152)
    8f8044d2-1207-470a-b6db-e5a46d169c23-image.png
    Logical- Versus Physical-Address Space
    An address generated by the CPU is commonly referred to as a logical address, where as
    an address seen by the memory unit–that is, the one loaded into the memory-address
    register of the memory–is commonly referred to as the physical address. In essence,
    logical data refers to an instruction or data in the process address space where as the
    physical address refers to a main memory location where instruction or data resides.

  • Cyberian's Gold

    The process of holding at least one resource and waiting to acquire additional resources that are currently being held by other processes is known as _________________. CS604
    ►Hold and wait (Page 128)

    Hold and wait: A process must be holding at least one resource and waiting to
    acquire additional resources that are currently being held by other processes.
    65d07025-c7e3-48c1-a9b3-4ed731c322e6-image.png

Insaf Sehat Card Live Cricket Streaming
  • 1
  • 3
  • 1
  • 2
  • 5
  • 1
  • 8
  • 2
Quiz 100% Result Quiz 100% Result
| |