OS Roles and functions (A1.3 Operating systems)

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/33

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

34 Terms

1
New cards

Operating system (OS)

- Manages computer hardware and software resources and provides common services for computer programs

- Intermediary between user and computer hardware = efficient and secure operation of system

2
New cards

I. ROLES

Primary roles of OS

3
New cards

ROLES: CPU management

Allocates CPU time to processes, ensure efficient execution

4
New cards

ROLES: Memory management

- Control and coordination of RAM

- Allocates memory to apps

5
New cards

Virtual memory (ROLES: Memory)

Memory-management technique: temporarily transfer inactive data (page/segments) from RAM to secondary (disk) storage to use more memory than physically available

- Memory management unit (MMU) - maps virtual address to physical memory

logical addresses to physical address in RAM or disk

- Physical RAM is full = OS swaps pages to move inactive pages from RAM to designated disk areas

- Paging - split memory into equal pages (sectors) to let non-contiguous segments fit in RAM

.vs Segmentation - organizing memory into variable-sized (not equal/fixed!) sections

- = execution of larger programs, multitasking

6
New cards

ROLES: Storage management

Organizes data on storage devices, reliable data storage and retrieval

- File management - storage (save), retrieval, organization, manipulation of data

.Structured way to manage files and directories = system stability and security

.Hierarchical file system/tree-like structure

.No 2 files in same directory may have same name

7
New cards

File extension (ROLES: Storage)

Suffix at end of filename that indicates file type and program associated with opening/processing file

8
New cards

Defragmentation (ROLES: Storage)

Reorganize fragmented data on HDD so files stored in contiguous blocks

- = ^ access speed

- Fragment - temp files scattered across different disk sectors from creating, modifying, deleting files (eg copy file creates tmp file of original file)

9
New cards

ROLES: Device management

Coordinate hardware devices and data transfer, provide drivers and interfaces

10
New cards

Device driver (ROLES: Device)

Specialized software for OS to communicate with and control hardware devices

- Plug and play (PnP) technology - OS automatically installs necessary drivers and settings (no need to do manually)

11
New cards

Buffering (ROLES: Device)

Use of temporary data storage (buffer) when speed mismatch between devices

- = Release same time

- Usually by RAM

- Ex: keyboard input vs CPU processing, video streaming vs display

12
New cards

Caching (ROLES: Device)

Store frequently used data in caches

13
New cards

Spooling (ROLES: Device)

Process of queuing/scheduling data/tasks in buffer,= processed sequentially

- System can work on other tasks in meantime

14
New cards

II. FUNCTIONS

Primary functions of OS

15
New cards

FUNCTIONS: Scheduling

Allocates CPU time to processes = efficient, fair system resources use

- Multitasking environments

- = optimize performance, reduce wait times, maintain system stability

- MINIMIZE:

.Response time - time for machine to respond to user input

.Waiting time - time user spends in queue waiting for that response

- MAXIMIZE:

.Throughput - # of completed processes per unit time

.CPU utilization: maximizing all resources

- see Scheduling quizlet in this folder for scheduling algorithms

16
New cards

Key challenges (FUNCTIONS: Scheduling)

Deadlock - 2/+ processes stuck forever, each waiting for other's resource

Thrashing - System spends most CPU time swapping pages, not doing real work

Starvation - process can't be supported by current resources (either lack of resources or resources are being dominated)

17
New cards

FUNCTIONS: Security

Protect confidentiality, availability, integrity of computer's resources and information so that users and applications can operate securely

18
New cards

User authentication (FUNCTIONS: Security)

Requires user credentials (username, password, biometric data)

- Authorization - permissions, access levels

.OS grants/prevents access based on user settings

.Access control lists (ACLs) - specifies which resources user/processes can access and can have operations

- = multi-user with different access credentials

19
New cards

Encryption (FUNCTIONS: Security)

Data can't be read without decryption key (even when intercepted by unauthorized)

- Eg files, communication channels, devices

20
New cards

Auditing and monitoring (FUNCTIONS: Security)

All system activities tracked by OS in log (auditing)

- Activities: users logging in, file access, system errors, admin actions

