Concurrency Flashcards

1
Q

What is concurrency as it relates to PDC?

A

It is the process of executing multiple tasks at the same time however, it may not be simultaneous.

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

How do you achieve concurrency on a single core processor?

A

With the use of multiprogramming. In multiprogramming, the OS rapidly switches back and forth between multiple programs that have been loaded into memory. We can say that blocks of the two programs’ instructions are interleaved, meaning that the processor alternates which program is running. Because this happens so quickly, the concurrency provided by multiprogramming creates the illusion of parallel execution.

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

What are the three main types of concurrent computing?

A

threading, asynchrony, and preemptive multitasking

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