Computer ch4 notes
Computer ch4 notes
o/s: its make comp systems function correctly and allows users to
communicate with comp system it needs to be installed. It provides
enviromnement for application to run and an interface for b/w
human and comp. ex windows apple ios. Most o/s are stored on HDD
or SSD since they are large programs.
Functions of O/S
1) HCI
2) Multi tasking
3) Memory management
4) Platform for running app software.
HCI focuses on how users interact with the system. It is in form of CLI
or GUI. In CLI user have to type commands to just carry out basic
operations like loading or slecting a file. While it can be slow and time
consuming. But user is in direct communication with comp and not
restricted to predermined options. While in GUI user interacts by
icons or pics. It uses various technologies one is WIMP:
Windows: Boxes where different applications or files are shown.
Icons: Small pictures representing apps or files.
Menus: Lists of options or commands to choose from.
Pointers: The arrow or cursor you move to click on things.
1. Allocation: When a program needs memory, the operating system gives it a specific
amount of RAM to use.
2. Tracking: The system keeps track of which parts of memory are being used and by
which programs.
3. Freeing: When a program finishes, the system reclaims the memory so other programs
can use it.
4. Swapping: If the system runs out of RAM, it moves data to the hard drive temporarily
(called virtual memory) to free up space.
5. Conflict: If two apps run at the same time using the same memory locations, the
computer could crash, data could be lost, or worse.