Back to marketplace

1.2.1. Systems Software (Chp 3)

No description yet. This curated deck is ready for daily study.

Total cards: 23•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (23)

#1
Front (Question)

Operating Systems

Back (Answer)

The terms refers to a collections of programs that work together to provide an interface between the user and computer. • enables the user to communicate with the computer and perform certain low-level tasks involving the management of memory and resources. • provides user interface between the user and hardware • provides a platform in which applications can run.

#2
Front (Question)

OS features

Back (Answer)

-memory management (paging, segmentation, VM) -resource management(scheduling) -File management Input/output management (device drivers) -Interrupt management -Utility software (disk defragmenter, backup) -security -user interface

#3
Front (Question)

Memory management

Back (Answer)

• computer memory must be shared fairly between multiple programs and applications being used. One of the roles of the OS is to determine and allocate the length of processor time each task receives through the use of paging, segmentation and VM

#4
Front (Question)

Paging

Back (Answer)

when memory is split up into equal-sized sections known as pages, with programs being made up of a certain number of equally-sized pages. These can then be swapped between main memory and the HD as needed. Pages are physical divisions, equal sizes, made to fit memory.

#5
Front (Question)

Segmentation

Back (Answer)

splitting up the memory into logical sized divisions known as segments, which vary in size. These are representative of the structure and logical flow of the programs. Segments are logical divisions, different sizes, complete sections of programs

#6
Front (Question)

Similarities between paging and segmentation

Back (Answer)

-both allow programs to run despite insufficient memory pages and segments are stored on a disk pages and segments are transferred into memory when needed.

#7
Front (Question)

Virtual Memory

Back (Answer)

VM uses a section of the hard drive to act as RAM when the space in main memory is insufficient to store programs being used. Sections of programs that aren’t currently in use are temporarily moves into virtual memory through paging freeing up memory for other programs.

#8
Front (Question)

Key issue with VM, paging and segmentation

Back (Answer)

Disk thrashing - when the computer freezes and occurs as a result of pages being swapped too frequently between the HD and main memory. As a result more time is spent transferring the pages than is spent actually running the programs. The issue becomes progressively worse as VM is filled up. If this continues programs will likely lock up and not run. Improved by updating OS or getting more RAM

#9
Front (Question)

What is an Interrupt?

Back (Answer)

Interrupts are signals sent through the control bus to indicate to the processor that a process needs attention. Stored in order of their priority in a priority queue located in a special register called an interrupt register.

#10
Front (Question)

Interrupt Service Routine (ISR)

Back (Answer)

• The processor checks the contents of the interrupt register at the end of each FDE cycle. • If an interrupt exists of a higher priority than the process being executed, the current contents of the special purpose registers in the CPU are temporarily transferred into a stack. • A flag is sent to signal that the ISR has begun • Once interrupt serviced, flag is reset. • The Interrupt queue is checked again. If there are more interrupts of a higher priority, the ISR is repeated until all interrupts of higher priority have been serviced. • If there are no more, the contents of the stack are transferred back into the registers in memory. • The FDE cycle resumes as before.

#11
Front (Question)

What is Round Robin (scheduling)

Back (Answer)

Each job is given an equal section of processor time - known as a time slice - within which it s allowed to execute. Once each job has used its first time slice, the OS again grants each job a time slice. This continues until a job has been completed at which point it is removed from the queue.

#12
Front (Question)

Round Robin disadvantages

Back (Answer)

• longer jobs will take a much longer time for completion due to their execution being inefficiently split. • This doesn’t take into account of priorities.

#13
Front (Question)

What is First Come First Served

Back (Answer)

Jobs are processed in chronological order by which they entered the queue.

#14
Front (Question)

Disadvantages of First Come First Served

Back (Answer)

Although this is straight forward to implement, it doesn’t take into account priority.

#15
Front (Question)

Multi-level Feedback queues

Back (Answer)

Makes use of multiple queues which is ordered based on priority

#16
Front (Question)

Multi-level Feedback queues disadvantages

Back (Answer)

This can be difficult to implement due to deciding which job to prioritise based on a combination of priorities (Adv = services most interrupts first)

#17
Front (Question)

Shortest job first

Back (Answer)

The queue storing jobs to be processed is ordered according to the time required for completion, with the longest jobs being serviced at the end. This type is most suited to batch systems, where shorter jobs are given preference to minimise waiting time.

#18
Front (Question)

Shortest job first disadvantages

Back (Answer)

• requires the processor to know or calculate how long each job will take and this is not always possible. • also risk of processor starvation if shorter jobs continue being added to the job queue.

#19
Front (Question)

Shortest time remaining

Back (Answer)

the queue storing jobs to be processed is ordered according to the time left for completion, with the jobs with the least time left for completion being serviced first.

#20
Front (Question)

shortest time remaining disadvantages

Back (Answer)

• risk of processor starvation for longer jobs if short jobs are added to the job queue. • requires the processor to know or calculate how long left each job has left for completion which is not always possible.

#21
Front (Question)

Distributed OS

Back (Answer)

type of OS which run across multiple devices allowing the load to be spread across multiple computer processors when a task is run. e.g. internet

#22
Front (Question)

Embedded OS

Back (Answer)

OS built to perform a small range of specific tasks, this OS is catered towards a specific device. They are limited in their functionality. -hard to update although they consume significantly less power than other types of OS.

#23
Front (Question)

Why is scheduling necessary / needed

Back (Answer)

• To give each task a sufficient amount of processor time/ memory in order to execute to completion • reduces risk of processor starvation • uses resources efficiently • ensures that they are processed fairly • so there is a quick response time