topic 2

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/246

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:23 PM on 5/25/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

247 Terms

1
New cards

operating system

a fundamental software that manages the computer hardware, provides common services for computer programs, and acts as an interface between users and the machine

2
New cards

why do we need Operating systems

it is essential for managing the hardware and software resources of a computer system.

3
New cards

main functions of an operating system

resource management, file management, interrupt handling, security, providing a user interface, providing utilities, providing a platform for software to run

4
New cards

resource management

operating systems manage the computer’s resources. They allocate resources to specific tasks and ensure they are used effectively

5
New cards

what computer resources does the OS manage

CPU, memory, disk drives and printers

6
New cards

file management

operating systems handle the storage, retrieval and manipulation of data files.

7
New cards

how do OS allow users to work with files

it provides a GUI of the file system that allows a user to decide which directory a file should be saved in and what the file name will be.

8
New cards

interrupt handling

the OS handles interrupts and processes them in a timely manner to maintain the smooth running of the system

9
New cards

security

OS provides various security features such as password-protected system accounts, virus scanning and file encryption

10
New cards

how can password protected system accounts be useful for security.

system accounts can be restricted from performing certain actions such as editing network settings or installing unapproved software

11
New cards

providing a platform for software to run

operating systems provide a platform on which application software can run, this is mainly by allowing software access to system resources.

12
New cards

providing a user interface

operating systems provide interaction in 2 ways, through a GUI or text-based via a command-line interface .

13
New cards

features of a GUI

windows, icons, menus, pointer

14
New cards

command line interface

instructions and commands are typed into the interface

15
New cards

file encryption

allows users to send files over networks securely

16
New cards

file compression

reduces the size of a file , which helps send large files over a network

17
New cards

disk cleanup

scans the hard disk for duplicate and corrupt files and deletes them to create ore space on the disk

18
New cards

memory management

fundamental role of the OS, dealing with the allocation and deallocation of the computer’s primary memory

19
New cards

benefits of memory management

efficient allocation of memory enables multitasking,

memory management maintains security, it doesn’t let programs access memory reserved for other programs

20
New cards

memory management techniques

paging, segmentation, virtual memory

21
New cards

paging

paging is the process of dividing the primary memory into fixed equal sized blocks called pages

22
New cards

advantages of paging

facilitates efficient memory management and enables the use of virtual memory

23
New cards

drawbacks of paging

can lead to internal fragmentation as unused space in a page is wasteful as other unrelated data can’t be stored in the page and more pockets of wasted space will exist across the memory

24
New cards

segmentation

a method of dividing memory into variable-sized segments based on logical parts of a process

25
New cards

difference between paging and segmentation

pages are physical divisions and are fixed in size, segments are logical divisions and variable in size

26
New cards

virtual memory

using hard drive space as an extension of ‘RAM’ . Data is offloaded to VM when Primary memory is almost full

27
New cards

advantages of segmentation

allows for intuitive and efficient memory access

28
New cards

disadvantage of segmentation

this can result in external fragmentation , as segments fill up the memory the physical gaps reduce the maximum size of new segments that can be allocated

29
New cards

advantages of virtual memory

allows more extensive programs to be run and facilities effective multitasking

30
New cards

disadvantages of virtual memory

slower to access than physical memory, which degrades performance if overused.

31
New cards

interrupts

a signal to the processor that stops its current task and performs a different task temporarily

32
New cards

groups of interrupts

hardware events or time-sensitive tasks

33
New cards

what happens when an interrupt occurs

the processor suspends the current program execution and transfers control to an interrupt service routine

34
New cards

types of interrupts

hardware interrupts, software interrupts, trap interrupts

35
New cards

purpose and role of interrupts

real-time event handling, device communication , multitasking

36
New cards

real-time event handling

hardware errors and signals from input devices

37
New cards

device communication

alerts from external devices

38
New cards

multitasking

suspending processing in one application so that the user can switch to another

39
New cards

hardware interrupt

generated by external devices

40
New cards

software interrupts

triggered by software or the operating system

41
New cards

trap interrupts

intentionally triggered by a program

42
New cards

ISR - interrupt service routine

a special function that handles a particular interrupt type.

43
New cards

interrupt prioritisation

the processor can acknowledge and switch to resolving a higher-priority interrupt.

44
New cards

nesting of interrupts

ability of processor to handle interrupts within interrupts

45
New cards

scheduling

deciding which tasks to process, for how long and in what order is achieved through scheduling algorithms

46
New cards

types of OS scheduling algorithms

round robin, first come first serve, shortest remaining time, shortest job first, multilevel feedback queues

47
New cards

round robin

each job is given a time slice to use the CPU. if the job has not completed by the end of its time slice, the next job is allocated a time slice

48
New cards

first come first serve

the first job to arrive is executed until it is completed

49
New cards

shortest remaining time

the time to execute each task is estimated . the job with the shortest estimated time is executed meaning that a shorter new job can take over the current process

50
New cards

shortest job first

the time to execute each task is estimated. the job with the smallest execution time is executed until it is completed. then the next shortest task is scheduled.

51
New cards

multilevel feedback queues

multiple queues are created. each queue has a different priority level. If a job uses too much CPU time, it is moved down to a lower priority queue.

52
New cards

benefits of round robin

  • all processes get a fair share of the CPU

  • good for time-sharing systems

53
New cards

