2.1.5 Thinking Concurrently Flashcards

1
Q

Why do we have this topic?

A

As components of software development can happen at the same time.

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

What is parallel computing?

A

when more than one processor is executing seperate instructions at the same time

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

What is concurrent processing?

A

When more than one process is running from a program at once, with each process receiving a slice of processor time.

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

What is concurrent processing very closely related to?

A

Processor scheduling methods - round robin

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

What are the benefits of concurrent processing?

A
  • Increased program throughput

- No time wasted by processor (as any interrupts will be put into a seperate queue and next process will start)

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

What are the drawbacks of concurrent processing?

A
  • Not always possible

- A lot of computation can lead to slowing down of performance

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

What are the benefits of parallel computing?

A
  • Tasks are completed simultaneously, so processing is faster
  • Graphic processing performance (rendering) is greatly increased (individual part of graphic worked on by 1 processor)
  • Multiple web tabs can be handled at the same time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the drawbacks of parallel computing?

A

-Overhead in coordinating the processors, so some tasks may run slower than with 1 processor

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

What is concurrency?

A

things happening simultaneously

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

What is a concurrent software licence?

A

a software licence that allows users to use software/program at the same time

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

What is an example of single concurrency?

A

Concurrent processing (although instructions are executed sequentially the ability to switch between tasks makes it seem like theyre being executed at the same time)

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

What is an example of multiprocessor concurrency?

A

Parallel computing

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

Why is concurrency important in software development?

A

We can identify components of a problem that can be solved simultaneously and determine points at which they need to be synchronised.

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

What is multithreading?

A

a technique where a section of a code can be used by multiple processors at different stages of execution

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

What type of a chart do we use to show plans of tasks in an efficient manner?

A

A Gantt Chart

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

Why is concurrency important?

A

Speeds up processes and avoids delays