1.2.1 - Systems Software Flashcards

(34 cards)

1
Q

What is the primary purpose of an operating system?

A

To provide an interface between the user and computer and manage low-level tasks.

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

What are the eight key features provided by an operating system?

A

Memory management, Resource management, File management, Input/Output management, Interrupt management, Utility software, Security, User interface.

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

What is memory management?

A

The process of sharing main memory fairly between multiple programs and applications.

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

What are the three main techniques used in memory management?

A

Paging, Segmentation, Virtual Memory.

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

What is paging?

A

Splitting memory into equal-sized sections called pages that can be swapped between main memory and hard disk.

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

What is segmentation?

A

Splitting memory into logical-sized divisions called segments that vary in size based on program structure.

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

What is virtual memory?

A

Using a section of the hard drive to act as RAM when main memory is insufficient.

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

What is disk thrashing?

A

When a computer freezes due to pages being swapped too frequently between hard disk and main memory.

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

What are interrupts?

A

Signals generated by software or hardware indicating a process needs attention.

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

How are interrupts stored?

A

In a priority queue within an interrupt register, ordered by priority.

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

When does the processor check for interrupts?

A

At the end of each Fetch-Decode-Execute cycle.

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

What is the Interrupt Service Routine (ISR)?

A

A routine that handles interrupts by saving register contents and loading the appropriate response.

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

What happens after an interrupt is serviced?

A

The interrupt flag is reset, and the queue is checked for more high-priority interrupts.

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

What is scheduling?

A

Ensuring all programs receive fair processing time using various algorithms.

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

What are the two types of scheduling algorithms?

A

Pre-emptive and Non pre-emptive.

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

What is Round Robin scheduling?

A

Each job gets equal time slices in cyclic order until completion.

17
Q

What is First Come First Served scheduling?

A

Jobs are processed in the order they entered the queue.

18
Q

What is Shortest Job First scheduling?

A

Jobs are ordered by completion time, with shortest jobs first.

19
Q

What is Shortest Remaining Time scheduling?

A

Jobs are ordered by time left for completion, with least time first.

20
Q

What is Multilevel Feedback Queues?

A

Using multiple queues with different priorities for job scheduling.

21
Q

What is processor starvation?

A

When a process isn’t given adequate processor time to complete.

22
Q

What is a distributed operating system?

A

Runs across multiple devices to spread processing load.

23
Q

What is an embedded operating system?

A

Built for specific devices with limited functionality and low power consumption.

24
Q

What is a multi-tasking operating system?

A

Allows seemingly simultaneous task execution using time slicing.

25
What is a multi-user operating system?
Allows multiple users to share one computer, typically a supercomputer.
26
What is a real-time operating system?
Designed to perform tasks within guaranteed time frames for time-critical systems.
27
What is BIOS?
Basic Input Output System - the first program that runs when a computer is switched on.
28
What does BIOS do?
Runs hardware tests (POST), checks CPU clock, memory, processor, and detects external devices.
29
What are device drivers?
Programs that allow the operating system to interact with hardware.
30
Why are device drivers specific?
They are specific to both computer architecture and operating system.
31
What is a virtual machine?
A software implementation of a computer system that runs intermediate code.
32
What is intermediate code?
Code halfway between machine code and object code, independent of processor architecture.
33
What are advantages of virtual machines?
Malware protection, running incompatible software, saving time and money on hardware.
34
What is a disadvantage of virtual machines?
Running intermediate code can be slower than native low-level code execution.