FA1 - PARALLEL AND DISTRIBUTED COMPUTING

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

1/122

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:06 PM on 5/14/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

123 Terms

1
New cards

In most operating systems, the _____ determines when each of the threads and processes gets scheduled to execute.

Group of answer choices

operating system

user

processor hardware

application software

operating system

2
New cards

If you run multiple Java applications at the same time, they will execute in equivalent.

F

3
New cards

Math library for processing large matrices would benefit much from parallel execution.

T

4
New cards

A _____ contains one or more _____. Group of answer choices

process; threads

thread; processes

thread; other threads

process; other processes

process; threads

5
New cards

A thread that calls the join method on another thread will enter the terminated state until the other thread finishes executing.

F

6
New cards

Why would ThreadA call the ThreadB.join() method? Group of answer choices

ThreadB is blocked so ThreadA needs to tell it to continue executing.

ThreadA needs to terminate ThreadB immediately.

ThreadB needs to wait until after ThreadA has terminated to continue.

ThreadA needs to wait until after ThreadB has terminated to continue.

ThreadA needs to wait until after ThreadB has terminated to continue.

7
New cards

Which of these applications would benefit the most from parallel execution? Group of answer choices

math library for processing large matrices

system logging application that frequently writes to a database

tool for downloading multiple files from the Internet at the same time

graphical user interface (GUI) for an accounting application

math library for processing large matrices

8
New cards

A thread contains one or more processes.

F

9
New cards

The operating system assigns each process a unique CPU core.

T

10
New cards

What happens if Thread A calls the lock() method on a Lock that is already possessed by Thread B? Group of answer choices

Thread B will block and wait for Thread A to execute the critical section.

Thread A and Thread B will both possess the Lock.

Thread A will immediately take possession of the Lock from Thread B.

Thread A will block and wait until Thread B calls the unlock() method.

Thread A will block and wait until Thread B calls the unlock() method.

11
New cards

In most operating systems, the user determines when each of the threads and processes gets scheduled to execute. F

F

12
New cards

Execution of several activities at the same time is referred to as parallel processing.

Group of answer choices

True

False

T

13
New cards

A Symmetric Multi-Processing (SMP) system has two or more identical processors connected to a single shared main memory.

Group of answer choices

True

False

T

14
New cards

Parallel computing can increase the number of tasks a program executes in a set time.

Group of answer choices

True

False

T

15
New cards

Parallel computing can increase the _____.

Group of answer choices

scale of problems a program can tackle

number of tasks a program executes in a set time

speed at which a program executes a set number of tasks

all of these answers

all of these answers

16
New cards

In a distributed memory architecture, each processor operates dependently, and if it makes changes to its local memory, that change is not automatically reflected in the memory of other processors. Group of answer choices

True

False

F

17
New cards

Uniform Memory Access is often made by physically connecting multiple SMP systems together

Group of answer choices

True

False

F

18
New cards

Parallelism naturally leads to dependency. Group of answer choices

True

False

F

19
New cards

In most modern multi-core CPUs, cache coherency is usually handled by the processor hardware.

Group of answer choices

True

False

T

20
New cards

In parallel processing, several instructions are executed simultaneously.

Group of answer choices

True

False

T

21
New cards

Parallel processing has single multiple flow.

Group of answer choices

True

False

T

22
New cards

A Symmetric Multi-Processing (SMP) system has two or more identical processors connected to a single distributed main memory.

Group of answer choices

True

False

F

23
New cards

Distributed processing has single execution flow.

Group of answer choices

True

False

F

24
New cards

Parallel processing refers to the execution of activities at the same time. Group of answer choices

True

False

T

25
New cards

Multiple-applications independently running, are typically called Multithreading.

Group of answer choices

True

False

F

26
New cards

A key advantage of distributed memory architectures is that they are more scalable than shared memory systems.

Group of answer choices

True

False

T

27
New cards

In a parallel memory architecture, each processor operates independently, and if it makes changes to its local memory, that change is not automatically reflected in the memory of other processors. Group of answer choices

True

False

F

28
New cards

Nonuniform Memory Access is often made by physically connecting multiple SMP systems together.

Group of answer choices

True

False

T

29
New cards

Each core of modern processors' has a separate cache that stores frequently accessed data.

Group of answer choices

True

False

T

30
New cards

UMA stands for Uniform Memory Access.

Group of answer choices

True

False

T

31
New cards

Shared memory doesn't necessarily mean all of the data exists on the same physical device, hence it could be spread across a cluster of systems.

