OPS 1-4

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

1/211

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:10 PM on 3/28/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

212 Terms

1
New cards

Operating System

Chief software component of a computer system; manages hardware and software, acts as an interface between user and system, schedules tasks, manages storage, controls and manages computer resources, and makes the computer system convenient to use effectively.

2
New cards

Computer system

A system made up of hardware, operating system, application programs, and users.

3
New cards

Components of a computer system

Hardware, Operating System, Application Programs, and Users.

4
New cards

Hardware

Tangible machine or electronic components that provide the basic computing resources such as CPU, memory, and I/O devices.

5
New cards

Operating system component role

Controls and coordinates the use of hardware among the various application programs for the various users.

6
New cards

Application programs

Programs that define the ways in which system resources are used to solve users’ computing problems; examples include compilers, database systems, video games, and business programs.

7
New cards

Users

People, machines, or other computers that use the system.

8
New cards

Three types of program

User/application program, system program, and driver program.

9
New cards

User/application program

Programs used by users to perform tasks; example: MS Office.

10
New cards

System program

Program that acts as an interface between user and computer; examples include BIOS, defragmentation, and system restore tools.

11
New cards

Driver program

Program that communicates an I/O device with the computer.

12
New cards

Four subsystem managers of OS

Memory manager, Processor manager, Device manager, and File manager.

13
New cards

Network manager

Coordinates the services required for multiple systems to work cohesively together and manages shared network resources such as memory space, processors, printers, databases, and applications.

14
New cards

User command interface

Provides user communication with the operating system so the user can issue commands; it is unique to each OS and may vary between versions.

15
New cards

Two primary user command interface types

Graphical User Interface (GUI) and Command Line Interface (CLI).

16
New cards

Graphical User Interface (GUI)

A user command interface that allows interaction through graphical elements.

17
New cards

Command Line Interface (CLI)

A user command interface that allows interaction through typed commands.

18
New cards

Tasks of a manager

Monitor resources continuously, enforce policies determining who gets what when and how much, allocate the resource when appropriate, and de-allocate the resource when appropriate.

19
New cards

Memory manager

OS manager in charge of main memory (RAM).

20
New cards

Functions of the memory manager

Preserves space in main memory occupied by the OS, checks validity and legality of memory requests, allocates memory to processes, de-allocates memory when processes finish, sets up a memory tracking table, and tracks usage of memory by sections.

21
New cards

Processor manager

OS manager in charge of allocating the CPU and managing processes.

22
New cards

Functions of the processor manager

Tracks process status, handles jobs as they enter the system through the Job Scheduler, manages creation and deletion of processes, and manages each process within jobs through the Process Scheduler.

23
New cards

Device manager

OS manager in charge of monitoring peripheral devices, channels, and control units.

24
New cards

Functions of the device manager

Chooses the most efficient resource allocation method, allocates and de-allocates devices, follows scheduling policy, handles I/O devices, and accepts input from the user and gives corresponding output.

25
New cards

File manager

OS manager in charge of files stored on disk.

26
New cards

Functions of the file manager

Tracks every file in the system, controls user/program modification restrictions, enforces user/program resource access restrictions, allocates resources such as opening files, and de-allocates resources such as closing files.

27
New cards

Cooperation issues in operating systems

No single manager performs tasks in isolation; each part performs individual tasks and also interacts harmoniously with other managers.

28
New cards

Cloud computing

Practice of using Internet-connected resources to perform processing, storage, or other operations while the operating system still manages local resources and coordinates data transfer to and from the cloud.

29
New cards

Why use cloud computing

Social networking, e-mail services, document hosting, backup services, banking and financial services, health care, and government services.

30
New cards

Types of operating systems

Batch processing, Time-sharing, Hybrid OS, Real-time OS, Distributed OS, Embedded OS, and Interactive OS.

31
New cards

Two distinguishing features of operating systems

Response time and how data enters into the system.

32
New cards

Batch processing OS

OS type in which jobs are processed in batches.

33
New cards

Time-sharing OS

OS type that shares computing time among users or jobs.

34
New cards

Hybrid OS

OS type that combines features of more than one operating system style.

35
New cards

Real-time OS

OS type that operates under strict timing requirements and deadlines.

36
New cards

Distributed OS

OS type that manages multiple systems so they work together as one coordinated system.

37
New cards

Embedded OS

