1.5 Resource Management Flashcards

1
Q

An operating system is a ______ manager.

A

resource

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A program in execution is referred to as a ______.

A

process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A single-threaded process has one ______ specifying the next instruction to execute.

A

program counter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The resources that a process needs include CPU time, memory, files, and ______.

A

I/O devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When a process terminates, the operating system will reclaim any ______ resources.

A

reusable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A program is a passive entity, whereas a process is an ______ entity.

A

active

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The execution of a single-threaded process must be ______.

A

sequential

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A multithreaded process has multiple program counters, each pointing to the next instruction to execute for a given ______.

A

thread

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A system consists of a collection of processes, some of which are operating-system processes and the rest are ______ processes.

A

user

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The operating system is responsible for creating and deleting both user and ______ processes.

A

system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The operating system schedules processes and threads on the ______.

A

CPUs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

The operating system provides mechanisms for process ______.

A

synchronization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Processes can execute concurrently by multiplexing on a single CPU core or in ______ across multiple CPU cores.

A

parallel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Processes may be associated with the same program but are considered two separate ______ sequences.

A

execution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

The operating system provides mechanisms for process ______.

A

communication

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The main memory is central to the operation of a modern computer system and is a large array of _______.

A

bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Each byte in main memory has its own _______.

A

address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Main memory acts as a repository of quickly accessible data shared by the _______ and _______ devices.

A

CPU, I/O

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

During the instruction-fetch cycle, the CPU reads instructions from _______.

A

main memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

In a von Neumann architecture, the CPU both reads and writes data from _______.

A

main memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

The main memory is generally the only large storage device that the CPU can address and access _______.

A

directly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

For the CPU to process data from disk, the data must first be transferred to _______ by CPU-generated I/O calls.

A

main memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Instructions must be in _______ for the CPU to execute them.

A

memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

For a program to be executed, it must be mapped to absolute addresses and loaded into _______.

A

memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

As the program executes, it accesses program instructions and data from memory by generating these _______.

A

absolute addresses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

When a program terminates, its memory space is declared _______.

A

available

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

To improve CPU utilization and speed of response, general-purpose computers must keep several programs in _______.

A

memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

Memory management schemes reflect various approaches and the effectiveness of any given algorithm depends on the _______.

A

situation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

When selecting a memory-management scheme, we must consider many factors, especially the _______ design of the system.

A

hardware

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

Each memory management algorithm requires its own _______ support.

A

hardware

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

The operating system is responsible for keeping track of which parts of memory are currently being used and which _______ is using them.

A

process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

The operating system is responsible for _______ and deallocating memory space as needed.

A

allocating

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

The operating system decides which processes and data to move into and out of _______.

A

memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

The operating system provides a uniform, logical view of information storage to make the computer system convenient for users by abstracting from the physical properties of its storage devices to define a logical storage unit, the _______.

A

file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

File management is one of the most visible components of an _______.

A

operating system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

The most common type of storage is _______ storage.

A

secondary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

_______ storage is also possible alongside secondary storage.

A

Tertiary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

Each type of storage media has its own characteristics and physical _______.

A

organization

39
Q

Most storage media are controlled by a device, such as a _______.

A

disk drive

40
Q

Properties of storage devices include access speed, capacity, data-transfer rate, and access method (______ or random).

A

sequential

41
Q

A file is a collection of related information defined by its _______.

42
Q

Commonly, files represent programs (both source and object forms) and _______.

43
Q

Data files may be numeric, alphabetic, alphanumeric, or _______.

44
Q

Files may be free form (for example, text files) or they may be _______ rigidly.

45
Q

The concept of a file is an extremely general _______.

46
Q

The operating system implements the abstract concept of a file by managing _______ media and the devices that control them.

A

mass storage

47
Q

Files are normally organized into _______ to make them easier to use.

A

directories

48
Q

When multiple users have access to files, it may be desirable to control which user may access a file and how that user may access it (for example, ______, write, append).

49
Q

The operating system is responsible for creating and deleting _______.

50
Q

