What do operating systems provide to both programs and users?
A series of services.
One set of operating-system services provide functions that are helpful to the _____.
user
What type of interface do almost all operating systems have?
A user interface (UI).
User interfaces vary between Command-Line (CLI), Graphical (GUI), and _____.
touch screen
Which OS service is responsible for loading a program into memory and running that program?
Program execution.
The OS service for program execution must be able to end execution either normally or _____ (indicating an error).
abnormally
A running program may require _____, which can involve a file or an I/O device.
I/O operations
Which OS service allows programs to read, write, create, and delete files and directories?
File-system manipulation.
Besides creating/deleting files, what other tasks are part of file-system manipulation?
Searching files,
Listing file information,
Managing permissions.
What OS service enables processes to exchange information, either on the same computer or over a network?
Communications.
The OS needs to be constantly aware of possible errors as part of which service?
Error detection.
In what three areas might errors occur that an OS needs to detect?
In the CPU and memory hardware, in I/O devices, or in a user program.
For each type of error detected, what should the OS do?
Take the appropriate action to ensure correct and consistent computing.
Another set of OS functions exists specifically to ensure the _____ of the system itself.
efficient operation
What OS service must allocate resources when multiple users or jobs are running concurrently?
Resource allocation.
What are four types of resources that an operating system’s resource allocation service manages?
CPU cycles,
main memory,
file storage,
I/O devices.
What is the purpose of the OS service known as ‘Accounting’ or ‘Logging’?
To keep track of which users use how many and what kinds of computer resources.
Which OS service allows owners of information in a multiuser system to control the use of that information?
Protection and security.
A Command-Line Interface (CLI) is also known as a _____.
command interpreter
What is the primary function of a CLI (Command-Line Interface)?
It fetches a command from the user and executes it.
What are the two types of commands that can be used in a CLI?
Built-in commands and external commands.
What defines a ‘built-in’ command in a CLI?
The command is part of the CLI program itself.
What defines an ‘external’ command in a CLI?
The command corresponds to an independent program.
In a Unix/Linux shell, what command checks if another command is built-in or external?
The type command.