OS type designed for dedicated or embedded devices.

38
New cards

Interactive OS

OS type designed for direct interaction with the user.

39
New cards

Multiprocessing

Allows parallel program execution; two or more CPUs handle jobs.

40
New cards

Multitasking

Handling two or more programs at the same time from the user’s perception; the CPU performs one task at a time but runs so fast that jobs seem simultaneous.

41
New cards

Multiprogramming

Two or more programs are stored in main memory at the same time; when one waits for I/O, the CPU switches to another job and later returns to the waiting job.

42
New cards

Goal of multiprogramming

Efficiently utilize all computing resources.

43
New cards

Most common overall OS goal

Maximize use of system resources such as memory, processing, devices, and files, and minimize downtime.

44
New cards

Design considerations of an OS

RAM resources, number and type of CPUs, likely peripheral devices, networking capability, and security requirements.

45
New cards

Program

A non-active set of instructions stored on disk.

46
New cards

Job

A program from the moment it is selected for execution until it has finished running and becomes a program again; also described as a unit of work submitted by a user.

47
New cards

Process

A program in execution; an active entity that requires resources to perform its function.

48
New cards

Thread

A portion of a process that runs independently; a process can be made up of several threads.

49
New cards

Processor (CPU)

Performs calculations and executes programs.

50
New cards

Memory management

Management of main memory; critical because entire system performance depends on how much memory is available and how well memory is optimized during job processing.

51
New cards

Logical address

A value generated by the CPU that specifies a generic location relative to the program; sometimes called a virtual or relative address.

52
New cards

Physical address

An actual address in main memory; it is the logical address added to the starting location of the program in main memory.

53
New cards

Operating systems must employ memory techniques to

Track where and how a program resides in memory and convert logical addresses into physical addresses.

54
New cards

Four memory allocation schemes

Single-user contiguous scheme, Fixed partitions, Dynamic partitions, and Relocatable dynamic partitions.

55
New cards

Single-user contiguous scheme

Early memory allocation scheme where the entire program is loaded into memory in one contiguous space and jobs are processed sequentially.

56
New cards

How the single-user contiguous scheme works

The memory manager evaluates incoming process size, loads it if it fits, otherwise rejects it and checks the next process; when the process ends, the entire memory space becomes available again.

57
New cards

Disadvantages of single-user contiguous scheme

No support for multiprogramming or networking, not cost-effective for business, and the program size must be less than memory size to execute.

58
New cards

Fixed partitions

Memory allocation scheme in which main memory is partitioned at system startup into static partitions, with one contiguous partition per job.

59
New cards

Features of fixed partitions

Permits multiprogramming, partition sizes remain static, and the system must be shut down to reconfigure partitions.

60
New cards

Fixed partition requirements

Protection of the job’s memory space and matching job size with partition size.

61
New cards

Job allocation method in fixed partitions

First available partition with required size.

62
New cards

Disadvantages of fixed partitions

Requires contiguous loading of the entire program, arbitrary partition sizes lead to undesired results, large jobs have longer turnaround time, and oversized partitions waste memory through internal fragmentation.

63
New cards

Internal fragmentation

Wasted memory inside an allocated partition, usually because the partition is larger than the job placed in it.

64
New cards

Dynamic partitions

Memory allocation scheme where memory is partitioned as jobs are loaded and each job is given the memory it requests in one contiguous partition.

65
New cards

Job allocation method in dynamic partitions

First come, first served allocation method.

66
New cards

Advantage of dynamic partitions

Comparative memory waste within partitions is small because jobs are given the memory they request.

67
New cards

Disadvantages of dynamic partitions

Full memory utilization occurs only during loading of the first jobs; later allocations can waste memory and lead to external fragmentation between blocks.

68
New cards

External fragmentation

Wasted memory that exists as fragments or holes between allocated blocks.

69
New cards

Relocatable dynamic partitions

Memory allocation scheme that allows jobs to be moved during compaction so free memory can be gathered together.

70
New cards

Free list after relocation

Must show the partition for the new block of free memory.

71
New cards

Busy list after relocation

Must show the new locations for all jobs already in process that were relocated.

72
New cards

Bounds register

Stores the highest or last location accessible by each program.

73
New cards

Relocation register

Contains the value that must be added to each address referenced in the program so the system can access the correct memory addresses after relocation.

74
New cards