drawbacks of round robin

  • choosing the right period of time can be difficult

  • can lead to high turnaround time and waiting time for longer tasks

54
New cards

benefits of first come, first served

  • simple and easy to understand

  • fair in the sense that processes are served in the order they arrive

55
New cards

benefits of multi-level feedback queues

  • smaller tasks are prioritised

  • creates a prioritisation system where similar-sized tasks are queued together

56
New cards

drawbacks of multi-level feedback queues

  • more complex than other algorithms

  • setting the correct parameters can be complicated

57
New cards

benefits of shortest job first

  • minimises waiting time

  • efficient and fast for short processes

58
New cards

drawbacks of shortest job first

  • can cause starvation of longer processes

  • requires estimation of the task in advance

59
New cards

advantage of shortest time remaining

  • ideal for jobs that have shorter estimated times

  • minimal waiting time - provides lowest average waiting time

60
New cards

disadvantages of shortest time remaining

  • requires estimation of time to execute each task

  • starvation of longer tasks

61
New cards

types of operating systems

distributed , embedded, multi-tasking, multi-user, real-time

62
New cards

distributed operating systems

run on multiple machines appearing as a single unit, used for efficient task distribution and load balancing

63
New cards

embedded operating systems

Designed for specific tasks, is the system running inside a device that is not primarily a computer system

64
New cards

multi-tasking operating systems

Allows multiple tasks to run concurrently on a single processor, manages system resources and allocates CPU time to different processes

65
New cards

multi-user operating systems

Supports multiple users accessing computer resources concurrently, efficiently manages resource allocation, and provides features for data security and user privacy

66
New cards

real-time operating systems

Designed for immediate data processing, and can ensure tasks are processed in specific timeframes, highly efficient

67
New cards

BIOS

basic input / output system of a computer. The first program that runs when computer system is switched on. It initialises hardware and performs a POST.

68
New cards

what is POST

power-on-self-test. A diagnostic testing sequence that ensures all the hardware components are working properly.

69
New cards

what happens if bios encounters ant errors during this test

will either halt the boot process or issue an error message

70
New cards

what happens if the POST succeeds

BIOS will run the bootstrap loading sequence which its the program responsible for starting the OS

71
New cards

device drivers

a piece of software that enables communication between an operating system and specific hardware devices by translating instructions.

72
New cards

why is a device driver so important

allows the OS to control and interact with different devices, and perform specific operations.

73
New cards

what problem can the device driver solve

the fact that every manufacturer of a device has its own standard, device drivers enables the device to communicate with various computer systems.

74
New cards

virtual machine

a software-based emulation of a physical computer that runs an operating system and applications

75
New cards

uses of virtual machines

cross-platform compatibility, software testing, legacy support

76
New cards

cross-platform and legacy support

not all software is designed to run on all OS, so a virtual machine of different OS can be used.

After new updates of an OS, a virtual machine of the previous OS can be used to access it

77
New cards

in software testing of virtual machines

VMs are a way to create isolated test environments that leaves the host OS unaffected

78
New cards

what do isolated environments allow a developer to do

monitor the way their software affects system performance, test on a clean-slate system while no other applications are running

79
New cards

what can VM management software do

create virtual machines that act like they have older hardware. This allows developers to build software that can be run on older hardware so that more users can use the software.

80
New cards

how else can developers use Virtual machines

to test against various oS for greater compatibility

81
New cards

intermediate code

code generated through compilation and allows programs to run across different OS

82
New cards

benefits of virtual machines

allows software to run of different OS

supports legacy applications

provides isolated test environments

83
New cards

drawbacks of virtual machines

uses system resources such as CPU, RAM and storage from the host machine

performance is usually slower than running software directly on physical hardware

complex to set up and manage

84
New cards

applications

software designed to perform a specific task or tasks for a user

85
New cards

utility software

software designed to help analyse, configure, optimise or maintain a computer.

86
New cards

utility software types

disk defragmentation, file management, device driver, system cleanup, firewall, anti-malware, compression, back up

87
New cards

disk defragmentation role

to rearrange files on the disc drive to increase efficiency.

88
New cards

file management role

software used to organize, search, rename and relocate files stored on the system

89
New cards

system cleanup role

software used to free up space on the system by removing unnecessary files and data.

90
New cards

firewall

software that manages incoming and outgoing network traffic and prevent malicious request from other devices

91
New cards

compression

software that reduces size of files

92
New cards

back up

software that automatically makes copies of specific data to cloud or physical storage

93
New cards

anti-malware

software that detects, quarantines and removes malicious programs

94
New cards

open source

software that can be used by anyone without a license and is ​distributed with the source code​.

95
New cards

closed source

closed source code requires the user to hold an appropriate license to use it , users cannot access the source code

96
New cards

benefit and drawback of open source to creator

  • benefit : collaboration, community engagement and faster innovation

  • drawback: less control , burdened with requests from users

97
New cards

benefit and drawback of closed source to creator

  • benefit: greater control, revenue through sales, IP protection

  • drawback: slower innovation, full responsibility for updates and flaws

98
New cards

benefit and drawback of open source for user

  • benefit : free, customisable and transparent

  • drawback : might be less user-friendly, compatibility issues and bugs

99
New cards

benefit and drawback of closed source for user

  • benefit : more polished products, professional support and consistency in updates

  • drawbacks : costly, less customisable

100
New cards

translator

software that converts source code from a high level language to a low level language