Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
23 Cards in this Set
- Front
- Back
List the Operating System Service (Functions that are helpful to user)
|
User Interface
Program Execution I/O operations File-Systems Communications Error Detection |
|
List the Operating System Service (ensuring efficent operation of the system)
|
Resource Allocation
Accounting Protection Security |
|
User Interface Forms
|
CLI
GUI Batch |
|
Program Execution
|
x
|
|
I/O operations Examples
|
Outputting to a display, reading from a DVD player.
|
|
File-system manipulation
|
x
|
|
Communications
|
x
|
|
Error detection
|
OS needs to be constantly aware of possible errors
|
|
Resource allocation
|
x
|
|
AccountingProtection and security
|
The owners of information stored in a multiuser or networked computer system may want to control use of that information. Process should not interfere with others when several separate processes execute concurrently.
|
|
Protection
|
Protection involves ensuring that all access to system resources is controlled.
|
|
Security
|
Security of the system from outsiders requires user authentication, extends to defending external I/O devices from invalid access attempts.
|
|
Command Line Interface
|
Command Line Interface (CLI) or command interpreter allows users to directly enter commands
|
|
Main function of the command interpreter
|
Get and execute the next user-specified command
|
|
How are CLI commands typically implimented
|
As system programs, for example "ls" is a program
Example: UNIX command to delete file rm file.txt |
|
Programmer can add new commands to the system by creating new files, show an example
|
zip utility
|
|
System Calls
|
Provide an interface to the services made available by OS
|
|
Application Programming Interface (API)
|
API specifies a set of functions that are available to an application programmer, including the parameters that are passed to each function and the return values
That is, program via a high-level API rather than direct system call |
|
Three most common APIs are:
|
Win32 API for Windows systems,
POSIX API for POSIX-based systems (including virtually all versions of UNIX, Linux, and Mac OS X), and Java API for the Java virtual machine (JVM) |
|
What does an API function Typically do?
|
The function that make up an API typically invoke the actual system calls on behalf of the application programmer
|
|
Why use APIs rather than system calls?
|
API abstracts the system calls. Making it easier to implement.
|
|
System-call interface
|
System-call interface maintains a table indexed according to these numbers
|
|
Types of System Calls
Can be grouped into five major categories: |
Process control
File management Device management Information maintenance Communications |