Topic 2: Software and software development Flashcards
What are the functions of an OS
- Interrupts
- User Interface
- File Management
- Peripheral Management/Drivers
- User Management
- Memory Management
- Processor Scheduling
What is the purpose of an OS
To manage interaction between hardware and software
What does a GUI have
WIMP
What does WIMP stand for
Windows
Icons
Menus
Pointers
What does BIOS do in terms of OS
BIOS loads OS to RAM
What is CLI and when would it be used
Command Line Interface, used at a technical level as you interact with hardware more
What is MDI and when would it be used
Menu Driven Interface, used to simplify options so the user can’t be annoying (ATM)
What is Memory Management
Manage memory, Paging and Segmentation
What is Paging
A process loaded to RAM is allocated sufficient pages that may not be contiguous in physical terms. Pages are fixed length blocks of memory. Each page has an address.
What is Segmentation
Variable length memory-size data, Logical
What are the benefits of Paging
So data can swap into and out of virtual memory.
Page tables don’t have to have data contiguous
What does a page table do
Maps between the logical and the physical memory locations
What is swapping
Moving data to and from virtual memory
How are the pages that get swapped decided
By the OS
Why is swapping bad
It causes disk thrashing which slows performance
What is Immediate addressing
Actual value
What are the 4 types of addressing
Immediate
Direct
Indirect
Indexed
What is Direct addressing
Address of value
What is Indirect addressing
Address of Address of value
What is Indexed addressing
Index value + Value
What sends interrupts
Software, Hardware devices or the CPUs internal clock
When would you Interrupt
User Input
Errors
Power Failure
An I/O sends and Interrupt signal
When are interrupts checked for
CPU checks for interrupts at the end of every cycle
What happens if an Interrupt is found
Current processing is pushed to a stack