Operating systems Flashcards
Syllabus: 1.3.6 In Computer Studies textbook: Chapter 4 - Systems and Communications
What is an operating system?
An operating system (OS) is a type of system software that acts as a layer of software between application programs and the computer’s hardware and provides an interface through which a user can run an application program.
How is an operating system loaded on a computer?
- Computers cannot run without software, but it must be running before it can load an OS. There must be a small program to start the process of loading the OS.
- A small firmware program runs to start the loading process, stored in flash memory in PCs and laptops.
- 1st program – performs ‘power-on-self-test’ (POST) to prevent the computer from starting to run in an unstable state. Checks the integrity of firmware, externals devices and size of internal memory. Identifies the most promising disk drive from which to load an operating system.
- 2nd program – ‘boot loader’ loads first part of OS into RAM. The process in which the operating system loads itself then takes control of the computer is called ‘bootstrapping’.
List the functions of an operating system
- To manage the users, hardware, software and peripherals (input and output devices that are not integral or necessary to the system)
- To manage user accounts and security.
- To provide a user interface through which a user can run application programs and perform housekeeping tasks such as defragmenting or file indexing.
- To manage the allocation of internal memory and processor time, as well as interrupt signals to the processor
- Provide ‘spooling’ – temporary storage of input or output data in a queue to allow application programs to proceed with other tasks while peripherals operate relatively slowly.
What is a batch operating system?
- Dedicated to managing a succession of batch ‘jobs’ or packages of work, each consisting of a program and a batch of data
- A batch of data is prepared, validates, often verified by double entry, and entered into a transaction file before any processing takes place.
- The processing runs to completion without any intervention from an operator unless an error occurs. Output received in the form of updated files or printer output
- Allows the operator to specify:
- The owner of the particular job
- Programs
- Data files
- Priority (position in queuing)
- Max processor time allowance, memory and printing lines
- Actions to be taken in case of program error
List the advantages and disadvantages of a batch operating system
Advantages:
- Quick processing as no delays by waiting for user to enter data
- Especially useful when the program and data are reliable and accurate
Disadvantages:
- Less useful when data is unreliable, as it cannot be modified while the program is running
What is a multi-tasking operating system?
- Typical modern operating system for any sort of general-purpose computer
- Simultaneously runs several processes and services and more than one application program
- On any computer with only a single processor, only one program can run at any instant, but there is an illusion of simultaneous running by sharing processing time between programs
What is a multi-access operating system?
- Allows more than one user to use the computer at the same time (multiple log-ins)
- Each user interacts with the computer through a ‘terminal’ consisting of a keyboard and display screen. The terminals do not have their own processors and are not computers.
- The OS shares processing time between the users, who each have all the computer’s resources available to them.
What is a real-time transaction processing operating system?
- A real-time OS supports application programs that can process input within a guaranteed maximum time to produce the output required to keep pace with the user’s needs for information or control.
- A real-time transaction processing OS supports application software for processing transactions e.g. bookings as they occur, with a maximum response time within the range of seconds.
What is a real-time process control operating system?
- Controls a physical or chemical process by continuously monitoring conditions, set-point data and sensor feedback data.
- Data is processed to calculate and make decisions of the output required to the actuators.
- Frequent sampling and rapid processing is necessary, with a max. response time within the range of microseconds to milliseconds.
What is a network operating system?
- Manages communication between computers and peripherals equipped with a ‘network interface card’ (NIC) and connected to a network.
- Most OSs for laptops and PCs for small office and home use have built-in support for ‘peer-to-peer’ networking for sharing resources, peripherals and internet access.
- Other OSs support server-based networks, which have a ‘server’ computer running a ‘server operating system’ which controls access for the ‘client’ computers which run ‘client operating systems’.
What is a user interface?
A user interface consists of all the hardware and software through which a user provides input to a computer or receives information from it.
Two types of user interface:
- command line interface (CLI)
- graphical user interface (GUI)
Describe the command line interface (CLI)
- User relies on keyboard for input, having to remember the available commands and their syntax, and type commands accurately.
- Output restricted to text only
- Useful for experts as it enables them to work quickly and access a wide range of commands
Describe the graphical user interface (GUI)
- A GUI often features:
-
Windows
- each task displayed in separate window
- each window is a rectangular region of the screen through which a running program, document or dialogue box can be viewed
-
Icons
- small pictorial symbol representing a command, file or shortcut
- Menus
- Pointing devices
-
Windows
- OSs with GUIs support folders and sub-folders to represent directory contents. The hierarchical structure of folders can often be viewed in a navigational file manager
How does file management work?
- Folders are used as virtual containers to store files in so they are easier to organise and find.
- The OS stores an index of the contents of each storage drive, known as the drive’s root directory, which lists the files and folders within the drive.
- Each folder has its own file directory, and each sub-folder has its own sub-directory
What user commands for file management are there?
- User commands for file management include listing directory contents by opening a folder, moving and copying files and folders, and printing files
- List
- Opening a storage device lists the folders, files and subfolders it contains. Files and folders can be sorted, renamed, searched and created.
- Move
- Moving files and folders to different places
- Copy
- Useful for making backups