Chapter "2" Flashcards
- Describe the services an operating system - Various ways of structuring an operating system - How operating systems are installed and customized and how they boot
What are the operating-system services that are helpful to the user ?
1.User interface
2.Program execution
3.I/O operations
4.File-system manipulation
5.Communications
6.Error detection
What are the different user interfaces?
1.Command-Line Interface (CLI)
2.Batch
3.Graphics
User Interface (GUI)
Operating systems provide an environment for ………..
of programs and ……… to programs and users
execution, services
Another set of OS functions exists for ensuring the
………. operation of the system
efficient
How does the os ensure the efficient operation of the system itself?
- Resource allocation
- Accounting
- Protection and security
Define accounting?
To keep track of which users use how much and
what kinds of computer resources
What is the difference between protection and security?
Protection: involves ensuring that all access to system resources is
controlled
Security of system from outsiders requires user authentication,
extends to defending external I/O devices from invalid access attempts
Define a system call ?
A system call is a mechanism that allows a computer program to request a service from the kernel of the operating system it is running on.
What are the three methods used to pass parameters to the OS?
- Simplest: pass the parameters in registers
- Parameters stored in a block, or table, in memory,
and block address passed as a parameter in a register - Parameters pushed, onto the stack by the program
and popped off the stack by the operating system
T|F: Block and stack methods limit the number or length of parameters being passed
False.
What are the types of system calls?
- Process control
- File management
- Device management
- Information maintenance
- Communications
- Protection
System programs provide a convenient environment
for program ………………… and ………………..
development ,execution.
T|F: All system call are simply user interfaces to system calls
False, only some and other considered more complex.
What are the categories for system programs?
- File manipulation and File modification
- Status information
- Programming language support
- Program loading and execution
- Communications
- Background services
- Application programs
Create, delete, copy,
rename, print, dump, list, and generally
manipulate files and directories -> these system calls will fall under which category ?
File management.
Text editors to create and modify files
Special commands to search contents of files or
perform transformations of the text ->these system calls will fall under which category ?
File modification
Compilers,
assemblers, debuggers and interpreters
sometimes provided
->these system calls will fall under which category ?
Programming-language support
Absolute
loaders, relocatable loaders, linkage editors,
and overlay-loaders, debugging systems for
higher-level and machine language->these system calls will fall under which category ?
Program loading and execution-
Provide the mechanism for
creating virtual connections among processes,
users, and computer systems ->these system calls will fall under which category ?
Communications
disk checking, process
scheduling, error logging, printing, Launch at boot time,Run in user context not kernel context ->these system calls will fall under which category ?
Background Services
What are the Background Services known as?
services, subsystems, daemons
Launched by command line, mouse click, finger
poke?
Application programs
What are the system design to the user goals ?
- convenient to use
- easy to learn
- reliable
- safe and fast
What are the system design to the system goals ?
- Easy to design implement and maintain
- Flexible and reliable
- Error-free and efficient