Relocation register when a program is not relocated

Zero is stored in the program’s relocation register.

75
New cards

Purpose of compaction and relocation

Optimizes use of memory and improves throughput.

76
New cards

Options for timing of compaction

When a certain percentage of memory is busy, when there are jobs waiting to get in, or after a prescribed amount of time has elapsed.

77
New cards

Goal when deciding compaction timing

Optimize processing time and memory use while keeping overhead as low as possible.

78
New cards

Memory allocation methods / algorithms in Chapter 2

First-Fit and Best-Fit are emphasized in the outline; the uploaded HTML notes also include Worst-Fit and Next-Fit in the lab/homework area.

79
New cards

First-Fit

Allocates a job to the first block or partition that is large enough.

80
New cards

Best-Fit

Allocates a job to the smallest available block or partition that is large enough.

81
New cards

Worst-Fit

Allocates a job to the largest available block or partition; included in the uploaded HTML lab material.

82
New cards

Next-Fit

Allocation method that starts searching from the last allocation point; included in the uploaded HTML homework section and identified in the past paper as hypothetical.

83
New cards

Deallocation

Release of memory space by the Memory Manager.

84
New cards

Three cases in deallocating an allotted memory block

The block to be deallocated is next to a free block, between free blocks, or isolated from other free blocks.

85
New cards

Virtual memory systems outline

Paged Memory Allocation, Demand Paging Memory Allocation, Page Replacement Policies, FIFO, LRU, MRU, Mechanics of Paging, Working Set, Segmented Memory Allocation, Virtual Memory, and Cache Memory.

86
New cards

Foundation of current virtual memory methods

Paged, demand paging, segmented, and segmented/demand paging methods.

87
New cards

Paged memory allocation

Memory allocation in which an incoming job is divided into pages of equal size and stored in non-contiguous page frames.

88
New cards

Best condition for paged memory allocation

Pages, sectors, and page frames should be the same size.

89
New cards

Memory manager tasks before program execution in paging

Determine number of pages in the program, locate enough empty page frames in main memory, and load all program pages into page frames.

90
New cards

Advantage of paged memory allocation

More efficient memory use and elimination of compaction because there is no external fragmentation.

91
New cards

New problem introduced by paging

Increased operating system overhead due to the need to keep track of the job’s pages.

92
New cards

Internal fragmentation in paging

Occurs only in the job’s last page frame.

93
New cards

Three tables used to track pages

Job Table (JT), Page Map Table (PMT), and Memory Map Table (MMT).

94
New cards

Job Table (JT)

Contains information for each active job, including job size and the memory location of the job’s PMT.

95
New cards

Page Map Table (PMT)

Contains information for each page, including page number and memory address.

96
New cards

Memory Map Table (MMT)

Contains one entry for each page frame, including location and free/busy status.

97
New cards

Line displacement / offset

The line distance showing how far away a line is from the beginning of its page; used to locate that line within its page frame.

98
New cards

How to determine page number and displacement

Divide the job space address by the page size; page number is the integer quotient and displacement is the remainder.

99
New cards

Demand paging

Memory allocation technique where only the pages needed at a given time are brought into memory rather than the whole program.

100
New cards

Demand paging advantage

Less memory is needed for a job at one time because only needed pages are loaded.

Explore top flashcards

flashcards
Niemiecki - 7.03
65
Updated 382d ago
0.0(0)
flashcards
Kapitel 2.2
52
Updated 1212d ago
0.0(0)
flashcards
Ap world unit 8 vocab
64
Updated 1082d ago
0.0(0)
flashcards
Human Evolution Unit 1
46
Updated 1132d ago
0.0(0)
flashcards
Executive Branch Zehe Test Prep
60
Updated 837d ago
0.0(0)
flashcards
exam 2 - id
48
Updated 168d ago
0.0(0)
flashcards
Niemiecki - 7.03
65
Updated 382d ago
0.0(0)
flashcards
Kapitel 2.2
52
Updated 1212d ago
0.0(0)
flashcards
Ap world unit 8 vocab
64
Updated 1082d ago
0.0(0)
flashcards
Human Evolution Unit 1
46
Updated 1132d ago
0.0(0)
flashcards
Executive Branch Zehe Test Prep
60
Updated 837d ago
0.0(0)
flashcards
exam 2 - id
48
Updated 168d ago
0.0(0)