Problem solving and algorithm design Flashcards

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

What is computational thinking?

A

Computational thinking is a thought process involved in formulating a problem and expressing its solution in such a way that computers can effectively carry it out.

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

Why is developing software a complex process?

A

Because software development involves innovative thinking processes and complex testing procedures.

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

What are the components of computational thinking?

A

Abstraction
Decomposition
Algorithm design

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

What are the steps involved in problem-solving?

A

Understand the problem

Construct a plan to solve the problem

Apply the plan

Check for errors and look for improvements in the current plan

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

What steps are involved in understanding a problem?

A

We need all data to understand the problem. Then, we must check whether the problem is solvable. If it is solvable, a complex problem can be broken down into simpler modules.

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

What are the characteristics of a proper solution?

A

Error-free, efficient and reusable.

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

What is abstraction?

A

A component of computational thinking where certain non-essential characteristics of objects or systems are removed so that it is reduced to a simple set of characteristics.

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

List some examples of abstraction.

A

Variables and functions in programming. Layering in computer networks.

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

What is decomposition?

A

A component of computational thinking where a large problem is broken down into smaller chunks that can then be solved using computing.

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

What is pattern recognition?

A

A concept where similar problems are solved by reusing solutions.

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

What are the advantages of using pattern recognition?

A

Saves effort and time.

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

What is an algorithm?

A

A problem is broken into a series of logical steps called an algorithm.

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

In what forms, is an algorithm represented?

A

Flowchart and pseudocode

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

What is a flowchart?

A

A method of representing algorithms in pictorial form, depicting the steps and order to be followed to perform a task.

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

What is pseudocode?

A

A method of representing an algorithm using simple words and mathematical operators.

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

What is the function of a MOD operator?

A

A MOD operator is used to find remainder of a division operation.