Systems Software

studied byStudied by 1 person
0.0(0)
Get a hint
Hint

What is an operating system?

1 / 12

13 Terms

1

What is an operating system?

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

New cards
2

Give 3 functions of an operating system.

Three from:
- Memory management
- Resource management
- I/Output management
- Interrupt management
- Security
- User interface
- Utility software

New cards
3

What are the similarities and differences between paging and segmentation?

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.

New cards
4

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

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

New cards
5

What is an interrupt?

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

New cards
6

Explain the stages of the Interrupt Service Routine.

● Interrupt register checked at the end of each Fetch-Decode-Execute cycle.
● If there is an interrupt exists with a higher priority to the current process, the current contents of the registers
in the CPU are transferred into a stack.
● The relevant interrupt service routine (ISR) is loaded into RAM.
● A flag is set to signal the ISR has begun.
● The flag is reset once the ISR has finished.
● Interrupt register checked again. If interrupts are of a higher priority, the process is repeated.
● If there are no interrupts with a higher priority, the contents of the stack are popped and place back into the special memory registers.
● The fetch-Decode-Execute cycle renews as before.

New cards
7

Are these scheduling algorithms pre-emptive or non pre-emptive?
FCFS, SRT, SJF, MLFQ, RR

Pre-emptive: RR, SRT, MLFQ

Non-preemptive: FCFS, SJF

New cards
8

What are the advantages and disadvantages of using Multilevel Feedback Queues for scheduling?

Advantage: Services most urgent interrupts first.

Disadvantage: Hard to implement.

New cards
9

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

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 eg. life support systems, self-driving cars, power systems.

New cards
10

Describe three functions of the BIOS.

Running tests upon the computer’s start-up:
● POST (Power-on self test) which ensures that all hardware is correctly connected and functional.
● Checking the CPU clock, memory and processor.
● Testing for external memory devices.

New cards
11

What is the role of a device driver?

Enable the operating system to interact with hardware devices.

New cards
12

Describe an instance in which a Virtual Machine may be used.

● Testing programs.
● Protection from malware.
● Running software compatible with different versions and types of operating systems.

New cards
13

Give one advantage and one disadvantage of intermediate code.

Advantage: Platform independent, portable

Disadvantage: Slower execution

New cards

Explore top notes

note Note
studied byStudied by 11 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 30 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 6 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 4 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 10 people
Updated ... ago
5.0 Stars(2)
note Note
studied byStudied by 112 people
Updated ... ago
5.0 Stars(2)
note Note
studied byStudied by 168 people
Updated ... ago
5.0 Stars(3)
note Note
studied byStudied by 28 people
Updated ... ago
5.0 Stars(1)

Explore top flashcards

flashcards Flashcard92 terms
studied byStudied by 7 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard28 terms
studied byStudied by 8 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard22 terms
studied byStudied by 7 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard62 terms
studied byStudied by 20 people
Updated ... ago
5.0 Stars(2)
flashcards Flashcard46 terms
studied byStudied by 3 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard30 terms
studied byStudied by 11 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard68 terms
studied byStudied by 25 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard27 terms
studied byStudied by 7 people
Updated ... ago
5.0 Stars(1)