Concurrent Systems Flashcards

1
Q

What is a Concurrent System?

A

Several components working at any time

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

Name two advantages of Concurrent Systems

A

Processing can go faster

Can sometimes be easier to program than sequential systems

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

Name two disadvantages of Concurrent Systems

A

Components can interfere with each other

Components need to communicate

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

Describe what is meant by Concurrent Programming

A

Writing programs which allow different parts of a system to execute concurrently and to co-operate

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

In terms of Concurrent Systems, What is Multitasking?

A

e.g. two (single threaded) applications running on a PC – editor and file manager
executing independently but can interact (e.g. dragging a file to the editor)

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

What is Multithreading?

A

can consider a thread as we consider a process

a program can consist of multiple ‘threads’ (running in a Java Virtual Machine (JVM))

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

Name two main types of Synchronisation?

A

mutual exclusion

condition synchronisation

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