Y13 Unit 0 - Class Structure
Y13 Unit 1 - Searching Algorithms
Y13 Unit 2 - Abstract Data Structures (HL)
Y13 Unit 3 - Computer Organization (Binary)
Y13 Unit 4 - Computer Organization (Architecture)
Y13 Unit 5 - Resource Management (HL)
Y13 Unit 6 - Control (HL)
Paper 3
1 of 2

Intro to OS

Formal definition of an OS : a set of software that controls the computer’s hardware resources and provides services for computer programs.

The informal definition is that there is a higher power managing many things in your computer. The chef in your kitchen isn’t just working on one program at a time, it’s working on many. The patrons are asking for recipes to be made at a really fast pace and someone needs to manage what the chef can make at any given time. There are other things the Operating System does as well:

  • Peripheral communication
  • Memory Management
  • Resource monitoring and multitasking
  • Networking
  • Disk Access and data management
  • Security

Peripheral Management

Your computer needs to be able to talk to the keyboard, external monitor, mouse, bluetooth devices, printers, web cameras, etc. This communication is managed by the Operating System. We can think about it as a Restaurant Manager that relays information between the services providers and the restaurant staff. Perhaps there is a system for vegetable delivery from the farm, the Manager will make sure that the lines of communication between the farm and the staff are open. The Operating System doesn’t do the actual moving of data though, there are buses that do that.

Memory Management

You definitely have multiple programs open in your computer right now. Those programs are being managed by your CPU. If the CPU can only work on one program at a time, how come they all work at the same time without problems. This is mainly do to multitasking, which we will talk about next. Another important component is that memory is being managed efficiently and effectively. All programs work because the OS is managing the available space in the RAM well. Those programs that have priority will have better access to faster memory all the way through the cache system.

Resource Monitoring and Multitasking

As each application or dish, is being created/handled by the chef we notice that some programs are more resource-intensive than others. How does the chef know when to prepare what? How can he work on two dishes at the same time? The Operating System manages this. Resources are moved around to where they are most needed and the chef’s attention is directed to certain programs at certain times. Some applications might need more of the CPU’s time and others might need lots of RAM. The OS takes care of all of this.

The chef doesn’t actually work on two dishes at the same time. He switches his attention quickly between the active programs. Going back and forth so fast that it looks like he’s making the dishes at the same time.

Networking

Currently, the world is a series of interconnected restaurants. Tons of restaurants talking to each other, send bits of ingredients and cookbooks to one another to make delicious dishes. The OS manages these connections and makes sure that the networks can read and write the correct data to other devices.

Disk Access and Data Management

The OS also provides a way to store data efficiently. This means that it will store data in a way in which it will be retrieved as fast as possible. This might mean putting all of the tomatoes next to each other so that it’s easy to find one when we need it. It might also mean that sometimes we’ll have all the ingredients to a recipe close to each other, instead of dispersed all over.

The OS also keeps track of where everything is so that we don’t overwrite data accidentally.

Security

The main form of protection that the OS provides is user authentication. This is usually done with a password that allows a user to get access to their files in a computer. New forms of authentication like fingerprints and facial scanners have started to appear in computing systems as well.