1/122
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
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
If you run multiple Java applications at the same time, they will execute in equivalent.
F
Math library for processing large matrices would benefit much from parallel execution.
T
A _____ contains one or more _____. Group of answer choices
process; threads
thread; processes
thread; other threads
process; other processes
process; threads
A thread that calls the join method on another thread will enter the terminated state until the other thread finishes executing.
F
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.
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
A thread contains one or more processes.
F
The operating system assigns each process a unique CPU core.
T
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.
In most operating systems, the user determines when each of the threads and processes gets scheduled to execute. F
F
Execution of several activities at the same time is referred to as parallel processing.
Group of answer choices
True
False
T
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
Parallel computing can increase the number of tasks a program executes in a set time.
Group of answer choices
True
False
T
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
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
Uniform Memory Access is often made by physically connecting multiple SMP systems together
Group of answer choices
True
False
F
Parallelism naturally leads to dependency. Group of answer choices
True
False
F
In most modern multi-core CPUs, cache coherency is usually handled by the processor hardware.
Group of answer choices
True
False
T
In parallel processing, several instructions are executed simultaneously.
Group of answer choices
True
False
T
Parallel processing has single multiple flow.
Group of answer choices
True
False
T
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
Distributed processing has single execution flow.
Group of answer choices
True
False
F
Parallel processing refers to the execution of activities at the same time. Group of answer choices
True
False
T
Multiple-applications independently running, are typically called Multithreading.
Group of answer choices
True
False
F
A key advantage of distributed memory architectures is that they are more scalable than shared memory systems.
Group of answer choices
True
False
T
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
Nonuniform Memory Access is often made by physically connecting multiple SMP systems together.
Group of answer choices
True
False
T
Each core of modern processors' has a separate cache that stores frequently accessed data.
Group of answer choices
True
False
T
UMA stands for Uniform Memory Access.
Group of answer choices
True
False
T
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
Computer memory usually operates at the same speed than processors do.
Group of answer choices
True
False
F
UMA stands for United Memory Access. Group of answer choices
True
False
F
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
Parallel computing can increase the speed at which a program executes a set number of tasks.
Group of answer choices
True
False
T
Modern multi-core PCs fall into the SIMD classification of Flynn's Taxonomy. Group of answer choices
True
False
F
Multiple-applications dependently running, are typically called Multithreading.
Group of answer choices
True
False
F
Distributed processing is the term used for simultaneous access to a resource, physical or logical.
Group of answer choices
True
False
F
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
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
Cache coherency is not an issue handled by the hardware in multicore processors.
Group of answer choices
True
False
F
The tightly coupled set of processes' execution working on a single task is called Parallel Processing. Group of answer choices
True
False
F
The tightly coupled set of threads' execution working on a single task is called Distributed Processing. Group of answer choices
True
False
F
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
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
UMA stands for Uniform Memory Allocation.
Group of answer choices
True
False
F
Distributed memory can be easily scaled.
Group of answer choices
True
False
T
An SMP system a single processor connected to a single shared memory often through a serial circuit. Group of answer choices
True
False
F
Distributed memory cannot be easily scaled.
Group of answer choices
True
False
F
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
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
An SMP system a single processor connected to a single distributed memory often through a system bus. Group of answer choices
True
False
F
The tightly coupled set of threads' execution working on multiple task is called Parallel Processing.
Group of answer choices
True
False
F
In most modern multi-core CPUs, cache coherency is usually handled by the operating system.
Group of answer choices
True
False
F
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
Nonuniform Memory Access is often made by logically connecting multiple SMP systems together
Group of answer choices
True
False
F
Each core of modern processors' has their own cache that stores frequently accessed data.
Group of answer choices
True
False
T
An SMP system a single processor connected to a single shared memory often through a system bus.
Group of answer choices
True
False
F
Data transfer over a bus is much slower.
Group of answer choices
True
False
T
Modern multi-core PCs fall into the MISD classification of Flynn's Taxonomy.
Group of answer choices
True
False
F
Computer memory usually operates at a much faster speed than processors do.
Group of answer choices
True
False
F
In most modern multi-core CPUs, cache coherency is usually handled by the application software.
Group of answer choices
True
False
F
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
A single applications independently running, is typically called Multithreading. Group of answer choices
True
False
F
Concurrency is the term used for simultaneous access to a resource, physical or logical.
Group of answer choices
True
False
T
In most modern multi-core CPUs, cache coherency is usually handled by the user.
Group of answer choices
True
False
F
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
Modern multi-core PCs fall into the _____ classification of Flynn's Taxonomy. Group of answer choices
SIMD
MISD
SISD
MIMD
MIMD
Parallel computing can increase the scale of problems a program can tackle. Group of answer choices
True
False
T
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
Computer memory usually operates at a much slower speed than processors do.
Group of answer choices
True
False
T
A single applications independently running, is typically called Multithreading.
Group of answer choices
True
False
F
A key advantage of distributed memory architectures is that they are more responsive than shared memory systems.
Group of answer choices
True
False
F
Shared memory scales better than Distributed memory.
Group of answer choices
True
False
F
Data transfer over a bus is much faster.
Group of answer choices
True
False
F
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
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
Processes are considered more "lightweight" than threads. Group of answer choices
True
False
F
The operating system assigns each process a unique process ID number. Group of answer choices
True
False
T
You can safely expect threads to execute in the same relative order that you create them. Group of answer choices
True
False
F
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
The operating system assigns each process a unique process name. Group of answer choices
True
False
F
It is possible for two tasks to execute in parallel using a single-core processor. Group of answer choices
True
False
F
If you run multiple Java applications at the same time, they will execute in lower. Group of answer choices
True
False
T
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
Concurrent tasks execute at the same time. Group of answer choices
True
False
F
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
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
The operating system assigns each process a unique number of threads. Group of answer choices
True
False
F
Graphical user interface (GUI) for an accounting application would benefit much from parallel execution. Group of answer choices
True
False
F
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.
A process contains one or more threads. Group of answer choices
True
False
T
Processes are simpler to communicate between than threads. Group of answer choices
True
False
F
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
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
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
A process contains one or more other processes. Group of answer choices
True
False
F
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
Every thread is independent and has its own separate address space in memory. Group of answer choices
True
False
F
A _____ contains one or more _____. Group of answer choices
thread; other threads
thread; processes
process; threads
process; other processes
process; threads