1. Home
  2. Explore
  3. Computer Science
  4. Operating System Components

Study methods

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

Operating System Components

  • 70Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: OS Architecture
The two main components that make up an operating system are
and the kernel.

70 questions

  1. 1
    The two main components that make up an operating system are
    _____
    and the kernel.
    Hint

    One component is where applications run; the other manages hardware access.

    Answer

    user space

    Explanation

    The content divides the operating system into user space and the kernel.

  2. 2
    User applications normally execute in the operating system's
    _____
    .
    Hint

    It is the area designed for applications and user interaction.

    Answer

    user space

    Explanation

    User space is where user applications run.

  3. 3
    The component of the operating system with direct access to underlying hardware is the
    _____
    .
    Hint

    It is the central part of the operating system that mediates hardware access.

    Answer

    kernel

    Explanation

    The kernel has access to the underlying hardware, unlike user space applications.

  4. 4
    Because user space does not directly access hardware, it must request the
    _____
    to carry out hardware-related work.
    Hint

    This component receives user-space requests and communicates with hardware.

    Answer

    kernel

    Explanation

    User space requests that the kernel perform work that requires hardware access.

  5. 5
    The kernel is described as the
    _____
    of the operating system because it is its most important part.
    Hint

    This word refers to a central, vital part of a system.

    Answer

    heart

    Explanation

    The content calls the kernel the heart of the operating system because of its central role.

  6. 6
    The component described as the first part of the operating system to start during startup is the
    _____
    .
    Hint

    It is the central operating-system component that manages hardware.

    Answer

    kernel

    Explanation

    The notes state that the kernel is the first component of the operating system to start.

  7. 7
    In the basic architecture described, user space communicates with the kernel, and the kernel communicates with the
    _____
    .
    Hint

    This is the physical equipment managed by the operating system.

    Answer

    hardware

    Explanation

    The kernel interacts with hardware, while user space interacts with the kernel.

  8. 8
    Together, user space and the kernel form the
    _____
    .
    Hint

    This is the software that manages computer resources and provides an environment for applications.

    Answer

    OS

    Explanation

    The content identifies user space and the kernel as the two components that form the operating system.

  9. 9
    The desktop, icons, and other visible interface elements in Windows are examples of the
    _____
    .
    Hint

    This is the part of the operating system where users work and applications run.

    Answer

    user space

    Explanation

    The content identifies the visible desktop and icons as part of user space.

  10. 10
    The abbreviation GUI stands for
    _____
    .
    Hint

    It describes an interface through visual elements such as windows, icons, and a mouse.

    Answer

    graphical user interface

    Explanation

    GUI means graphical user interface.

  11. 11
    When a user clicks an app using a mouse, the user is interacting directly with the
    _____
    .
    Hint

    This interface uses graphical elements rather than typed commands.

    Answer

    GUI

    Explanation

    A graphical user interface lets a user interact with applications through visual elements and actions such as clicking.

  12. 12
    The abbreviation CLI stands for
    _____
    .
    Hint

    This interface lets the user enter text commands.

    Answer

    command line interface

    Explanation

    CLI means command line interface.

  13. 13
    In a CLI, the user writes commands that the system then
    _____
    .
    Hint

    After receiving a command, the system carries it out.

    Answer

    executes

    Explanation

    A command-line interface accepts commands and has the system execute them.

  14. 14
    In the examples given, the command-line application available in Mac and Linux is a
    _____
    .
    Hint

    It is the application through which users enter text commands.

    Answer

    terminal

    Explanation

    The content describes the terminal as the command-line interface in Mac and Linux.

  15. 15
    The command-line application identified for Windows in the content is
    _____
    .
    Hint

    It is a Windows environment for entering and running commands.

    Answer

    PowerShell

    Explanation

    The content names PowerShell as the command-line option in Windows.

  16. 16
    In Linux, the command used in the example to create a new folder is
    _____
    .
    Hint

    It is a directory-creation command mentioned in the folder example.

    Answer

    MKdir

    Explanation

    The content gives the MKdir command as a way to create a new folder in Linux.

  17. 17
    The CLI command in the example directs the file management system to create a
    _____
    .
    Hint

    This is the file-system structure commonly called a folder.

    Answer

    directory

    Explanation

    The MKdir command calls on file management to create a directory.

  18. 18
    The operating-system function responsible for creating and terminating processes is
    _____
    .
    Hint

    This function handles the life cycle of processes.

    Answer

    process management

    Explanation

    Process creation and termination are identified as parts of process management.

  19. 19
    Deciding how processes and threads are executed is the responsibility of process and thread
    _____
    .
    Hint

    This determines when work gets access to the CPU.

    Answer

    scheduling

    Explanation

    The kernel schedules processes and threads for execution.

  20. 20
    Process scheduling aims to use resources well, account for high priority, and avoid process
    _____
    .
    Hint

    This occurs when a process is continually left waiting for execution.

    Answer

    starvation

    Explanation

    The content describes maximum utilization, attention to high priority, and avoiding process starvation as scheduling concerns.

  21. 21
    The kernel's management of switching between processes is called context
    _____
    .
    Hint

    The term describes changing the CPU's active process context.

    Answer

    switching

    Explanation

    Context switching is one of the kernel's process-related responsibilities.

  22. 22
    The kernel helps coordinate processes so their activities work together through process
    _____
    .
    Hint

    This is needed to coordinate concurrent activities.

    Answer

    synchronization

    Explanation

    Synchronizing processes is listed among the kernel's responsibilities.

  23. 23
    Assigning RAM space to a process is an example of memory
    _____
    .
    Hint

    This means assigning a resource for use.

    Answer

    allocation

    Explanation

    Memory management includes allocating memory to processes.

  24. 24
    Returning RAM space so it can be used again is memory
    _____
    .
    Hint

    This is the opposite of assigning memory to a process.

    Answer

    deallocation

    Explanation

    Memory management includes deallocation, which frees memory for reuse.

  25. 25
    To allocate memory to new jobs, the kernel keeps track of which memory areas are
    _____
    .
    Hint

    These areas are vacant and available for use.

    Answer

    free

    Explanation

    The kernel tracks vacant memory areas as part of free-space management.

  26. 26
    Creating and deleting files are responsibilities of
    _____
    .
    Hint

    This kernel function handles operations on files.

    Answer

    file management

    Explanation

    The content identifies file creation and deletion as file management tasks.

  27. 27
    Maintaining the disk's folders in a hierarchical tree is an example of
    _____
    management.
    Hint

    This function organizes folders and their relationships.

    Answer

    directory

    Explanation

    Directory management maintains a hierarchical directory structure, which the content compares to a tree.

  28. 28
    The kernel function that manages and operates input and output operations and devices is
    _____
    management.
    Hint

    The abbreviation refers to input and output.

    Answer

    I/O

    Explanation

    I/O management handles I/O operations and devices.

  29. 29
    When a USB drive is connected, the kernel can detect it, notify the user, and provide a way to access it; these are examples of
    _____
    management.
    Hint

    This function deals with connected devices and their operations.

    Answer

    I/O

    Explanation

    The content describes detecting a connected pen drive, notifying the user, and enabling access as I/O management tasks.

  30. 30
    Keeping data ready for use shortly within a job or process is called
    _____
    .
    Hint

    This technique temporarily holds data for near-term use within work that is already underway.

    Answer

    buffering

    Explanation

    The notes describe buffering as preparing data for use within a job or process in the near future.

  31. 31
    The kernel activity listed alongside buffering and spooling that stores data for quicker use is
    _____
    .
    Hint

    It is a technique associated with keeping useful data readily available.

    Answer

    caching

    Explanation

    Caching is listed among the kernel's I/O-related activities.

  32. 32
    Preparing data between two jobs in advance is called
    _____
    .
    Hint

    This can queue work for a device that operates more slowly than the rate at which jobs arrive.

    Answer

    spooling

    Explanation

    The notes describe spooling as preparing data between jobs in advance.

  33. 33
    When several print jobs arrive faster than a printer can handle them, storing the jobs in an area for the printer is an example of
    _____
    .
    Hint

    This technique queues work for a slower device.

    Answer

    spooling

    Explanation

    Print spooling stores print jobs so the printer can process them at its own pace.

  34. 34
    The two distinct operating modes described for CPU work are user mode and
    _____
    mode.
    Hint

    This mode is associated with the operating-system core and greater hardware access.

    Answer

    kernel

    Explanation

    The content distinguishes user mode from kernel mode.

  35. 35
    When the CPU is in user mode, it performs only
    _____
    mode work.
    Hint

    The CPU carries out work associated with the mode it is currently in.

    Answer

    user

    Explanation

    The content says that the CPU performs user-mode work while it is in user mode.

  36. 36
    An interrupt generated by software rather than hardware is a
    _____
    interrupt.
    Hint

    This type of interrupt is generated by software or the operating system itself.

    Answer

    software

    Explanation

    A software interrupt is generated by software, rather than by hardware.

  37. 37
    An interrupt sent by a hardware component to notify the operating system of a problem is a
    _____
    interrupt.
    Hint

    The source of this interrupt is a physical device or component.

    Answer

    hardware

    Explanation

    A hardware interrupt comes from hardware, such as the RAM problem used in the example.

  38. 38
    An interrupt can notify the operating system about an event so it can stop or change the current
    _____
    .
    Hint

    This refers to the work currently being carried out.

    Answer

    execution

    Explanation

    The content describes interrupts as a way to notify the operating system and, when needed, stop current execution.

  39. 39
    When a user enters the MKdir command, the work begins in
    _____
    mode.
    Hint

    The user types the command before the operating system handles the file operation.

    Answer

    user

    Explanation

    The command is entered in user mode before the request is handled by the kernel.

  40. 40
    When the operating system handles a request to create a directory, it switches to kernel mode and invokes the
    _____
    management function.
    Hint

    This function is responsible for file and directory operations.

    Answer

    file

    Explanation

    Creating a directory is handled by file management in kernel mode.

  41. 41
    After the kernel finishes the requested operation, execution returns to
    _____
    mode.
    Hint

    This is the mode in which the user originally entered the command.

    Answer

    user

    Explanation

    The example describes the kernel completing the work and returning to user mode with feedback.

  42. 42
    A monolithic kernel places all four major operating-system functions in the
    _____
    .
    Hint

    In this design, the functions are centralized rather than divided between this space and user space.

    Answer

    kernel

    Explanation

    A monolithic kernel places process, memory, file, and I/O management in the kernel.

  43. 43
    The four major functions placed in the monolithic kernel are process, memory, file, and
    _____
    management.
    Hint

    This function handles input, output, and devices.

    Answer

    I/O

    Explanation

    The four functions named are process management, memory management, file management, and I/O management.

  44. 44
    Compared with the other kernel types discussed, the monolithic kernel is described as the
    _____
    kernel type.
    Hint

    This refers to its historical position among the types discussed.

    Answer

    oldest

    Explanation

    The content identifies the monolithic kernel as the oldest kernel type.

  45. 45
    Because monolithic kernel functions are together, communication between the components is highly
    _____
    .
    Hint

    This is an advantage of placing the functions in one centralized kernel.

    Answer

    efficient

    Explanation

    The content says communication between monolithic-kernel components is very efficient because they are together.

  46. 46
    A disadvantage of placing all the functions in one kernel is that the kernel becomes
    _____
    .
    Hint

    This describes a design that is large and contains many functions.

    Answer

    bulky

    Explanation

    The content identifies the monolithic kernel's size and concentration of functions as making it bulky.

  47. 47
    A monolithic kernel is less reliable because a failure in one interconnected component can stop the
    _____
    kernel.
    Hint

    The failure can affect the entire system rather than only one isolated function.

    Answer

    whole

    Explanation

    The content explains that interconnected components can cause the whole kernel to stop working if one fails.

  48. 48
    Linux, Unix, and MS DOS are given as examples of operating systems using a
    _____
    kernel.
    Hint

    This kernel type keeps all four major functions in the kernel.

    Answer

    monolithic

    Explanation

    The content lists Linux, Unix, and MS DOS as monolithic-kernel examples.

  49. 49
    A microkernel keeps the core functions, including process and
    _____
    management, in the kernel.
    Hint

    This core function manages RAM allocation and related tasks.

    Answer

    memory

    Explanation

    The content identifies process management and memory management as core microkernel functions kept in the kernel.

  50. 50
    In the microkernel example, file management and
    _____
    management are placed in user space.
    Hint

    This function handles devices and input/output operations.

    Answer

    I/O

    Explanation

    The content places file management and I/O management in user space for its microkernel diagram.

  51. 51
    Compared with a monolithic kernel, a microkernel is described as less
    _____
    .
    Hint

    Moving some functions out of the kernel reduces its size.

    Answer

    bulky

    Explanation

    The microkernel design keeps fewer functions in the kernel, so it is described as less bulky.

  52. 52
    Moving some functions to user space can make a microkernel more reliable and more
    _____
    .
    Hint

    This word describes a system that continues functioning dependably.

    Answer

    stable

    Explanation

    The content describes the microkernel as more reliable and stable because a problem in user-space file or I/O management need not stop the kernel.

  53. 53
    If file or I/O management fails in the described microkernel design, the kernel can continue working because its main functions remain in the
    _____
    .
    Hint

    Process and memory management are kept in this protected part of the design.

    Answer

    kernel

    Explanation

    The content argues that the kernel can remain operational when file or I/O management in user space crashes.

  54. 54
    A key disadvantage of microkernels is lower
    _____
    .
    Hint

    This refers to how quickly or efficiently the system operates.

    Answer

    performance

    Explanation

    The content says that microkernel performance is reduced by the repeated switching between user and kernel modes.

  55. 55
    Repeated switching between user and kernel modes adds an
    _____
    that can reduce microkernel performance.
    Hint

    This is the extra cost incurred by repeated operations or transitions.

    Answer

    overhead

    Explanation

    Each mode switch takes time, adding overhead and reducing performance.

  56. 56
    L4 Linux, Symbian OS, and MINIX are listed as examples of
    _____
    kernels.
    Hint

    This design keeps core functions in the kernel and moves other functions to user space.

    Answer

    micro

    Explanation

    The content lists L4 Linux, Symbian OS, and MINIX as microkernel examples.

  57. 57
    A hybrid kernel combines features of
    _____
    and microkernels.
    Hint

    It takes advantages from both of the other kernel designs discussed.

    Answer

    monolithic kernels

    Explanation

    The content defines a hybrid kernel as a combined approach that takes advantages from monolithic and microkernels.

  58. 58
    In the hybrid design described, process, memory, and I/O management remain in the kernel, while
    _____
    management is in user space.
    Hint

    This function organizes files and directories.

    Answer

    file

    Explanation

    The hybrid design keeps file management in user space and process, memory, and I/O management in the kernel.

  59. 59
    Keeping file management in user space while other functions remain in the kernel reduces mode-switching
    _____
    compared with the microkernel arrangement described.
    Hint

    This is the added cost of repeatedly crossing between user and kernel modes.

    Answer

    overhead

    Explanation

    The content says the hybrid arrangement reduces switching overhead because fewer functions are placed in user space.

  60. 60
    The reduction in switching overhead in a hybrid kernel is expected to increase its
    _____
    .
    Hint

    This is the performance benefit associated with fewer costly transitions.

    Answer

    speed

    Explanation

    The content connects reduced overhead with increased speed.

  61. 61
    The hybrid approach is presented as combining the speed and design of monolithic kernels with the modularity and
    _____
    of microkernels.
    Hint

    This is a quality associated with dependable operation.

    Answer

    stability

    Explanation

    The notes describe the hybrid approach as using monolithic speed and design together with microkernel modularity and stability.

  62. 62
    In the described hybrid design, failure of I/O management can cause the
    _____
    to fail as well.
    Hint

    I/O management is kept inside this part of the hybrid design.

    Answer

    kernel

    Explanation

    Because I/O management remains in the kernel in the described hybrid layout, the content says its failure can cause the kernel to fail.

  63. 63
    Mac OS and Windows NT/7/10 are given as examples of operating systems using a
    _____
    kernel approach.
    Hint

    This approach combines features of monolithic and microkernels.

    Answer

    hybrid

    Explanation

    The content lists Mac OS and Windows NT, Windows 7, and Windows 10 as examples of the hybrid approach.

  64. 64
    The method for communication between processes is abbreviated
    _____
    .
    Hint

    The abbreviation expands to Interprocess-communication.

    Answer

    IPC

    Explanation

    IPC is the method the content identifies for communication between processes.

  65. 65
    IPC stands for
    _____
    .
    Hint

    It names communication taking place between separate processes.

    Answer

    Interprocess-communication

    Explanation

    The content expands IPC as Interprocess-communication.

  66. 66
    The two IPC methods named in the content are shared memory and
    _____
    .
    Hint

    One method uses a common memory area; the other sends information through a communication channel.

    Answer

    message passing

    Explanation

    The content identifies shared memory and message passing as the two ways to perform IPC.

  67. 67
    In the shared-memory method, one process writes data to a memory area that the other process can later
    _____
    .
    Hint

    The receiving process retrieves the data from the common memory space.

    Answer

    read

    Explanation

    With shared memory, one process writes data into the shared area and the other reads it.

  68. 68
    In message passing, processes communicate through a channel or
    _____
    established between them.
    Hint

    This is a conduit through which information can be sent.

    Answer

    pipe

    Explanation

    The content describes message passing as establishing a direct pipe or channel between processes.

  69. 69
    The operating system provides system calls that can be used for message
    _____
    .
    Hint

    This is the IPC method that sends information through a channel.

    Answer

    passing

    Explanation

    The content says message passing uses operating-system-provided methods, including system calls.

  70. 70
    Communication between a process in user space and a process in kernel space can be established through
    _____
    .
    Hint

    This method supports communication between separate processes.

    Answer

    IPC

    Explanation

    The content states that communication between processes running in user and kernel space can occur through interprocess communication.

1 of 70
Question 1 of 70

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent