OS Introduction

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

1/102

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:11 AM on 6/14/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

103 Terms

1
New cards

What was IBM System/360

An early computer system whose operating system could run on different hardware platforms. Resource-management issues nearly bankrupted IBM.

2
New cards

What is an operating system

A program that runs on raw hardware and acts as an intermediary between users and the computer.

3
New cards

What is an extended machine

The OS hides hardware complexity and presents users with an easier-to-use virtual machine.

4
New cards

What is an abstraction layer

A layer that simplifies and hides low-level hardware details from users and programs.

5
New cards

What is the operating system's role as a resource manager

It allocates hardware resources such as CPU time and memory among programs.

6
New cards

What are two potentially conflicting goals of an operating system

Using hardware efficiently and giving maximum performance to each user.

7
New cards

What is the difference between a mechanism and a policy

Mechanisms provide functionality; policies determine which goals are prioritized.

8
New cards

What characterized first-generation computers (1945-1955)

They used vacuum tubes and plug boards.

9
New cards

What are vacuum tubes

Fragile electronic components that consume lots of power, generate heat, and fail often.

10
New cards

What characterized second-generation computers (1955-1965)

They used transistors and batch processing systems.

11
New cards

What advantages did transistors provide

They were more reliable, energy-efficient, and space-efficient than vacuum tubes.

12
New cards

What is a batch system

A system where jobs are collected and processed sequentially without user interaction.

13
New cards

What characterized third-generation computers (1965-1980)

They used integrated circuits and supported multiprogramming.

14
New cards

What are integrated circuits

Chips containing multiple transistors that make computers cheaper and more capable.

15
New cards

What is multiprogramming

Keeping multiple jobs in memory and switching among them to improve CPU utilization.

16
New cards

What characterized fourth-generation computers (1980-present)

The personal computer era enabled by large-scale integration.

17
New cards

What characterized fifth-generation computers (2001-present)

Systems connected by high-speed networks supporting distributed resource management.

18
New cards

What is direct input computing

A system where jobs were manually entered, executed, and results recorded one at a time.

19
New cards

What problem existed with first-generation systems

Large amounts of computer time were wasted while entering jobs and recording results.

20
New cards

What was the goal of early operating systems

To maximize utilization of expensive computer resources.

21
New cards

What role did the IBM 1401 play in batch systems

It read punch cards onto magnetic tape and printed results from output tapes.

22
New cards

What role did the IBM 7094 play in batch systems

It executed jobs stored on input tapes and generated output tapes.

23
New cards

What is the structure of a typical second-generation job

A job control card, program code card(s), and data card(s).

24
New cards

What is spooling

Simultaneous Peripheral Operations On-Line; overlapping I/O of one job with execution of another.

25
New cards

What is the benefit of spooling

It improves CPU utilization by reducing idle time.

26
New cards

What is a limitation of spooling

Only one job is actively executing at a time.

27
New cards

How does multiprogramming share resources

CPU time and hardware resources are divided among multiple jobs.

28
New cards

How does multiprogramming improve performance

If one job waits for I/O, the OS switches to another ready job.

29
New cards

What is interactive computing

Computing that allows users to interact directly with running programs.

30
New cards

What is timesharing

Multiprogramming combined with interactive real-time scheduling.

31
New cards

What is the purpose of timesharing

To give users the illusion that their programs are running continuously.

32
New cards

What is a benefit of timesharing

Faster debugging and shorter turnaround times.

33
New cards

What is a drawback of timesharing

It wastes some CPU time due to frequent context switching.

34
New cards

What is an example of a mainframe operating system

MVS.

35
New cards

What are examples of server operating systems

FreeBSD, Solaris, and Linux.

36
New cards

What is an example of a multiprocessor operating system

Cellular IRIX.

37
New cards

What are examples of personal computer operating systems

macOS, Windows, and Linux.

38
New cards

What is an example of a real-time operating system

VxWorks.

39
New cards

What is a real-time operating system

An OS that guarantees a specified amount of CPU time within a given period.

40
New cards

What is an example of an embedded operating system

Raspbian running on a Raspberry Pi.

41
New cards

What are smart card operating systems

Highly scaled-down operating systems optimized for speed and small size.

42
New cards

What are the main components of a simple PC

CPU, RAM, and device/network controllers.

43
New cards

What is the storage pyramid

A hierarchy of storage technologies with varying capacity and latency.

44
New cards

What is the goal of the storage pyramid

To provide the illusion of large, low-latency memory.

45
New cards

How do latency and capacity change in the storage hierarchy

Latency decreases toward the top while capacity increases toward the bottom.

46
New cards

What is caching

