1. Home
  2. Explore
  3. Computer Science
  4. Operating Systems Fundamentals

Study methods

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

Operating Systems Fundamentals

  • 57Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Computer System Layers
At the lowest layer of the computer system are millions or billions of
transistors.

57 questions

  1. 1
    At the lowest layer of the computer system are millions or billions of
    _____
    transistors.
    Hint

    Think of the semiconductor components at the lowest level of the computer system.

    Answer

    CMOS transistors

    Explanation

    The computer system's lowest described layer consists of millions or billions of transistors, typically CMOS transistors.

  2. 2
    Transistors are composed together to build
    _____
    such as AND, OR, and XOR gates.
    Hint

    These digital building blocks perform operations on signals.

    Answer

    logical gates

    Explanation

    Transistors are combined to construct digital logical gates.

  3. 3
    Examples of basic VLSI units include
    _____
    , as well as logical gates.
    Hint

    Recall the storage-oriented components listed with the gates.

    Answer

    memory cells, flip flops, and registers

    Explanation

    These are examples of basic VLSI units found alongside digital logic gates.

  4. 4
    Basic VLSI units are organized into structures such as
    _____
    .
    Hint

    Think of larger memory structures and processor units built from low-level components.

    Answer

    Memory, RAM, the Decode unit, and the Instruction fetch unit

    Explanation

    Basic VLSI units are organized into larger structures and functional units, including these examples.

  5. 5
    The organization of components such as memory and the instruction fetch unit is the computer's physical
    _____
    .
    Hint

    This is the physical layer that a person purchases as computer equipment.

    Answer

    Hardware

    Explanation

    The organization of memory and functional units forms the physical hardware of the computer.

  6. 6
    The software layer positioned between applications and hardware is the
    _____
    .
    Hint

    This software layer mediates between programs and physical devices.

    Answer

    Operating System

    Explanation

    The operating system sits between applications and hardware, managing applications and the use of system resources.

  7. 7
    Office software and internet browsers are examples of
    _____
    that execute on a computer.
    Hint

    These are programs people use to perform tasks, such as browsing the internet.

    Answer

    Applications

    Explanation

    Applications such as office software and web browsers run on the computer system above the operating system and hardware.

  8. 8
    One of the two broad roles of an operating system is to provide
    _____
    .
    Hint

    One of the OS's main roles makes physical devices easier for software to use.

    Answer

    Hardware Abstraction

    Explanation

    The operating system provides hardware abstraction and manages system resources; these are its two broad roles in the lecture.

  9. 9
    In the Hello World example, the string is stored in Main Memory, also called
    _____
    .
    Hint

    This is the computer's main working memory, not its secondary storage.

    Answer

    RAM

    Explanation

    The example string is stored in a location in Main Memory, which is also called RAM.

  10. 10
    Processor instructions read the string byte by byte from Main Memory into
    _____
    .
    Hint

    These small storage locations are inside the processor and receive the bytes during processing.

    Answer

    Registers

    Explanation

    Processor instructions read the string byte by byte from Main Memory into registers before copying it to the video buffer.

  11. 11
    After the processor reads the string, it copies it to the
    _____
    .
    Hint

    This buffer contains the information that the graphics card uses to draw the display.

    Answer

    Video Buffer

    Explanation

    The string and its display information are copied to the Video Buffer, which is then read by the graphics card.

  12. 12
    Along with the text, the Video Buffer can contain display attributes such as
    _____
    .
    Hint

    These describe how the text should look and where it should appear.

    Answer

    color, x y coordinates, and depth

    Explanation

    The Video Buffer contains display attributes in addition to the string, including its color, screen position, and depth.

  13. 13
    The component that reads the Video Buffer and displays its contents on the monitor is the
    _____
    .
    Hint

    This component processes display information before it reaches the screen.

    Answer

    Graphics Card

    Explanation

    The graphics card reads the string and its attributes from the Video Buffer and displays them on the monitor.

  14. 14
    A printf statement eventually invokes a
    _____
    that triggers the operating system to execute.
    Hint

    This is the interface through which an application requests a service from the OS.

    Answer

    system call

    Explanation

    A call such as printf eventually resides in a system call, which triggers the operating system to perform the work.

  15. 15
    The
    _____
    internally manages display details such as color and screen coordinates.
    Hint

    This software layer hides the device details from the application.

    Answer

    Operating System

    Explanation

    The OS handles the hardware-specific work needed to display the string, such as setting color and coordinates.

  16. 16
    The OS makes programming simpler by providing
    _____
    that hides hardware details from applications.
    Hint

    Think of the OS hiding the complexity of physical devices behind a simpler interface.

    Answer

    hardware abstraction

    Explanation

    By abstracting hardware details, the OS lets programmers use a simple interface without managing each device's technical details.

  17. 17
    An advantage of having applications use OS services is
    _____
    .
    Hint

    This advantage means programs can share a service implemented by the operating system.

    Answer

    Reusable functionality

    Explanation

    Applications can reuse OS services rather than each implementing the complex hardware communication themselves.

  18. 18
    The operating system uses a
    _____
    to handle printf requests from all applications.
    Hint

    Rather than every program communicating with the hardware independently, one shared part of the OS handles the service.

    Answer

    single module

    Explanation

    The lecture describes one OS module as handling printf requests from all applications on the system.

  19. 19
    The ability for an application to remain unchanged as the underlying hardware changes is called
    _____
    .
    Hint

    This advantage describes software's ability to work across different kinds of devices.

    Answer

    Portability

    Explanation

    Because the OS handles hardware differences, an application can remain unchanged when it runs on different hardware, if compiled appropriately where needed.

  20. 20
    With suitable compilation where needed, a portable program may run on a
    _____
    , among other platforms.
    Hint

    Recall the different kinds of computers named as possible targets for the same program.

    Answer

    Desktop, Server, Laptop, and embedded devices

    Explanation

    The lecture gives these as examples of platforms on which a program using a statement such as printf may run, with appropriate compilation where needed.

  21. 21
    The second broad role of an operating system is
    _____
    .
    Hint

    This OS role determines how computer components are shared and used.

    Answer

    Resource Management

    Explanation

    The operating system's second broad role is to manage the limited resources of the computer system.

  22. 22
    Resource management allows
    _____
    even when the system has limited hardware.
    Hint

    The OS addresses the problem of many programs needing access to a limited set of devices.

    Answer

    multiple applications to share the same hardware

    Explanation

    The OS makes it feasible for several applications to use the same constrained hardware, often at nearly the same time.

  23. 23
    Examples of resources managed by an operating system include
    _____
    .
    Hint

    Consider the processor, working memory, connectivity, storage, and display hardware.

    Answer

    CPU, memory, network, secondary storage devices, and monitors

    Explanation

    These are among the computer components that the operating system manages and shares among applications.

  24. 24
    The quantity of computer resources such as CPUs and memory is typically
    _____
    .
    Hint

    The opposite of unlimited describes the available quantity of computer resources.

    Answer

    restricted

    Explanation

    The system has limited quantities of resources, such as a small number of CPUs and a finite amount of memory.

  25. 25
    A resource manager is designed to ensure that each system component is
    _____
    .
    Hint

    The OS aims to make good use of the limited components available.

    Answer

    adequately utilized

    Explanation

    The OS is designed to share system components among applications so that each component is used appropriately.

  26. 26
    The OS manages CPU
    _____
    by deciding how applications execute on the processor.
    Hint

    This OS activity determines which application gets to use the CPU and when.

    Answer

    scheduling

    Explanation

    The operating system manages the scheduling of applications on the processor.

  27. 27
    In the older sequential CPU scheme, Application 2 started only after
    _____
    .
    Hint

    The next program waited for the current one to finish entirely.

    Answer

    Application 1 completes its execution

    Explanation

    In the earlier sequential approach, Application 2 would not start until Application 1 had finished.

  28. 28
    The older approach of running one application to completion before the next was
    _____
    in the operating system.
    Hint

    The lecture notes that this approach had an implementation advantage despite its performance drawback.

    Answer

    simple to implement

    Explanation

    Allowing one application to run to completion before starting another was described as simple to implement, though inefficient.

  29. 29
    Although simple, running each application to completion before starting another was
    _____
    .
    Hint

    The scheme's simplicity came at the cost of effective processor use.

    Answer

    not the most efficient

    Explanation

    Sequentially executing applications one after another was considered inefficient compared with more effective ways of using the processor.

  30. 30
    To execute, each application needs to be present in the system's
    _____
    .
    Hint

    This is the limited working memory that holds programs while they run.

    Answer

    Main Memory

    Explanation

    Each application must be present in the system's RAM, or Main Memory, in order to execute.

  31. 31
    Applications should be
    _____
    from each other even while sharing limited hardware resources.
    Hint

    This describes separation between programs that share one computer.

    Answer

    isolated

    Explanation

    The OS must share resources while keeping applications from accessing or observing one another's activity.

  32. 32
    The OS should ensure that each application runs in a
    _____
    .
    Hint

    This is a contained environment that limits an application's access to others.

    Answer

    sandboxed environment

    Explanation

    The lecture describes each application as running in a sandboxed environment so it does not know about other applications.

  33. 33
    In the security example, the web browser used for a banking transaction is
    _____
    .
    Hint

    Identify the application in which the user enters banking credentials.

    Answer

    Application 1

    Explanation

    In the example, the web browser performing a banking transaction is Application 1, and it contains sensitive information.

  34. 34
    In the security example, the potentially malicious gaming software is
    _____
    .
    Hint

    This is the gaming software that may attempt to inspect another program.

    Answer

    Application 2

    Explanation

    Application 2 is the game assumed to contain a virus and act maliciously.

  35. 35
    Without application isolation, a malicious program could steal sensitive details such as
    _____
    .
    Hint

    These are two examples of private banking details that must be protected.

    Answer

    passwords and credit card numbers

    Explanation

    Without isolation, a malicious application could observe the browser and steal sensitive information such as passwords and credit card numbers.

  36. 36
    Besides sharing resources, the OS must
    _____
    while they run on the same system.
    Hint

    The OS must preserve separation, not just distribute resources.

    Answer

    protect applications from each other

    Explanation

    Resource sharing must be arranged so that programs are isolated and one cannot access another's activity or information.

  37. 37
    Because almost every smart device contains an operating system, operating systems are described as
    _____
    .
    Hint

    This word means present or found almost everywhere.

    Answer

    ubiquitous

    Explanation

    Operating systems are found in almost every smart device used today, so they are described as ubiquitous.

  38. 38
    Different operating system classes are designed with the intended
    _____
    in mind.
    Hint

    The intended use of a system guides how its OS is designed.

    Answer

    application

    Explanation

    Operating system classes are designed with the type of application they are intended to support in mind.

  39. 39
    Contiki OS is designed for
    _____
    such as wireless sensor nodes.
    Hint

    These environments have less working memory available than general-purpose computers.

    Answer

    memory constrained environments

    Explanation

    Contiki OS is designed for devices such as wireless sensor nodes, which have limited memory.

  40. 40
    Wireless sensor nodes are used in the
    _____
    .
    Hint

    This term describes networks of connected everyday devices and sensors.

    Answer

    Internet of Things

    Explanation

    Wireless sensor nodes used in the Internet of Things are an example of devices that may run an embedded OS such as Contiki.

  41. 41
    Contiki OS manages resources and abstracts hardware with the goal of minimizing
    _____
    .
    Hint

    Reducing this is particularly important for constrained devices and sensors.

    Answer

    power consumption

    Explanation

    Embedded operating systems such as Contiki are designed to keep the system's power use to a minimum.

  42. 42
    Examples of mobile operating systems include
    _____
    .
    Hint

    Recall the listed operating systems designed for mobile devices.

    Answer

    Android, iOS, Ubuntu Touch, and Windows Touch

    Explanation

    These are examples of mobile operating systems named in the lecture.

  43. 43
    A mobile OS aims to maximize the time a device can operate on its
    _____
    .
    Hint

    This is the stored energy that lets a phone operate away from a charger.

    Answer

    battery charge

    Explanation

    Mobile operating systems are designed to extend how long a phone's battery charge lasts by limiting power consumption.

  44. 44
    Mobile OSs support
    _____
    through devices such as LCD screens and keypads, which is typically absent in embedded OSs.
    Hint

    Mobile users interact directly with the device through input and display components.

    Answer

    user interaction

    Explanation

    Unlike embedded operating systems, mobile operating systems must handle user interaction through devices such as screens and keypads.

  45. 45
    RTOS is short for
    _____
    .
    Hint

    Expand the letters RTOS into the system class's full name.

    Answer

    Real Time Operating Systems

    Explanation

    RTOS stands for Real Time Operating Systems, which are used when completing operations on time is critical.

  46. 46
    Examples of real-time operating systems include
    _____
    .
    Hint

    These are three named systems used for time-critical computing.

    Answer

    QNX, VxWorks, and RT Linux

    Explanation

    The lecture lists these as examples of real-time operating systems.

  47. 47
    A critical operation in an RTOS is designed to be
    _____
    .
    Hint

    A real-time system must satisfy a deadline reliably.

    Answer

    guaranteed to complete within the specified time

    Explanation

    An RTOS is designed so that every critical operation completes by its specified time, rather than merely running quickly on average.

  48. 48
    Examples of machine-critical applications for RTOSs include
    _____
    .
    Hint

    These applications involve systems in which a late operation may have severe consequences.

    Answer

    rockets, automobiles, or nuclear plants

    Explanation

    These are examples of machine-critical settings where a delay can have catastrophic consequences.

  49. 49
    Examples of operating systems designed for secure environments include
    _____
    .
    Hint

    Recall the two security-focused OS names given in the lecture.

    Answer

    SeLinux and SeL4

    Explanation

    These are examples of operating systems used in secure environments where security is especially important.

  50. 50
    A web server hosting
    _____
    is an example of a system where security is especially critical.
    Hint

    This is sensitive software that may be hosted on a web server.

    Answer

    banking software

    Explanation

    The lecture gives web servers hosting banking software as an example of a setting where security is extremely critical.

  51. 51
    Examples of server operating systems include
    _____
    .
    Hint

    These examples include two Linux distributions and a Microsoft server OS.

    Answer

    Redhat, Ubuntu, and Windows Server

    Explanation

    These are examples of operating systems for servers named in the lecture.

  52. 52
    Examples of desktop operating systems include
    _____
    .
    Hint

    These systems are listed as desktop OS examples rather than mobile or embedded systems.

    Answer

    Mac, Windows, and Ubuntu

    Explanation

    These are examples of desktop operating systems named in the lecture.

  53. 53
    The operating system selected for teaching in the course is
    _____
    .
    Hint

    This small teaching OS is modeled after an older UNIX version.

    Answer

    xv6

    Explanation

    The operating system studied in the course is xv6, which was designed by MIT for teaching purposes.

  54. 54
    The teaching operating system xv6 was designed by
    _____
    .
    Hint

    This institution created the teaching operating system discussed in the lecture.

    Answer

    MIT

    Explanation

    MIT designed xv6 specifically for teaching purposes.

  55. 55
    xv6 is useful for teaching because it is
    _____
    , and it is also easy to understand.
    Hint

    The lecture identifies three qualities that help students study its design.

    Answer

    small, well documented, and easy to understand

    Explanation

    These qualities make xv6 suitable for teaching operating system concepts.

  56. 56
    The xv6 design is intended to look similar to
    _____
    .
    Hint

    This is the historical UNIX version whose design xv6 resembles.

    Answer

    UNIX version 6

    Explanation

    xv6 is designed to resemble UNIX version 6, making it a compact way to study UNIX-like operating-system design.

  57. 57
    Studying xv6 can provide insight into modern operating systems such as
    _____
    .
    Hint

    This modern operating system is named as an example of a system students can better understand through xv6.

    Answer

    Linux

    Explanation

    Because xv6 resembles UNIX version 6 and demonstrates how UNIX-like systems work, understanding it provides insight into modern systems such as Linux.

1 of 57
Question 1 of 57

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent