ch2 - basic Flashcards
Operating-System Services (62 cards)
What is the primary function of operating systems?
Provide an environment for execution of programs and services to programs and users
מערכת הפעלה היא גם סביבה להרצת תוכנות
What are the common types of user interfaces in operating systems?
- Command-Line Interface (CLI)
- Graphics User Interface (GUI)
- Touch-screen
What is the purpose of batch program execution in an operating system?
Load a program into memory and run it, ending execution normally or abnormally
What operations may a running program require related to I/O?
Involves a file or an I/O device
What functionalities are provided by file-system manipulation in operating systems?
- Read and write files
- Create and delete files
- Search files
- List file information
- Permission management
How do processes communicate in an operating system?
- Shared memory
- Message passing (packets moved by the OS)
What is the role of error detection in operating systems?
Constant awareness of possible errors in CPU, memory hardware, I/O devices, and user programs
What is the significance of debugging facilities in an operating system?
Enhance the user’s and programmer’s ability to efficiently use the system
What is resource allocation in the context of operating systems?
Allocating resources to multiple users or jobs running concurrently
What types of resources are typically allocated by an operating system?
- CPU cycles
- Main memory
- File storage
- I/O devices
What is the purpose of logging in an operating system?
Keep track of which users use how much and what kinds of computer resources
What are the two main aspects of protection and security in operating systems?
- Control access to system resources
- User authentication to protect against outside access
What is a Command Line Interpreter (CLI)?
Allows direct command entry, fetching commands from the user and executing them
What is a Graphical User Interface (GUI)?
User-friendly desktop metaphor interface using a mouse, keyboard, and monitor
What are touchscreen interfaces designed for?
Devices where mouse is not possible or desired, using gestures and virtual keyboards
What is a system call?
Programming interface to the services provided by the OS
How are system calls typically identified in an operating system?
By a number associated with each system call
What are the three general methods used for passing parameters to the OS?
- Pass parameters in registers
- Store parameters in a block in memory
- Push parameters onto the stack
What are the types of system calls related to process control?
- Create process
- Terminate process
- Load, execute
- Wait for time, signal event
What are the types of system calls related to file management?
- Create file
- Delete file
- Open, close file
- Read, write file
What types of system calls are associated with device management?
- Request device
- Release device
- Read, write device
What types of system calls are related to information maintenance?
- Get time or date
- Set time or date
- Get system data
What types of system calls are used for communications?
- Create, delete communication connection
- Send, receive messages
- Transfer status information
What is an example of a system without a traditional operating system?
Arduino, which is single-tasking and loads programs via USB