Moving frequently used data into faster storage to improve performance.

47
New cards

What is virtual memory

A memory management technique that creates the illusion of more memory than physically exists.

48
New cards

What is a disk platter?

A circular disk surface used to store data.

49
New cards

How many surfaces can a disk platter have?

Up to two.

50
New cards

What is a track on a disk?

A concentric circle where data is stored.

51
New cards

What is a sector?

A subdivision of a track that stores a fixed amount of data.

52
New cards

What is a cylinder?

The set of corresponding tracks across all disk surfaces.

53
New cards

What is a disk head?

A component that reads and writes data on disk surfaces.

54
New cards

What does an actuator do?

Moves disk heads across tracks.

55
New cards

Why do operating system designers care about disk structure?

File system design is heavily influenced by physical disk layout.

56
New cards

Why is memory protection necessary for multiprogramming?

To prevent one process from interfering with another.

57
New cards

What happens if a process wants more memory than allocated?

It is not allowed to exceed its memory bounds.

58
New cards

What is memory protection?

A mechanism that prevents processes from accessing memory outside their assigned region.

59
New cards

What is a base register?

A register that stores the starting address of a process's memory region.

60
New cards

What is a limit register?

A register that stores the size or upper boundary of a process's memory region.

61
New cards

What is a single base/limit pair?

One set of registers used to define a process's memory range.

62
New cards

What are two base/limit registers used for?

Separating program code and data memory regions.

63
New cards

What advantage do two base/limit registers provide?

Multiple users can run the same code with different data.

64
New cards

What is the hardware sequence of a device request?

Request → Controller → Device → Interrupt Controller → CPU.

65
New cards

What is an interrupt?

A signal indicating that a device requires CPU attention.

66
New cards

What does an interrupt controller do?

Notifies the CPU when an interrupt occurs.

67
New cards

What is an interrupt vector table?

A table that tells the CPU which interrupt-handling routine to execute.

68
New cards

How does the OS create the illusion of multiple programs running?

By rapidly switching the CPU among processes.

69
New cards

What is a process?

A program in execution with its own protected memory context.

70
New cards

What is a thread?

An execution unit that shares memory with other threads in the same process.

71
New cards

What is a process tree?

A structure that tracks parent-child relationships among processes.

72
New cards

What is deadlock?

A situation where processes cannot proceed because each is waiting for resources held by another.

73
New cards

Why is deadlock harmful?

Resources are tied up and no process can make progress.

74
New cards

What is a file system?

A method for organizing and storing files on storage devices.

75
New cards

What is a directory tree?

A hierarchical structure used to organize files and directories.

76
New cards

What is a pipe?

A communication channel that transfers data between processes.

77
New cards

How was a pipe described in class?

A file with no name and no storage space allocated to it.

78
New cards

What is a process's address space?

The memory that a process is allowed to access.

79
New cards

What is a process's state?

The contents of registers and memory associated with a process.

80
New cards

What information is stored in a process state?

Register values, memory contents, the program counter, and stack pointer.

81
New cards

What is a process table?

A data structure used by the operating system to track all active processes.

82
New cards

Can processes create other processes?

Yes, parent processes can create child processes.

83
New cards

What are the three segments of a process?

Text, Data, and Stack.

84
New cards

What is stored in the text segment?

Executable program code.

85
New cards

What is stored in the data segment?

Global variables, static variables, heap memory, and dynamically allocated memory.

86
New cards

What is stored in the stack segment?

Local variables and procedure call information.

87
New cards

Where is memory allocated by malloc() or new stored?

In the data segment (heap).

88
New cards

What is the heap?

The area of memory used for dynamic allocation.

89
New cards

Does the text segment grow?

No.

90
New cards

In which direction does the data segment grow?

Upward in memory.

91
New cards

In which direction does the stack grow?

Downward in memory.

92
New cards

Why do the stack and data segment grow toward each other?

To allow flexible memory usage without preallocating space.

93
New cards

What is a real-world example of deadlock?

Trucks entering an intersection from all directions and blocking each other.

94
New cards

What is interprocess communication (IPC)?

Mechanisms that allow processes to exchange information.

95
New cards

What synchronization issue can IPC create?

Processes may interfere with each other when sharing data.

96
New cards

What are examples of IPC mechanisms?

Networks and pipes.

97
New cards

What is privileged mode?

A CPU mode where the operating system can perform restricted operations.

98
New cards

What operations require privileged mode?

Accessing devices and changing memory allocations.

99
New cards

What is user mode?

A restricted CPU mode where application programs execute.

100
New cards

Why can't user programs directly access hardware?

Those operations require privileged mode.