1.2.1 System Software Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is an operating system

A

A collection of programs that work together to provide an interface between the user and the computer

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

Give 3 functions of the operating system

A

Memory, Resource, I/O and Interrupt management, Security, User Interface and Utility software.

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

What are the similarities and differences between paging and segmentation

A

Both: Are used when RAM space is insufficient, can cause disk thrashing
Paging: Uses equal-sized sections called pages
Segmentation: Uses variable-sized, logical sections called segments

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

Describe how virtual memory is used when there is not enough RAM

A

A section of the hard drive acts as RAM.
Sections of programs currently not being used are moved into virtual memory through paging.
This frees up memory in the RAM for other programs.

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

What is an interrupt

A

A signal generated by software of hardware to indicate to the processor that a process needs attention.

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

Explain the Stages of the Interrupt Service Routine

A
  1. Interrupt register is checked at the end of FDE cycle.
  2. If there is an interrupt with higher priority than the current process, the current contents of the registers in the CPU are transferred into a stack.
  3. The interrupt service routine is loaded into RAM and the ISR is executed.
  4. If there are no interrupts with a higher priority, the contents of the stack are popped back into the registers in CPU.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Are these scheduling algorithms pre-emptive or non pre-emptive? First Come First Serve, Shortest Remaining Time, Shortest Job First, Round Robin and Multi Level Feedback Queue

A

Pre-emptive: Round Robin, Shortest Remaining Time, Multi Level Feedback Queue
Non pre-emptive: First Come First Serve, Shortest Job First

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

What are the advantages and disadvantages of Multi Level Feedback Queues?

A

Advantage: Services most urgent interrupts first
Disadvantage: Hard to implement

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

Define a real time operating system and when it may be used.

A

Real time operating systems perform a task within a guaranteed time frame. They are used in systems were a response within a given time frame is critical e.g life support systems, self driving cars, power systems.

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

Describe three functions of the BIOS

A
  1. Running POST (Power-on self test) which ensures that all hardware is correctly connected and functional
  2. Checking the CPU clock, memory and processor.
  3. Testing for external memory devices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the role of a device driver?

A

Enable the operating system to interact with hardware devices

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

Describe an instance in which a virtual machine may be used.

A
  1. Testing programs
  2. Protection from malware
  3. Running software compatible with different versions and types of operating systems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Give one advantage and one
disadvantage of intermediate code

A

Advantage: Platform independent, portable
Disadvantage: Slower execution

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