CS401A's Finals: Comp. Sys. Interact Module 08 Flashcards
For final exams. (19 cards)
Advanced Architectures
The American Heritage Dictionary offers two (2) applicable definitions of \_\_\_\_\_\_\_
Virtualization
virtual
Advanced Architectures
The American Heritage Dictionary offers \_\_\_
(_
) applicable definitions of virtual that describe the usage of the word in modern computing:
Virtualization
two (2)
* It is an existence or a result in the essence or effect though not in actual fact, form, or name.
* It is created, simulated, or carried on by means of a computer or computer network.
Advanced Architectures
The \_\_\_\_\_\_\_\_\_\_\_\_\_\_
of a computer allows a single computer to appear as a multiplicity of computers, each with its own operating system and hardware resources.
Virtualization
virtualization
Advanced Architectures
An individual computer system is used to simulate
Virtualization
multiple computers, all sharing the same CPU and I/O facilities.
Advanced Architectures
An individual computer system is used to simulate multiple computers, all sharing the same CPU and I/O facilities. The simulated machines are known as
Virtualization
virtual computers or virtual machines.
Advanced Architectures
refers to a task in which the operating system uses some criteria to decide how long to allocate to any one task before giving another task a turn to use the operating system.
Parallel Computing
Preemptive multitasking
Advanced Architectures
implies the ability of interrupting a task, switching to another one, and then resuming the first task at a later time.
Parallel Computing
The term “preemption”
Advanced Architectures
on the other hand, refers to the ability to run simultaneous processes in a given time unit.
Parallel Computing
The term “multitasking”,
Advanced Architectures
TRUE || FALSE
Processes that run in an operating system is the only way to perform several operations at the same time.
Parallel Computing
FALSE.
Advanced Architectures
Processes that run in an operating system is not the only way to perform several operations at the same time. This activity could be done with the use of simultaneous subtasks called
Parallel Computing
threads.
Advanced Architectures
From coining preemptive multitasking and parallel computing, there are terms that must be considered:
“the perception of having tasks that run at the same time.”
Parallel Computing
* Concurrency is defined as
Advanced Architectures
From coining preemptive multitasking and parallel computing, there are terms that must be considered:
literally run at the same time.
Parallel Computing
* Parallelism are tasks that
Advanced Architectures
From coining preemptive multitasking and parallel computing, there are terms that must be considered:
a subset of concurrency.
Parallel Computing
* Parallelism is a subset of
Advanced Architectures
Parallel Computing
Things run smoothly as long as \_\_\_
(_
) \_\_ \_\_\_\_
threads \_\_\_\_
from the same memory location.
Things run \_\_\_\_\_\_\_\_
as long as two (2) or more \_\_\_\_\_\_\_
read from the same \_\_\_\_\_\_ \_\_\_\_\_\_\_\_
.
Advanced Architectures
Parallel Computing
The troubles kick in when at least \_\_\_ \_\_ \_\_\_\_ \_\_\_\_\_\_
to the shared memory, while the others are \_\_\_\_\_\_\_
from it.
The \_\_\_\_\_\_\_\_
kick in when at least one of them
writes to the \_\_\_\_\_\_ \_\_\_\_\_\_
, while the others are reading from it.
Advanced Architectures
Parallel Computing
At this point, \_\_\_
(_
) \_\_\_\_\_\_\_\_
can occur:
— While the writer thread \_\_\_\_\_\_\_\_
the memory, a reader thread might be \_\_\_\_\_\_\_
from it.
Parallel Computing
At this point, two (2) problems can occur:
-
Data Race
— While the\_\_\_\_\_\_ \_\_\_\_\_\_
modifies the memory, a\_\_\_\_\_\_ \_\_\_\_\_\_
might be reading from it.
Advanced Architectures
Parallel Computing
At this point, \_\_\_
(_
) \_\_\_\_\_\_\_\_
can occur:
If the writer has not \_\_\_\_\_\_\_\_
its work yet, the reader will \_\_\_\_\_\_\_
corrupted data.
Parallel Computing
At this point, two (2) problems can occur:
-
Data Race
If the\_\_\_\_\_\_\_
has not finished its work yet, the\_\_\_\_\_\_
will acquire corrupted\_\_\_\_
.
Advanced Architectures
Parallel Computing
At this point, \_\_\_
(_
) \_\_\_\_\_\_\_\_
can occur:
— This occurs when \_\_\_
(_
) \_\_\_\_
threads can \_\_\_\_\_\_
the same shared data and try to \_\_\_\_\_\_
the data at the same time.
Parallel Computing
At this point, two (2) problems can occur:
-
Race Condition
— This occurs when two (2) more\_\_\_\_\_\_\_
can access the same\_\_\_\_\_\_ \_\_\_\_
and try to change the\_\_\_\_
at the same time.
Advanced Architectures
There are some possible solutions for the problems stated above:
- Synchronization
- Atomic Operations
- Immutable Data