1.2.1. Systems Software Flashcards

(19 cards)

1
Q

What is an operating system?

A

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

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

What are the functions of an operating system?

A
  1. memory management
  2. user interface
  3. utility software
  4. file management

5.interrupt service routine

6.I/O management

7.security

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

What is a similarity of paging and segmentation?

A

both are used when RAM space is insufficient, which can cause disk thrashing

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

What is a difference between paging and segmentation? (2 things)

A
  • paging uses equal sized sections called pages
  • segmentation uses variable sized, logical sections call segments
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How is virtual memory used when there is not enough RAM? (3 things)

A
  1. a section of the hard drive is used to act as RAM
  2. sections of programs not currently being used are temporarily moved into virtual memory through paging
  3. freeing up memory for other programs in RAM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is an interrupt?

A

a signal generated by software or 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
7
Q

What is the process of the interrupt service routine? (6 steps)

A
  1. interrupt register is checked at the end of each fetch-decode-execute cycle
  2. if there is an interrupt that exists with a higher priority compared to the current process, the current contents of the registers in the CPU are transferred into a stack
  3. the relevent interrupt service routine is loaded into RAM
  4. a flag is set to signal that the ISR has begun and is reset once the ISR has finished
  5. the interrupt register is checked again, if there are interrupts of a higher priority, the process is repeated
  6. if there are no interrupts with a high priority, the contents of the stack are popped and placed back into the special memory registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of these scheduling algorithm are pre-emptive or non pre-emptive?<br></br>FCFS, SRT, SJF, MLFQ, RR

A

pre-emptive - RR, SRT, MLFQ<br></br>non-preemptive - FCFS, SJF

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

What is an advantage of using multilevel feedback queues for scheduling?

A

services most urgent interrupts first

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

What is a disadvantage of using multilevel feedback queues for scheduling?

A

hard to implement

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

What is the defenition of a real-time operating system?

A

real-time operating systems perform a task within a guaranteed time frame

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

Where are real-time operating systems used?

A

in systems where a response within a given time frame is critical

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

What are the 3 functions of the BIOS when running tests upon computer start up?

A
  1. POST which ensures all hardware is correctly connected and functional<br></br>2. checks the CPU clock, memory and processor<br></br>3. tests for external memory devices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the role of a device driver?

A

to enable the OS to interact with hardware devices

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

What are 3 examples where a virtual machine may be used?

A
  1. testing programs<br></br>2. protection from malware<br></br>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
16
Q

What is an advantage of intermediate code?

A

platform independent 

17
Q

What is an disadvantage of intermediate code?

A

slower execution

18
Q

What are 3 examples of where real-time operating systems are used?

A
  1. self driving cars<br></br>2. life support sytems<br></br>3. power systems
19
Q

What does POST stand for?

A

power on self test