Chapter 2 System Structures Flashcards
What is Resource Allocation
When multiple users or multiple jobs running concurrently, resources must be allocated to each of them.
What’s some advantages of higher-level languages?
Code can be written faster, easier to understand and modify, improved complier technology, easier to port (to move to some other hardware platform)
What are some disadvantages of higher-level languages in OS?
Reduced speed and higher storage requirements.
Why is it a better to use APIs rather than system calls?
To ensure portability and hide some of the details of the system call from the application programmer.
What are the three most common API’s
Win32 API , POSIX API, Java API
What’s the purpose of System Programs?
Can be thought of as bundles of useful system calls. They provide basic functionality to users to they don’t have to write their own programs to solve common problems
What’s the main advantage of the layered approach?
The system is easier to debug and modify since changes affect only limited sections of the system opposed to touching all sections of the operating system. Another advantage is the simplicity of it’s construction.
What’s the purpose of the command interpreter?
It reads commands from the user or from a file of commands and executes them, usually by turning them into one or more system calls.
Why is the command interpreter separate from the kernel?
It’s usually not apart of the kernel because the command interpreter is subject to changes.
What are the three major activities of an operating system with regard to secondary storage management?
Free-space management, storage allocation, disk scheduling
What are the three major activities of an operating system with regard to memory management?
Keep track of which parts of memory are currently being used and by whom, decide which processes are to be loaded into memory when memory space becomes available, allocate and deallocate memory space as needed.
What is the purpose of system calls?
System calls allow user-level processes to request services of the operating system.
What are some problems with the layered approach?
Appropriately defining the various layers, less efficient than other types.
How does Solaris pass parameters?
Parameters stored in a block, or table in memory and address of block passed as a parameter in a register.
What language is MS DOS written in?
Assembly for intel 8088, Linux in C