Chapter 6 Key Terms Flashcards

(25 cards)

1
Q

a method by which processes, waiting for an event to occur, continuously test to see if the condition has changed and remain in unproductive, resource consuming wait loops.

A

busy waiting

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

command used with COEND to indicate to a multiprocessing compiler the beginning of a section where instructions can be processed concurrently.

A

COBEGIN

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

command used with COBEGIN to indicate to a multiprocessing compiler the end of a section where instructions can be processed concurrently.

A

COEND

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

execution by a single processor of a set of processes in such a way that they appear to be happening at the same time.

A

concurrent processing

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

a part of a program that must complete execution before other processes can have access to the resources being used.

A

critical region

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

a type of concurrent programming that requires that the programmer explicitly state which instructions can be executed in parallel.

A

explicit parallelism

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

a type of concurrent programming in which the compiler automatically detects which instructions can be performed in parallel

A

implicit parallelism

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

a cross-platform programming language, developed by Sun Microsystems, that closely resembles C++ and runs on any computer capable of running the Java interpreter

A

Java

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

a multiprocessing configuration in which each processor has a copy of the operating system and controls its own resources

A

loosely coupled configuration

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

an asymmetric multiprocessing configuration consisting of a single processor system connected to “slave” processors each of which is managed by the primary “master” processor, which provides the scheduling functions and jobs

A

master/slave

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

a computer chip that contains more than a single central processing unit (CPU)

A

multi-core processor

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

when two or more processors share system resources that may include some or all of the following: the same main memory, I/O devices, and control program routines

A

multiprocessing

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

a condition that specifies that only one process may update (modify) a shared resource at a time to ensure correct operation and results

A

mutex

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

the algebraic convention that dictates the order in which elements of a formula are calculated

A

order of operations

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

other term for order of operations

A

precedence of operations or rules of precedence

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

the process of operating two or more CPUs in parallel, with more than one CPU executing instructions simultaneously

A

parallel processing

17
Q

an address or other indicator of location

18
Q

(1) the need for algorithms to resolve conflicts between processors in a multiprocessing environment; or (2) the need to ensure that events occur in the proper order even if they are carried out by several processes

A

process synchronization

19
Q

a classic problem in which a process produces data that will be consumed, or used, by another process

A

producers and consumers

20
Q

a problem that arises when two types of processes need to access a shared resource such as a file or a database

A

readers and writers

21
Q

a type of shared data item that may contain either binary or nonnegative integer values and is used to provide mutual exclusion

22
Q

a multiprocessing configuration in which processor scheduling is decentralized and each processor is of the same type

A

symmetric configuration

23
Q

an indivisible machine instruction, which is executed in a single machine cycle to determine whether the processor is available

A

test-and-set (TS)

24
Q

a data structure that contains information about the current status and characteristics of a thread

A

Thread Control Block (TCB)

25
a modification of the test-and-set synchronization mechanism that’s designed to remove busy waiting
WAIT and SIGNAL