1.2.1 Systems Software Flashcards

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

What is the need of an “Operating System”?

A

It manages the hardware and the programs running on the system.

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

What examples of “Operating Systems” are there?

A

Windows, OS X, Linux, iOS and Android.

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

What different roles does the “Operating System” have?

A

Managing the hardware of the system;
Managing programs installed on the system and the those being run;
Managing the security of the system;
Providing the user with an interface that they can use.

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

What types of “Memory Management” are there?

A

Paging, Segmentation and Virtual Memory.

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

What is the purpose of “Memory Management”?

A

The OS has to ensure that memory is used efficiently without wasting space, and that data is stored securely so that data from different programs don’t interfere with each other.

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

What is “Paging”?

A

The process of dividing programs physically into equal-sized blocks.

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

What is “Segmentation”?

A

The process of dividing programs logically into blocks containing modules or routines.

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

Why is programs stored in memory divided into sections?

A

Because storing the entire program is wasteful, as the entire program is most likely not being used at a single team.

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

What is “Virtual Memory”?

A

This is the process of segmenting part of the Secondary Storage to be used as Main Memory.

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

Why is “Virtual Memory” used?

A

Because RAM (Main Memory) is much more expensive than ROM (Secondary Storage), and there is often hundreds of times more Secondary Storage than Main Memory, parts of the Secondary Storage is used as Main Memory if it is needed, to increase speed of the system and compensate for any Bottlenecking that may be occurring.

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

What is “Disk Thrashing”?

A

When parts of Secondary Storage is temporarily converted into Virtual Memory, it can also convert back and forth depending on what it is needed for, allowing for the store of data, as well as the store of the current programs being run. If this swap back and forth happens too often, Disk Thrashing occurs.

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

What is an “Interrupt”?

A

A Control Signal that is triggered when a device is in need of attention. Each Interrupt has a certain priority, meaning some Interrupts can overpower others.

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

When are the only times a NEW “Interrupt” can take effect immediately?

A

If the task currently being attended to has a lower priority than the new Interrupt.

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

What happens during the “ISR” (Interrupt Service Routine)?

A

The contents of the PC and other registers are copied to a stack;
The ISR can then be loaded by changing the PC to the value of where the ISR is in memory;
When the ISR is complete, the previous values of registers stored in the stack are restored from memory to the CPU.

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

When does the OS run an “ISR”?

A

If the OS finds an Interrupt with higher priority than the current task at the end of the Fetch-Decode-Execute cycle iteration, then the relevant ISR is run.

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

What is a “Scheduler”?

A

A program that manages the amount of time different processes have in the CPU.

17
Q

What different types of “Scheduler” are there?

A

RR (Round Robin), First Come, First Serve (FCFS), Shortest Job First (SJF), Shortest Remaining Time (SRT), Multi-Level Feedback Queues (MLFQ).

18
Q

What is “Round Robin” Scheduling?

A

This is where each process is given a fixed amount of time to execute. If it isn’t finished at the end of this fixed time, then it rejoins the queue so that the next process can take its turn.

19
Q

What is “First Come, First Serve” Scheduling?

A

The top process in the queue is dealt with until it is completely finished, then the next process is dealt with until it is completely finished and so on.

20
Q

What is “Shortest Job First” Scheduling?

A

This is where the process in the queue that has the shortest execution time is dealt with until it is finished, and then the next process with the shortest process is dealt with and so on.

21
Q

What is “Shortest Remaining Time” Scheduling?

A

The scheduler estimates how much time each process in the queue will take to finish, and deals with the one that will take the least time. If a new process joins the queue that will take less time than the process currently being dealt with, then the new process is dealt with instead.

22
Q

What is “Multi-Level Feedback Queue” Scheduling?

A

This uses multiple queues that each have different priority to sort the processes based on their needs by the CPU.

23
Q

What types of “Operating System” are there?

A

Multi-Tasking, Multi-User, Distributed, Embedded, Real-Time.

24
Q

What is “Multi-Tasking” OS?

A

This is where multiple programs can be run at the same time.

25
Q

What is “Multi-User” OS?

A

This is where multiple users can use a system as well as access its resources simultaneously (not to be confused with a single system allowing different users).

26
Q

What is “Distributed” OS?

A

This is where multiple computer systems can work together on a single task.

27
Q

What is “Embedded” OS?

A

These are OS designed for embedded systems where a computer only forms part of the device, such as Washing Machines, Vending Machines, Dishwashers etc.

28
Q

What is “Real-Time” OS?

A

These are OS designed to carry out tasks in a set amount of time, even when it is left for long periods of time. Examples include Flight Simulators.

29
Q

What does “BIOS” stand for, and what does it do?

A

“Basic Input/Output System” is the thing looked to on system start-up to get the system properly up and running. This means the PC of the CPU points to the location of the BIOS.

30
Q

What type of memory is the “BIOS” stored on and why?

A

The BIOS is stored in Flash Memory so that it can be updated, as well as changed by the user, including changing things like boot order.

31
Q

What are “Device Drivers”?

A

Software usually supplied with new hardware to be used that tells the system how to communicate with the hardware.

32
Q

Why are “Device Drivers” used?

A

Because it would be impossible for manufacturers to program the hardware to individually know how to communicate with every type of device, so are used so the OS knows how to communicate with it.

33
Q

What is a “Virtual Machine”?

A

A program that has the same functionality as a physical computer system.

34
Q

Why are “Virtual Machines” used?

A

They are usually used to imitate the functionality of a physical computer, usually allowing the user to run a different operating system on a computer. This may be running Linux on a system that runs Windows, as it may be useful to test a program that is intended for multiple platforms.

35
Q

What is another example of a “Virtual Machine”?

A

Another example is converting Source Code into something called Byte Code. Because this isn’t Machine Code, it cannot be directly run on a processor, so a virtual machine is needed in order to interpret the Byte Code so it can be used. This makes a program highly portable.