- = help admins detect suspicious activities and potential security breaches, identify issues and areas for improving system performance

21
New cards

Malware protection (FUNCTIONS: Security)

Included mechanisms to detect and prevent malware infections and intruders

- Include: antivirus software, firewalls, intrusion detection systems (IDS)

.Scan malicious software

.Monitor network traffic

.Block unauthorized access attempts

.Protect system from viruses, worms, trojans, etc

22
New cards

FUNCTIONS: Accounting

Monitor and manage usage of system resources

- Track resources consumption by users and processes = provide insights for system administrations

- = analyze performance, allocate costs, optimize resource utilization

23
New cards

Resource usage tracking (FUNCTIONS: Accounting)

CPU, memory, disk, network

24
New cards

Process accounting (FUNCTIONS: Accounting)

Process ID, user iD, execution time, start and end times, resource consumption

25
New cards

FUNCTIONS: Graphical user interface (GUI)

Allow intuitive user interaction with system (vs command line interface)

- Elements: windows, icons, buttons, cursors/pointers

26
New cards

Application management (FUNCTIONS: GUI)

Interaction with multiple applications

- = ^ user productivity, experience

- Task switching = move quickly between open applications

.Taskbar, application switcher (alt + tab) = efficient navigation

- Split-screen effect - snapping windows to edges/corners = multitasking

- Personalized and organized workspace: users can place icons, shortcuts, widgets in desktop environment

27
New cards

File and system management (FUNCTIONS: GUI)

Simplified through visual tools and interfaces

- GUI-based file management tool (eg File explorer) = navigate directories, view file properties, perform operations (copy, edit, delete, rename)

- Drag-and-drop functionality = user-friendly method to transfer data

28
New cards

Accessibility (FUNCTIONS: GUI)

- Screenreaders = text into speech/braille

- High-contrast themes, screen magnifiers = ^ readability for low vision

- Keyboard shortcuts = v reliance on mouse.touchpad, help limited mobility

29
New cards

Visual feedback (FUNCTIONS: GUI)

Helps users understand what's currently happening in system

- = ^ overall ux

- Include:

.Progress indicators - status of ongoing operations (progress bars, loading animation)

.Notifications

.Tooltips - small informative text boxes when hover over icons

30
New cards

Customization and personalization (FUNCTIONS: GUI)

- Widgets and gadgets - quick access to info/tools

- = ^ satisfaction and productivity

31
New cards

FUNCTIONS: Virtualization

Running multiple VMs (Virtual machines - computer inside a computer operate independently with own OS and apps) on single physical machine

- Why? Build IaaS, etc

32
New cards

Hypervisor (FUNCTIONS: Virtualization)

Software that creates VM by allowing multiple OS to run simultaneously on single physical machine (sharing hardware)

- Allocates CPU time, memory, storage to each VM

- = efficient resource use, each VM works as if on separate physical machine

33
New cards

Live migration (FUNCTIONS: Virtualization)

Move VM from one physical host to another without interrupting services

- = ^ load balancing and hardware maintenance

.Load balancing - process of distributing network/application traffic across multiple resources

.= ^ optimal performance,^ reliability and availability, prevent single server from being overwhelmed

34
New cards

FUNCTIONS: Networking

Establish and maintain network connections by managing network interfaces and protocols

- = enable devices to connect to LANs, WANs, internet

- Configures network settings

Explore top flashcards

Medical terma quiz 4
Updated 409d ago
flashcards Flashcards (44)
Skull
Updated 5h ago
flashcards Flashcards (47)
Integrals
Updated 665d ago
flashcards Flashcards (41)
Ch13-14 Civics
Updated 1034d ago
flashcards Flashcards (45)
List 35
Updated 1098d ago
flashcards Flashcards (35)
Medical terma quiz 4
Updated 409d ago
flashcards Flashcards (44)
Skull
Updated 5h ago
flashcards Flashcards (47)
Integrals
Updated 665d ago
flashcards Flashcards (41)
Ch13-14 Civics
Updated 1034d ago
flashcards Flashcards (45)
List 35
Updated 1098d ago
flashcards Flashcards (35)