Paper 2 Computational Thinking Flashcards

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

What is meant by decomposition in computer science and why it is used?

A

Decomposition involves breaking down a complex problem or system into smaller parts that are more manageable and easier to understand.

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

What is meant by Abstraction in computer science and why it is used?

A

Abstraction is the process of filtering out the characteristics of problems that are not needed in order to concentrate on those that are needed.

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

What is meant by Algorithms in computer science and why it is used.

A

An algorithm is a plan, a set of step-by-step instructions to solve a problem.

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

Programmers often use subroutines or functions. Give reasons why programmers use these.

A
  • Subprograms are usually small in size, which means they are easier to write, test and debug than programs.
    They are also easy for someone else to understand.
  • Subprograms can be saved separately as modules and used again in other programs. This saves time because the programmer can use code that has already been written, tested and debugged.
  • A subprogram may be used repeatedly at various points in the main program. However, the code only has to be written once, resulting in shorter programs.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the purpose of pseudocode?

A

Pseudocode is not a programming language, it is a simple way of describing a set of instructions that does not have to use specific syntax.

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

What is the purpose of flowcharts?

A

A flowchart is a diagram that represents a set of instructions. Flowcharts normally use standard symbols to represent the different types of instructions.

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