The operating system is responsible for creating and deleting _______ to organize files.

A

directories

51
Q

The operating system supports primitives for manipulating files and _______.

A

directories

52
Q

The operating system is responsible for mapping files onto _______ storage.

53
Q

The operating system is responsible for backing up files on _______ storage media.

A

stable (nonvolatile)

54
Q

Most modern computer systems use _______ and NVM devices as the principal on-line storage media.

55
Q

Programs such as compilers, web browsers, and games are stored on _______ until loaded into memory.

56
Q

The operating system is responsible for activities related to _______ storage management.

57
Q

One of the responsibilities of the operating system in secondary storage management is _______.

A

mounting and unmounting

58
Q

Efficient use of secondary storage is crucial because the entire speed of operation of a computer may hinge on the speeds of the _______.

A

secondary storage subsystem

59
Q

Some uses for storage that is slower and lower in cost than secondary storage include _______ of disk data.

60
Q

Tertiary storage devices include _______ drives and their tapes.

A

magnetic tape

61
Q

An example of a tertiary storage device is _______.

A

CD, DVD, or Blu-ray

62
Q

Tertiary storage is not crucial to system performance, but it still must be _______.

63
Q

Some operating systems manage tertiary storage while others leave this task to _______.

A

application programs

64
Q

Functions that operating systems can provide for tertiary storage include _______ and unmounting media.

65
Q

The operating system can allocate and free devices for _______ use by processes.

66
Q

Migrating data from secondary to _______ storage is a function of some operating systems.

67
Q

Information is normally kept in some storage system such as _______.

A

main memory

68
Q

When we need a particular piece of information, we first check whether it is in the _______.

69
Q

If the information is not in the cache, we use the information from the _______.

70
Q

Internal programmable _______ provide a high-speed cache for main memory.

71
Q

The programmer or compiler implements the _______ and register-replacement algorithms.

A

register allocation

72
Q

Most systems have an _______ cache to hold the instructions expected to be executed next.

A

instruction

73
Q

Without the instruction cache, the CPU would have to wait several cycles while an instruction was fetched from _______.

A

main memory

74
Q

Cache management is an important design problem due to the _______ of caches.

A

limited size

75
Q

Careful selection of the cache size and of a _______ can result in greatly increased performance.

A

replacement policy

76
Q

The movement of information between levels of a storage hierarchy may be either _______ or implicit.

77
Q

Data transfer from cache to CPU and registers is usually a _______ function.

78
Q

Transfer of data from _______ to memory is usually controlled by the operating system.

79
Q

In a hierarchical storage structure, the same data may appear in different _______ of the storage system.

80
Q

The increment operation proceeds by first issuing an I/O operation to copy the disk block on which A resides to _______.

A

main memory

81
Q

The value of A becomes the same only after the new value of A is written from the internal register back to the _______.

82
Q

In a multitasking environment, extreme care must be taken to ensure that each process obtains the most recently updated value of _______.

83
Q

In a multiprocessor environment, each of the CPUs contains a local _______.

84
Q

The situation where an update to the value of A in one cache is reflected in all other caches is called _______.

A

cache coherency

85
Q

In a distributed environment, several copies of the same file can be kept on _______.

A

different computers

86
Q

Some distributed systems ensure that when a replica is updated in one place, all other replicas are brought _______ as soon as possible.

A

up to date

87
Q

One of the purposes of an operating system is to hide the peculiarities of specific hardware devices from the _____.

88
Q

In UNIX, the peculiarities of I/O devices are hidden from the bulk of the operating system itself by the _____.

A

I/O subsystem

89
Q

The I/O subsystem consists of several components, including a memory-management component that includes _____, caching, and spooling.

90
Q

The I/O subsystem includes a general _____ interface.

A

device-driver

91
Q

Only the _____ knows the peculiarities of the specific device to which it is assigned.

A

device driver

92
Q

Interrupt handlers and device drivers are used in the construction of efficient _____ subsystems.

93
Q

The I/O subsystem interfaces to the other system components, manages devices, transfers data, and detects _____ completion.