1/31
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
It is possible for two tasks to execute concurrently using a single-core processor.
Group of answer choices
True
False
True
In most operating systems, the user determines when each of the threads and processes gets scheduled to execute.
Group of answer choices
True
False
False
If Thread A calls the lock() method on a Lock that is already possessed by Thread B, Thread A will block and wait until Thread B calls the unlock() method.
Group of answer choices
True
False
True
A process contains one or more other processes.
Group of answer choices
True
False
False
In most operating systems, the _____ determines when each of the threads and processes gets scheduled to execute.
Group of answer choices
application software
user
operating system
processor hardware
operating system
A thread that calls the join method on another thread will enter the blocked state until the other thread finishes executing.
Group of answer choices
True
False
True
A process contains one or more threads.
Group of answer choices
True
False
True
Which of these applications would benefit the most from parallel execution?
Group of answer choices
math library for processing large matrices
graphical user interface (GUI) for an accounting application
system logging application that frequently writes to a database
tool for downloading multiple files from the Internet at the same time
math library for processing large matrices
In most operating systems, the processor hardware determines when each of the threads and processes gets scheduled to execute.
Group of answer choices
True
False
False
Graphical user interface (GUI) for an accounting application would benefit much from parallel execution.
Group of answer choices
True
False
False
The operating system assigns each process a unique process ID number.
Group of answer choices
True
False
True
It is possible for two tasks to execute concurrently or in parallel using a single-core processor.
Group of answer choices
True
False
True
The operating system assigns each process a unique number of threads.
Group of answer choices
True
False
False
A process can be terminated due to normal exit and fatal error.
Group of answer choices
True
False
True
System logging application that frequently writes to a database would benefit much from parallel execution.
Group of answer choices
True
False
False
Processes are faster to switch between than threads.
Group of answer choices
True
False
False
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
Math library for processing large matrices would benefit much from parallel execution.
Group of answer choices
True
False
True
If Thread A calls the lock() method on a Lock that is already possessed by Thread B, Thread A will immediately take possession of the Lock from Thread B.
Group of answer choices
True
False
False
A process can be both single threaded and multithreaded.
Group of answer choices
True
False
False
The operating system assigns each process a unique CPU core.
Group of answer choices
True
False
True
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
False
Why would ThreadA call the ThreadB.join() method?
Group of answer choices
ThreadA needs to terminate ThreadB immediately.
ThreadB is blocked so ThreadA needs to tell it to continue executing.
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.
The operating system assigns each process a unique process name.
Group of answer choices
True
False
False
Processes are considered more "lightweight" than threads.
Group of answer choices
True
False
False
A _____ contains one or more _____.
Group of answer choices
process; threads
thread; other threads
thread; processes
process; other processes
process; threads
A thread contains one or more processes.
Group of answer choices
True
False
False
Processes are simpler to communicate between than threads.
Group of answer choices
True
False
False
If you run multiple Java applications at the same time, they will execute in lower.
Group of answer choices
True
False
True
Every thread is independent and has its own separate address space in memory.
Group of answer choices
True
False
False
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
False
Tool for downloading multiple files from the Internet at the same time would benefit much from parallel execution.
Group of answer choices
True
False
True