Group of answer choices

True

False

T

32
New cards

Computer memory usually operates at the same speed than processors do.

Group of answer choices

True

False

F

33
New cards

UMA stands for United Memory Access. Group of answer choices

True

False

F

34
New cards

The four classifications of Flynn's Taxonomy are based on the number of concurrent input streams and output streams available in the architecture. Group of answer choices

True

False

F

35
New cards

Parallel computing can increase the speed at which a program executes a set number of tasks.

Group of answer choices

True

False

T

36
New cards

Modern multi-core PCs fall into the SIMD classification of Flynn's Taxonomy. Group of answer choices

True

False

F

37
New cards

Multiple-applications dependently running, are typically called Multithreading.

Group of answer choices

True

False

F

38
New cards

Distributed processing is the term used for simultaneous access to a resource, physical or logical.

Group of answer choices

True

False

F

39
New cards

If private data is used by a single-processor, then shared data is used by a multi-processor.

Group of answer choices

True

False

T

40
New cards

A Symmetric Multi-Processing (SMP) system has two or more _____ processors connected to a single _____ main memory.

Group of answer choices

dissimilar; shared

dissimilar; distributed

identical; shared

identical distributed

identical; shared

41
New cards

Cache coherency is not an issue handled by the hardware in multicore processors.

Group of answer choices

True

False

F

42
New cards

The tightly coupled set of processes' execution working on a single task is called Parallel Processing. Group of answer choices

True

False

F

43
New cards

The tightly coupled set of threads' execution working on a single task is called Distributed Processing. Group of answer choices

True

False

F

44
New cards

If public data is used by a single-processor, then shared data is used by a multi-processor. Group of answer choices

True

False

F

45
New cards

In most modern multi-core CPUs, cache coherency is usually handled by the _____.

Group of answer choices

application software

user

operating system

processor hardware

processor hardware

46
New cards

UMA stands for Uniform Memory Allocation.

Group of answer choices

True

False

F

47
New cards

Distributed memory can be easily scaled.

Group of answer choices

True

False

T

48
New cards

An SMP system a single processor connected to a single shared memory often through a serial circuit. Group of answer choices

True

False

F

49
New cards

Distributed memory cannot be easily scaled.

Group of answer choices

True

False

F

50
New cards

It is necessary in shared memory that the data exists on the same physical device, hence it could not be spread across a cluster of systems.

Group of answer choices

True

False

F

51
New cards

The four classifications of Flynn's Taxonomy are based on the number of concurrent _____ streams and _____ streams available in the architecture. Group of answer choices

input; output

program; data

memory; I/O

instruction; data

instruction; data

52
New cards

An SMP system a single processor connected to a single distributed memory often through a system bus. Group of answer choices

True

False

F

53
New cards

The tightly coupled set of threads' execution working on multiple task is called Parallel Processing.

Group of answer choices

True

False

F

54
New cards

In most modern multi-core CPUs, cache coherency is usually handled by the operating system.

Group of answer choices

True

False

F

55
New cards

A Symmetric Multi-Processing (SMP) system has two or more dissimilar processors connected to a single shared main memory.

Group of answer choices

True

False

F

56
New cards

Nonuniform Memory Access is often made by logically connecting multiple SMP systems together

Group of answer choices

True

False

F

57
New cards

Each core of modern processors' has their own cache that stores frequently accessed data.

Group of answer choices

True

False

T

58
New cards

An SMP system a single processor connected to a single shared memory often through a system bus.

Group of answer choices

True

False

F

59
New cards

Data transfer over a bus is much slower.

Group of answer choices

True

False

T

60
New cards

Modern multi-core PCs fall into the MISD classification of Flynn's Taxonomy.

Group of answer choices

True

False

F

61
New cards

Computer memory usually operates at a much faster speed than processors do.

Group of answer choices

True

False

F

62
New cards

In most modern multi-core CPUs, cache coherency is usually handled by the application software.

Group of answer choices

True

False

F

63
New cards

A key advantage of distributed memory architectures is that they are _____ than shared memory systems.

Group of answer choices

more responsive

easier to program for

less complex

more scalable

more scalable

64
New cards

A single applications independently running, is typically called Multithreading. Group of answer choices

True

False

F

65
New cards

Concurrency is the term used for simultaneous access to a resource, physical or logical.

Group of answer choices

True

False

T

66
New cards

In most modern multi-core CPUs, cache coherency is usually handled by the user.

Group of answer choices

True

False

F

67
New cards

