1.3.6 Operating Systems Flashcards

1
Q

State 5 functions of an operating system

A
  • Provides a user interface for applications
  • Opens, closes and installs software
  • Manages the hardware and peripherals
  • Manages memory e.g. loading programs into RAM
  • Manages processor time allocation
  • Manages interrupts and error handling
  • Manages file handling e.g. organising, saving and deleting
  • Manages security e.g. logging on and passwords
  • Manages user accounts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why do we need an Operating System?

A
  • Allows a user to communicate with the computer using hardware
  • Provides the user with a user interface for interaction with the computer
  • Allows for multitasking and handles interrupts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Virtual Memory

A
  • When RAM is full a section of the hard disk is used to allow more programs to be loaded.
  • It is much slower than RAM.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a device driver?

A
  • A piece of software that allows peripheral devices to communicate with the OS
  • Translates signals to/from peripherals to something the OS can understand
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is spooling?

A
  • Simultaneous Peripheral Operations On-Line
  • Data are temporarily held in a buffer waiting for an output device to access it e.g. printer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is memory management?

A

Operating system assigns blocks of memory to programs running in a computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is scheduling?

A

Operating system determines the order in which the programs should use the CPU and how much time is allocated to each one

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is polling?

A
  • Operating system regularly checks each peripheral device in turn to discover whether it needs the attention of the operating system.
  • Less efficient CPU use than interrupts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a Disk defragmenter?

A
  • Moves part of files around so all parts are stored together
  • Free memory space is collected together
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a buffer

A

Temporary memory which stores data until it is ready to be used.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is an interrupt?

A

Interrupts are signals sent to the CPU or operating system
They can be sent from a device (e.g. printer - run out of paper) or software (e.g. email client, email arrived)
The signal is used to request processor time
It enables multitasking to be carried out on a computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Explain how an interrupt is generated and handled when a key is pressed on a keyboard

A
  • A key is pressed that presses a switch
  • The key press completes a circuit
  • The location of the keypress is calculated
  • The location of the keypress is used to look up the binary ASCII value
  • The binary ASCII value is then sent to a buffer to wait to be processed
  • An interrupt is then sent to the processor to let it know there has been a key press
  • The binary ASCII value is then processed by the CPU
  • The CPU then returns to the previous process.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is multitasking?

A

When multiple tasks share the processor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is multiprogramming?

A

Running more than one program at a time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly