Information Technology Topic
OS: Files, Memory and Devices
- Read notes
- Flashcards
- Quiz
- Confident
Study focus - 3 things
- An operating system (OS) is the software that controls the computer's resources and the programs that use them; file, memory, device and input/output management are four of its seven functions
- File management keeps track of where programs and files are stored; memory management copies programs from secondary storage into main memory so they can run
- Device management and input/output management let programs and hardware work together, so a program never has to contain its own code for every keyboard, screen or printer
Section 1What an operating system does
An operating system is software that controls the resources of the computer and the software that uses them. It assigns resources, looks after memory and storage, links other software to the hardware and controls how applications run. Think of it as the manager of a busy workshop. The applications (word processor, game, browser) are the workers, and the OS hands out the tools, the space and the storage so nobody gets in anyone's way. There are seven OS functions to know: looking after files, looking after memory, looking after devices, handling input and output, controlling security, running the user interface and managing processes (this topic covers the first four). This topic covers four of them: file, memory, device and input/output management. The next topic covers security, the user interface and process management.
Section 2File management
File management is the OS job of looking after how programs and files are stored on the storage device. The OS can list what is on a disk, and it keeps track of where each file is. When you save, it places the file in the folder you choose. When you ask for it later, it finds the file and brings it back. Here's the trick: you never have to know which part of the disk holds your SBA. You only pick a folder and a file name, and the OS does the rest. That is file management.
Section 3Memory management
Main memory holds the instructions and data a program needs while it runs. It is too small to hold everything the user owns, and it loses its contents when the power goes off. Programs and files therefore live on secondary storage until they are needed. When you open a program that is not already in main memory, the OS finds it in secondary storage and copies it into main memory so the processor can run it. The copy in secondary storage stays where it was. The OS also decides where in main memory each program goes, and when a program has finished the OS frees the space it used, so the space can be used again. Easy to mix up: file management is about where things are kept for the long term (secondary storage). Memory management is about what is in main memory right now.
Section 4Device management
A computer has many hardware devices, and each one is a bit different. Device management is the OS job of looking after the interaction between the hardware and the software, and between the hardware devices themselves. The OS uses small programs called drivers to understand and talk to each type of device. Because the OS cannot know in advance how every device works, each hardware maker supplies the driver for its own devices. The OS also keeps an eye on how the hardware is performing. Because the OS does this shared work, an application can simply ask for a job to be done, such as printing, instead of carrying that code inside itself. Programs and users both order the OS to carry out these common functions.
Section 5Input/output management
Input/output (I/O) management is about the flow of data into and out of the computer. The OS receives signals from input devices such as the keyboard and mouse, and sends the right signals to output devices such as the screen and printer. The OS manages and interprets the signals that pass between the hardware and the software, so the processor and the person each get the data in a form they can use. Watch out: device management and I/O management work as a pair and are easy to blur together. Use this rule. Device management is about looking after the hardware (drivers, performance, links between devices). I/O management is about moving data in and out through that hardware.
Section 6Putting it together: saving and printing a report
Say you type a report. The keyboard signals reach the word processor through I/O management. The word processor is in main memory because memory management copied it there from the hard disk. When you save, file management stores the report in the folder you picked and records where it went. When you print, device management uses the printer's driver and I/O management sends the right signals to the printer. One ordinary task has used all four functions, and the user did not have to think about any of them.
Examples
Name the operating system function being used in each case. (a) Keisha in Portmore saves her SBA in a folder called IT-SBA. (b) She double-clicks a program on the hard disk, and a copy is placed in main memory so it can run. (c) The signals from her keyboard reach the program. (d) The OS uses the printer's driver to talk to the printer.
(a) File management. The OS stores the file in the folder she chose and records where it is. (b) Memory management. The program is copied from secondary storage into main memory, and the original stays on the disk. (c) Input/output management. The OS receives signals from an input device and passes them on. (d) Device management. A driver lets the OS understand and communicate with that particular device.
Marcus in Mandeville is writing an essay. A word processor is already open. He opens a second program stored on the hard disk to look at a picture, then prints the essay, saves it and closes the picture program. Describe what the operating system does at each step and name the function.
1. The second program is not in main memory, so the OS finds it in secondary storage and copies it into main memory (memory management). The copy on the disk is untouched. 2. While both programs are open, the OS shares resources such as the display and the disk so they do not clash. 3. Printing: the OS sends the essay to the printer using the printer's driver (device management), and sends the right signals out to it (input/output management). 4. Saving: the OS stores the essay in the folder Marcus chooses and records the location, so he can find it later (file management). 5. Closing the picture program: the OS manages the closing, so the space it used in main memory can be used again (memory management). None of this needed Marcus to know where anything is stored.
Now let's water it
Session runs notes to flashcards to quiz back-to-back.
Where this comes from
- CSEC Information Technology Syllabus (CXC 30/G/SYLL 08, revised 2000, 2008, 2013) · Caribbean Examinations Council (CXC) · Section 1, Specific Objective 12 · Syllabus scope
- Siyavula Information Technology Grades 10, 11 and 12 (South African CAPS textbooks), listed pages only · Siyavula · Unit 4.1, Operating system functions (file, memory, hardware and input/output management, Grade 10 system software) and Unit 4.3 (device drivers, drivers supplied by manufacturers), checked against (https://www.siyavula.com/read/it/grade-10-it/basic-concepts-of-system-software/04-basic-concepts-of-system-software); Unit 2.1 (Grade 11 software, drivers, memory and storage, monitoring hardware), checked against (https://www.siyavula.com/read/za/information-technology/grade-11/software/02-software) · Facts
- Navy Electricity and Electronics Training Series (NEETS), Module 22, Introduction to Digital Computers (NAVEDTRA 14194, September 1998) · US Navy (Naval Education and Training Professional Development and Technology Center) · Chapter 1, Operating system (p. 1-18); Chapter 2, Semiconductor storage (p. 2-6) and Secondary storage (p. 2-9); Chapter 3, Operating systems (pp. 3-1 to 3-3) and Appendix I Glossary "Operating system", checked against (https://vtda.org/bits/other/US_Navy/NEETS/US%20Navy%20NEETS%20-%20Module%2022-Introduction%20to%20Digital%20Computers%20NAVEDTRA%2014194.pdf) · Facts
- NIST CSRC Glossary entries: information, database · National Institute of Standards and Technology (NIST) · Section operating_system, NIST CSRC Glossary entry "operating system", checked against (https://csrc.nist.gov/glossary/term/operating_system) · Facts