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

Study methods

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

Operating System Basics

  • 36Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: OS Basics
The software that manages computer hardware and provides a user interface is called an
.

36 questions

  1. 1
    The software that manages computer hardware and provides a user interface is called an
    _____
    .
    Hint

    Think of the layer that controls all the 'behind the scenes' activity to make your computer usable.

    Answer

    operating system

  2. 2
    In early computing, the
    _____
    system meant the programmer and user were the same person, programming by flipping switches on a console.
    Hint

    This system was like a 'self-service' model where users had sole access to the machine.

    Answer

    open shop

  3. 3
    The IBM 701 used 15-minute slots to manage demand, but approximately
    _____
    minutes of each slot was spent on setup and output handling.
    Hint

    Only a third of the time was actual computation.

    Answer

    10

  4. 4
    To handle slow I/O, the computer saves the state of one process and loads another; this mechanism is called a
    _____
    .
    Hint

    It allows the CPU to multitask efficiently by swapping processes.

    Answer

    context switch

  5. 5
    A signal that tells the CPU to stop its current work and handle an urgent event is called an
    _____
    .
    Hint

    Think of it as a 'tap on the shoulder' from hardware or software.

    Answer

    interrupt

  6. 6
    During a context switch, the state of a process is saved into a
    _____
    .
    Hint

    This data structure holds all information needed to resume a process later.

    Answer

    program control block

  7. 7
    The time taken to perform a context switch is called
    _____
    and designers aim to minimize it.
    Hint

    This delay is labeled Delta T in the lecture diagram.

    Answer

    process switch latency

  8. 8
    A lightweight process that does not require saving as much state is often called a
    _____
    .
    Hint

    It is a sub-process within a heavier process.

    Answer

    thread

  9. 9
    The memory area used to store contexts during nested interrupts or context switches is called the
    _____
    .
    Hint

    It grows and shrinks as tasks are interrupted and resumed.

    Answer

    stack

  10. 10
    Instructions that can only be executed by the operating system and not by user programs are called
    _____
    .
    Hint

    These are reserved for the 'super user' or kernel.

    Answer

    protected instructions

  11. 11
    The concept of
    _____
    in an operating system creates a hierarchy of users where some have more permissions than others.
    Hint

    It determines what actions a user or process can perform.

    Answer

    privilege

  12. 12
    An operating system feature that gives each user the illusion of exclusive access to memory is called
    _____
    .
    Hint

    It uses a combination of fast memory and slower storage to extend apparent memory.

    Answer

    virtual memory

  13. 13
    In virtual memory, memory is divided into fixed-size blocks called
    _____
    .
    Hint

    These blocks are mapped between physical memory and disk.

    Answer

    pages

  14. 14
    The
    _____
    maps virtual addresses to physical addresses in a paging system.
    Hint

    It acts as a translation dictionary for memory locations.

    Answer

    page table

  15. 15
    When a program accesses a page not currently in physical memory, a
    _____
    occurs, triggering the page to be loaded from disk.
    Hint

    This is an exception handled by the OS to bring the missing data into RAM.

    Answer

    page fault

  16. 16
    A small, fast memory area used to speed up access to data from slower memory (like disk) is called a
    _____
    .
    Hint

    It stores frequently used data to reduce access time.

    Answer

    cache

  17. 17
    When a computer spends more time swapping pages in and out of memory than doing actual work, it is said to be
    _____
    .
    Hint

    This performance problem occurs when the system is overloaded with paging.

    Answer

    thrashing

  18. 18
    The Unix operating system was developed at
    _____
    .
    Hint

    This research lab also contributed to many other computing innovations.

    Answer

    Bell Labs

  19. 19
    The core part of the Unix operating system that manages the CPU, memory, and scheduling is called the
    _____
    .
    Hint

    It is the innermost layer, like the kernel of a nut.

    Answer

    kernel

  20. 20
    In Unix, the command interpreter that allows users to interact with the system is known as the
    _____
    .
    Hint

    It is named with a single letter abbreviation in Unix.

    Answer

    shell

  21. 21
    Android is a mobile operating system that uses a modified version of the
    _____
    kernel.
    Hint

    This kernel is a Unix-like system originally written by Linus Torvalds.

    Answer

    Linux

  22. 22
    In a
    _____
    operating system, all kernel components run in privileged mode, making them tightly integrated.
    Hint

    This design contrasts with a microkernel approach.

    Answer

    monolithic

  23. 23
    A
    _____
    kernel runs only the essential functions in privileged mode, with other services as user-space processes.
    Hint

    This design follows the principle of least privilege.

    Answer

    micro

  24. 24
    The technique of adding library code to a program at compile time is called
    _____
    linking.
    Hint

    This makes the executable larger but self-contained.

    Answer

    static

  25. 25
    The technique of loading library code only when a program needs it during execution is called
    _____
    linking.
    Hint

    This uses shared libraries that can be updated independently.

    Answer

    dynamic

  26. 26
    The problem of incompatible versions of dynamically linked libraries causing system failures is known as
    _____
    .
    Hint

    It occurs when different programs require different versions of the same library.

    Answer

    DLL hell

  27. 27
    The component of an operating system that decides which processes get CPU time and for how long is the
    _____
    .
    Hint

    It uses algorithms like priority or round-robin.

    Answer

    scheduler

  28. 28
    A task that must complete within a fixed time constraint is called a
    _____
    task.
    Hint

    It is not just about speed, but meeting deadlines.

    Answer

    real time

  29. 29
    A situation where two or more processes access shared data concurrently and the outcome depends on the order of access is called a
    _____
    .
    Hint

    It leads to unpredictable results when processes 'race' to read/write data.

    Answer

    race condition

  30. 30
    A scenario where a low-priority task holds a resource needed by a high-priority task, causing the high-priority task to be delayed, is called
    _____
    .
    Hint

    This can lead to system deadlock if a medium-priority task preempts the low-priority one.

    Answer

    priority inversion

  31. 31
    The paradigm of delivering computing resources over the internet is called
    _____
    computing.
    Hint

    It involves remote servers instead of local machines.

    Answer

    cloud

  32. 32
    A cloud service model where the provider delivers everything from applications to infrastructure is called
    _____
    .
    Hint

    Example: Google Docs, where users just use the software without managing servers.

    Answer

    software as a service

  33. 33
    A cloud service model where users rent virtual servers and have control over the operating system and applications is called
    _____
    .
    Hint

    This is a 'raw compute' model like Amazon EC2.

    Answer

    infrastructure as a service

  34. 34
    A cloud service model that provides platforms for developers to build and deploy applications without managing underlying infrastructure is called
    _____
    .
    Hint

    Example: Microsoft Azure or AWS Elastic Beanstalk.

    Answer

    platform as a service

  35. 35
    The software that manages and runs multiple virtual machines on a single physical host is called a
    _____
    .
    Hint

    It can be thought of as an 'operating system for operating systems'.

    Answer

    hypervisor

  36. 36
    A fatal error in the kernel that forces the system to stop and display an error message is known as a
    _____
    .
    Hint

    It is often accompanied by an on-screen message and may lead to data loss.

    Answer

    kernel panic

1 of 36
Question 1 of 36

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent