Operating Systems Fundamentals
- 57Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
57 questions
- 1At 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.
- 2Transistors 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.
- 3Examples 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.
- 4Basic 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.
- 5The 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.
- 6The 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.
- 7Office 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.
- 8One 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.
- 9In 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.
- 10Processor 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.
- 11After 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.
- 12Along 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.
- 13The 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.
- 14A 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.
- 15The_____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.
- 16The 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.
- 17An 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.
- 18The 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.
- 19The 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.
- 20With 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.
- 21The 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.
- 22Resource 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.
- 23Examples 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.
- 24The 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.
- 25A 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.
- 26The 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.
- 27In 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.
- 28The 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.
- 29Although 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.
- 30To 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.
- 31Applications 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.
- 32The 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.
- 33In 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.
- 34In 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.
- 35Without 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.
- 36Besides 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.
- 37Because 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.
- 38Different 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.
- 39Contiki 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.
- 40Wireless 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.
- 41Contiki 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.
- 42Examples 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.
- 43A 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.
- 44Mobile 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.
- 45RTOS 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.
- 46Examples 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.
- 47A 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.
- 48Examples 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.
- 49Examples 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.
- 50A 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.
- 51Examples 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.
- 52Examples 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.
- 53The 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.
- 54The 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.
- 55xv6 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.
- 56The 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.
- 57Studying 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.

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