Review Questions
1
.
What is a privileged instruction that can only be executed by the kernel in Windows 10 or macOS operating systems?
-
opening a text file
-
modifying system clock settings
-
printing a document
-
creating a new user directory
2
.
You are building your own computer and have finished installing all hardware components. What should you install first?
-
Microsoft Office
-
Microsoft Windows OS
-
external I/O device drivers
-
antivirus software
3
.
What process or component allows a system to run different types of applications used by multiple users at a time on the same computer?
-
virtualization
-
kernel
-
operating system
-
thread
4
.
How is efficiency defined with regard to operating systems?
5
.
What is virtualization as it relates to OSs?
6
.
Who sets policies in OSs?
7
.
What is the difference between user mode and kernel mode?
8
.
What component handles devices and provides buffering?
-
device driver
-
device register
-
device manager
-
I/O devices
9
.
How can a monolithic OS design be described?
-
an OS architecture where the entire OS is working in kernel space
-
OS architecture where the functionality and capabilities are added to a minimal core OS as plug-ins
-
an example of layering in modern operating systems
-
a computer memory design where memory access time varies depending on the memory’s location relative to a processor
10
.
What type of memory access is described as computer memory architecture where access time to any memory location is the same across all processors.?
-
cache-only memory architecture (COMA)
-
non-uniform memory access (NUMA)
-
uniform memory access (UMA)
-
random access memory (RAM)
11
.
What are the main components of any operating system?
12
.
What are the differences between thread and process?
13
.
What does the hardware abstraction layer (HAL) refer to?
14
.
What scheduling algorithm prioritizes processes based on the shortest amount of remaining execution time?
-
first come, first served (FCFS)
-
round-robin (RR)
-
shortest remaining processing time (SRPT)
-
priority scheduling
15
.
What is synchronization?
-
the way of coordinating multiple concurrent activities that are using a shared state
-
computing model that improves the performance when multiple processors execute instructions simultaneously
-
the memory that can be accessed by multiple processes and the processes that can communicate with each other without the middleman
-
the data communication method between two processes, using a specific name and standard I/O operations, allowing for data transfer within a file system
16
.
What is an example of static data?
-
a variable to keep track of the number of iterations in a loop in a program
-
the date and time in the operating system
-
the name of a file in a directory
-
a hardcoded country code in a program that is created with the final keyword
17
.
How are processes managed by the OS conceptually?
18
.
How are I/O devices managed by the OS conceptually?
19
.
Why is scheduling counted as an important operation in OSs?
20
.
What is the term for a technique where a process's memory is divided into various segments or sections, each representing different types of data or code?
-
time slicing
-
paging
-
isolation
-
segmentation
21
.
Stack allocation uses what data processing technique?
-
last in/last out
-
first in/first out
-
first in/last out
-
last in/first out
22
.
How does a linker work?
23
.
What is the difference between static and dynamic linking?
24
.
How does caching relate to virtual memory?
25
.
What component is responsible for defining file names, storing files to a storage device, and retrieving files from a storage device?
-
file system
-
file versioning
-
file
-
file path
26
.
What is a directory?
-
persistent memory that survives power failures most of the time, such as spinning disks, SSDs, and USB drives
-
a collection of related information that is stored on secondary/virtual storage and is the smallest storage unit from the user’s perspective
-
a system that allows a file to exist in several versions at the same time, which gives the user complete control over file creation
-
a set of files that contains all the required information about the files, such as attributes, location, and ownership, which is managed by the OS
27
.
What is a distributed file system?
28
.
What is an inode?
29
.
Define the file system interface.
30
.
What is the term for the operating system that is virtualized?
-
guest operating system
-
host operating system
-
default operating system
-
dual boot operating system
31
.
What is the term for checking to see if a user's credentials match the credentials in a database of authorized users or in a data authentication server?
-
authorization
-
access enforcement
-
authentication
-
badge