Algorithmic Thinking and Problem-Solving Flashcards

1
Q

What is an algorithm?

A

Algorithm is ordered set of clear, executing steps to accomplish task or solve problem

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

Give an example of an algorithm.

A

F = (9/5)C + 32 or as sequence of instructions

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

What is computational thinking?

A

Computational thinking is method used by computer scientists and engineers to solve difficult problems

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

What are the steps of computational thinking?

A
  1. Decomposition: breaking down larger problem into several smaller parts
  2. Pattern Recognition: identifying sequences, regularities or other patterns in the problem
  3. Abstraction: simplifying the problem by focusing on important details while discarding irrelevant ones
  4. Algorithm Design: creating step-by-step instructions to solve problem
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a flowchart?

A

diagrams that use geometric shapes and arrows to illustrate algorithm’s sequence, process or flow

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

What does an oval represent in a flowchart?

A

Start and end points

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

What does a parallelogram represent in a flowchart?

A

Input and output

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

What does a rectangle represent in a flowchart?

A

A process

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

What does a rhombus represent in a flowchart?

A

represents decision that determines next step, yes or no

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

What is an infinite loop?

A

A piece of instructions that keeps executing forever as terminating condition is never reached

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

What is a finite loop?

A

A piece of instructions executed for a fixed number of times

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

Give an example of a complex algorithm.

A

instructions for linear search algorithm to find element x in list

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

What does an oval represent in a flowchart?

A

Start and end points

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

What does a parallelogram represent in a flowchart?

A

input and output

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

What does a rectangle represent in a flowchart?

17
Q

What does a rhombus represent in a flowchart?

A

decision that determines next step, yes or no

18
Q

What does a flowline represent in a flowchart?

A

connection between actions

19
Q

What is an infinite loop?

A

piece of instructions that keeps executing forever as terminating condition is never reached

20
Q

What is a finite loop?

A

Finite loop is piece of instructions executed for a fixed number of times