SLR22 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

In concurrent processing: What is the benefit of reactive processing

A

A user can interact with one program while others work in the background

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

In concurrent processing: What is the benefit of availability of services

A

A long-running task won’t delay short-running ones

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

In concurrent processing: What is the benefit of parallelism

A

A complex program can make use of multicore and / or multiprocessor systems

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

In concurrent processing: What is the benefit of controllability

A

A task requiring preconditions to proceed can be suspended and easily resumed later

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

In concurrent processing: What are the limitations of safety

A

Possibility of corrupting the consistent state of a program

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

In concurrent processing: What are the limitations of liveness and what is it known as

A

Tasks can be suspended and wait on each other indefinitely
A deadlock

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

In concurrent processing: What are the limitations of resource consumption

A

Threads can consume resources in regards to scheduling, context-switching and synchronisation

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

What are the two reasons why concurrency is needed

A
  1. The number of tasks completed in a given time increases
  2. Time that would be wasted by the processor or waiting on a user or another process is reduced
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the process of thinking concurrently

A

Having 2 or more systems working together at the same time

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

What are the two parts of thinking concurrently

A

Concurrency
Parallelism

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

With concurrent processing: why can’t jobs be done in any order

A

Some jobs require then completion of other jobs before they can be started such as building the roof of a house first

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

Can a single core processor make use of concurrency

A

Yes

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

Can a single core processor make use of parallelism

A

No

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

How does concurrency work

A

Each core allocates a very small amount of time to each task and because it all happens so quickly it appears as though its all happening at the same time

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

How does parallelism work

A

Tasks (or groups of tasks) are split up over multiple cores so that they can be completed simultaneously

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

Why are GPUs really effective in parallelism

A

They are really really good at one type of task making them really efficient