The four classifications of Flynn's Taxonomy are based on the number of concurrent memory streams and I/O streams available in the architecture. Group of answer choices

True

False

F

68
New cards

Modern multi-core PCs fall into the _____ classification of Flynn's Taxonomy. Group of answer choices

SIMD

MISD

SISD

MIMD

MIMD

69
New cards

Parallel computing can increase the scale of problems a program can tackle. Group of answer choices

True

False

T

70
New cards

In a shared memory architecture, only one processor at a time sees everything that happens in the shared memory space.

Group of answer choices

True

False

F

71
New cards

Computer memory usually operates at a much slower speed than processors do.

Group of answer choices

True

False

T

72
New cards

A single applications independently running, is typically called Multithreading.

Group of answer choices

True

False

F

73
New cards

A key advantage of distributed memory architectures is that they are more responsive than shared memory systems.

Group of answer choices

True

False

F

74
New cards

Shared memory scales better than Distributed memory.

Group of answer choices

True

False

F

75
New cards

Data transfer over a bus is much faster.

Group of answer choices

True

False

F

76
New cards

In a concurrent memory architecture, each processor operates independently, and if it makes changes to its local memory, that change is automatically reflected in the memory of other processors.

Group of answer choices

True

False

F

77
New cards

The four classifications of Flynn's Taxonomy are based on the number of concurrent program streams and data streams available in the architecture.

Group of answer choices

True

False

F

78
New cards

Processes are considered more "lightweight" than threads. Group of answer choices

True

False

F

79
New cards

The operating system assigns each process a unique process ID number. Group of answer choices

True

False

T

80
New cards

You can safely expect threads to execute in the same relative order that you create them. Group of answer choices

True

False

F

81
New cards

It is possible for two tasks to execute _____ using a single-core processor. Group of answer choices

concurrently

None of the mentioned

concurrently or in parallel

in parallel

concurrently

82
New cards

The operating system assigns each process a unique process name. Group of answer choices

True

False

F

83
New cards

It is possible for two tasks to execute in parallel using a single-core processor. Group of answer choices

True

False

F

84
New cards

If you run multiple Java applications at the same time, they will execute in lower. Group of answer choices

True

False

T

85
New cards

If Thread A calls the lock() method on a Lock that is already possessed by Thread B, Thread B will block and wait for Thread A to execute the critical section. Group of answer choices

True

False

F

86
New cards

Concurrent tasks execute at the same time. Group of answer choices

True

False

F

87
New cards

Processes _____ than threads. Group of answer choices

are considered more "lightweight"

are faster to switch between

are simpler to communicate between

require more overhead to create

require more overhead to create

88
New cards

If Thread A calls the lock() method on a Lock that is already possessed by Thread B, Thread A and Thread B will both possess the Lock. Group of answer choices

True

False

F

89
New cards

The operating system assigns each process a unique number of threads. Group of answer choices

True

False

F

90
New cards

Graphical user interface (GUI) for an accounting application would benefit much from parallel execution. Group of answer choices

True

False

F

91
New cards

What happens if Thread A calls the lock() method on a Lock that is already possessed by Thread B? Group of answer choices

Thread A will immediately take possession of the Lock from Thread B.

Thread A will block and wait until Thread B calls the unlock() method.

Thread B will block and wait for Thread A to execute the critical section.

Thread A and Thread B will both possess the Lock.

Thread A will block and wait until Thread B calls the unlock() method.

92
New cards

A process contains one or more threads. Group of answer choices

True

False

T

93
New cards

Processes are simpler to communicate between than threads. Group of answer choices

True

False

F

94
New cards

The time required to create a new thread in an existing process is greater than the time required to create a new process.

Group of answer choices

True

False

F

95
New cards

The operating system assigns each process a unique _____. Group of answer choices

CPU core

process ID number

process name

number of threads

process ID number

96
New cards

Which of these applications would benefit the most from parallel execution? Group of answer choices

tool for downloading multiple files from the Internet at the same time

system logging application that frequently writes to a database

math library for processing large matrices

graphical user interface (GUI) for an accounting application

math library for processing large matrices

97
New cards

A process contains one or more other processes. Group of answer choices

True

False

F

98
New cards

A thread that calls the join method on another thread will enter the new state until the other thread finishes executing. Group of answer choices

True

False

F

99
New cards

Every thread is independent and has its own separate address space in memory. Group of answer choices

True

False

F

100
New cards

A _____ contains one or more _____. Group of answer choices

thread; other threads

thread; processes

process; threads

process; other processes

process; threads