1. Home
  2. Explore
  3. Computer Science
  4. Bootstrap Process Explained

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Bootstrap Process Explained

  • 26Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Bootstrap and OS Loading
The bootstrap program checks hardware and then looks for a device with an
to transfer control to.

26 questions

  1. 1
    The bootstrap program checks hardware and then looks for a device with an
    _____
    to transfer control to.
    Hint

    Think about what the computer needs to load next to manage the system.

    Answer

    operating system

  2. 2
    GRUB is a bootstrap loader that allows users to choose between
    _____
    installed on the hard disk.
    Hint

    It presents a menu at startup with different options.

    Answer

    multiple operating systems

  3. 3
    GRUB is not limited to Linux; it can work with
    _____
    .
    Hint

    It is a flexible bootloader supporting various OS types.

    Answer

    any operating system

  4. 4
    Five services provided by an operating system include file system, user interface, I/O system, memory management, and
    _____
    .
    Hint

    Think about how the OS handles devices like hard disks and SSDs beyond just the file system.

    Answer

    secondary storage management

  5. 5
    A monolithic operating system is faster but harder to extend, while a layered operating system is more flexible but
    _____
    .
    Hint

    Consider the trade-off between speed and flexibility due to communication between layers.

    Answer

    slower

  6. 6
    System calls provide an
    _____
    for programs to request services from the operating system.
    Hint

    It's a standard way for applications to interact with the OS kernel.

    Answer

    API (Application Program Interface)

  7. 7
    A system program like Check Disk helps users manage the
    _____
    by checking for errors.
    Hint

    It's a utility for maintaining storage devices.

    Answer

    hard disk

  8. 8
    The command interpreter is separate from the kernel to allow running different
    _____
    .
    Hint

    This enables both command-line and graphical user interfaces.

    Answer

    interfaces

  9. 9
    In Unix, the system call
    _____
    is used to create a new process.
    Hint

    It's a term that means to split or duplicate.

    Answer

    fork

  10. 10
    A process is defined as a
    _____
    that is currently being executed.
    Hint

    It contrasts with a program, which is stored on disk.

    Answer

    running program

  11. 11
    The parts of a process that are stored in memory include the text section, data section, stack, and
    _____
    .
    Hint

    It's used for dynamically allocated memory that persists longer than stack data.

    Answer

    heap

  12. 12
    In memory layout, the stack starts at the top and grows down, while the heap starts at the bottom and grows
    _____
    .
    Hint

    They grow toward each other to maximize memory usage.

    Answer

    up

  13. 13
    When a new process is created, it enters the
    _____
    queue if the CPU is not immediately available.
    Hint

    It's waiting for its turn to use the CPU.

    Answer

    ready

  14. 14
    A process moves from the waiting state back to the ready state when its
    _____
    completes.
    Hint

    The process had paused due to needing data from an external device.

    Answer

    I/O (input/output) operation

  15. 15
    The Process Control Block (PCB) stores information such as process state, program counter, and
    _____
    .
    Hint

    These are the CPU's temporary storage locations for data and addresses.

    Answer

    registers

  16. 16
    Context switching involves saving the PCB of the current process and loading the PCB of the
    _____
    .
    Hint

    It's the mechanism that enables multitasking.

    Answer

    next process

  17. 17
    Threads allow a single process to have multiple
    _____
    of execution.
    Hint

    Each thread can run concurrently, sharing resources of the process.

    Answer

    threads

  18. 18
    The short-term scheduler selects which process from the ready queue should be executed next, typically every
    _____
    .
    Hint

    It operates very frequently to ensure responsiveness.

    Answer

    milliseconds

  19. 19
    A long-term scheduler controls the degree of multiprogramming by deciding which processes are admitted to the
    _____
    .
    Hint

    It handles job submission and determines the system load.

    Answer

    ready queue

  20. 20
    Swapping moves a process from memory to
    _____
    to free up resources for other processes.
    Hint

    It's a form of medium-term scheduling to relieve memory pressure.

    Answer

    hard disk (or secondary storage)

  21. 21
    A process that spends most of its time waiting for I/O is called
    _____
    .
    Hint

    Opposite of CPU-bound, which uses the processor heavily.

    Answer

    I/O-bound

  22. 22
    In Unix, the fork() system call creates a new process by duplicating the
    _____
    .
    Hint

    The new process is called the child.

    Answer

    parent process

  23. 23
    When a parent process terminates, its children may become
    _____
    if not properly handled.
    Hint

    They have lost their parent and need adoption by another process.

    Answer

    orphans

  24. 24
    A
    _____
    pipe allows data to flow in one direction between two processes.
    Hint

    Contrast with bidirectional communication.

    Answer

    unidirectional

  25. 25
    Sockets use an IP address and a
    _____
    to direct data to the correct application on a host.
    Hint

    It identifies a specific service or process on the machine.

    Answer

    port number

  26. 26
    Big endian and little endian refer to the
    _____
    of bytes in multi-byte data types.
    Hint

    One stores the most significant byte first, the other stores the least significant first.

    Answer

    order (or byte order)

1 of 26
Question 1 of 26

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent