Topic 6 - Resource Management (HL only for Paper 1) Flashcards

1
Q

Time slicing

A

It is a process that is managed and coordinated by the OS. A time-slice is the set amount of processing time a particular program is allocated for CPU usage. The slices (also called threads) are then executed and given their corresponding processing time via the scheduler program, which is run once every time slice and chooses what is the next process to run.

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

3 examples of resources to manage in a computer

A
  • RAM
  • Secondary storage
  • Processor speed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Processor speed unit

A

GHz

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

Multi-core processors means instructions run in ________

A

parallel

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

Bandwidth (in terms of Network Capability)

A

How much data can be sent at the same time in a given time frame

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

Bandwidth common units

A

MB/s, GB/s

megabits, gigabits (not megabytes/gigabytes)

divide by 8 to get byte version

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

2 effects of limited bandwidth

A
  • Slow data transfer across networks
  • If accessing internet through network, internet speeds will be slower
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Sound processor main role

A

Translate analogue audio signals to digital signals (microphone) and digital signals to analog audio signals (speakers)

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

Graphics Processor 3 characteristics

A
  • Responsible for rendering images to display
  • Contains GPU and memory to handle these graphical operations
  • Does these intense graphical operations in parallel
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

3 ways to connect to other networks

A
  • Through a NIC (network interface cards) which connects via ethernet cords
  • Through a WNIC (wireless NIC) which connects networks wirelessly
  • Bluetooth which connects networks via Bluetooth signals
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Mainframes and 2 examples where they’re used

A

A computer on steroids basically. They usually have many multicore processors (100s of processors), and huge amounts of RAM (100s of TB) and secondary storage (1000s of petabytes). Mostly used by businesses. For instance:

  • Airline reservation system
  • Weather/Financial Models and predictions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Server farms and 2 examples where they’re used

A

These are essentially a group of many powerful computers working and connecting together in parallel.

  • Data centers
  • 3D rendering
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

4 example roles of an OS

A
  • Memory management
  • Peripheral management
  • Time slicing
  • Multi-tasking
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Peripherals

A

Devices that can be connected to a computer but are not essential (e.g. mouse)

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

Peripheral Drivers

A

These drivers are a group of software that translate the signal from the peripheral into digital data that can be understood by the computer.

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

Memory Management

A

The process of the OS ensuring that each program is allotted its own dedicated section of RAM, known as memory space. Furthermore, the OS will ensure that other programs do no interfere with or access the memory space of other programs. Memory management also involves paging

14
Q

Memory Management (Paging)

A

When a file of pages of data from RAM is sent to the secondary storage when RAM is overloaded, and then transferred back to RAM once there is available space again. This file of pages is called the pagefile. This swapping process is controlled by the MMU (memory management unit)

14
Q

User Interface

A

It can be either GUI or CLI. A UI is used to interact with the computer, more specifically, allow users to give commands to the computer.

15
Q

Interrupt signal

A

This is a signal to the processor, emitted by hardware or software, that indicates an event which requires immediate attention.

There are two types of interrupts:
- Hardware interrupts
- Software interrupts

15
Q

Interrupt Handlers

A

When the OS receives the interrupt signal, the OS pauses the current instructions, saves state, and starts a program called the interrupt handler to deal with the high-priority event. After interrupt handler is finished, normal instructions resume.

15
Q

2 types of hardware interrupts

A
  • Printer paper jam
  • Keyboard press
16
Q

Software interrupts 2 examples

A
  • Software error
  • Infinite loop
17
Q

Polling, and what’s the alternative

A

This is when one program or device repeatedly asks for the status of another to determine whether an instruction is needed to be performed. These status checks occur at regular intervals and may be inefficient and waste a lot of CPU cycles. Alternative is interrupts.

18
Q

Scheduling

A

Refers to the process of assigning tasks to different computer resources and executing them in a sequential order. This is handled by an OS-based process called a scheduler and usually based on an algorithm. The goal of scheduling is to keep all resources busy and complete tasks as efficiently as possible.