SLR4 Flashcards

(24 cards)

1
Q

Why does a computer need to check for interrupts

A

so that the computer can appear like it is multitasking

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

what happens during an interrupt

A

The data held in all of the registers is copied into a data structure called a stack

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

What happens once the interrupt is completed

A

The values stored in the stack are loaded back into the necessary registers

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

What can cause a stack overflow error

A

when too much data is being stored in the Stack

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

What is the role of an OS

A

It provides an interface between the user and the hardware

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

What is defragmentation

A

The process of reorganizing data so that it can be more efficiently read/written

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

What is Paging

A

The process of splitting a program into physical divisions so that memory can be organized

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

What is segmentation

A

Splitting a program into logical divisions so that memory can be organized

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

what is an advantage of segmentation

A

It is more efficient than paging

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

What is the difference between virtual storage and virtual memory

A

Virtual storage: cloud storage
Virtual memory: Fake RAM

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

Give some common Scheduling Algorithms

A

First Come First Served
Shortest Job First
Round Robin
Shortest Remaining Time

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

In which Scheduling Algorithm are processes Executed in the same order that they arrive

A

First Come First Served

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

In which Scheduling Algorithm are processes allocated a fixed amount of time to run

A

Round Robin

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

What is the difference between STF and SRT

A

SRT is a pre-emptive algorithm which means that processes can be suspended if a higher priority process joins the queue

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

What is the BIOS

A

Basic Input output System

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

What role does the BIOS perform

A

Loads the OS when you first boot on the system

17
Q

What is a Power On Self Test (POST)

A

A test performed by the BIOS the makes sure that all hardware is connected and working

18
Q

What is responsible for loading the OS into memory

A

The bootstrap

19
Q

Where is the BIOS stored

20
Q

What role do device drivers perform

A

Telling the OS how to interact with a device

21
Q

Why does JAVA run on most operating systems

A

It is 1st compiled into intermediate code.

22
Q

What are the types of ROM

A

PROM (Programmable Read-Only Memory)
EPROM (Erasable Programmable Read-Only Memory)
EEPROM (Electrically Erasable Programmable Read-Only memory)

23
Q

what is the difference between EEPROM and PROM

A

EEPROM can be rewritten multiple times, whereas PROM can only be written to once

24
Q

What is EPROM

A

Where Ed takes his discord kitten