Flowcharts Flashcards

1
Q

What are flowcharts in programming?

A

Visual representations of algorithms or processes, with the purpose of making their logic and flow more understandable by using symbols and arrows

Steps in the program are illustrated.

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

What are the key aspects of a flowchart?

A
  • Visual representation
  • Use of Symbols
  • Step-by-step flow

These aspects help in understanding the program’s logic and flow.

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

What are the purposes of flowcharts in programming?

A
  • Visualization
  • Communication
  • Documentation
  • Helps in the design process

Each purpose aids in understanding, maintaining, and modifying the program.

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

Mention all of the key structural aspects of flowcharts.

A
  • Top-down flow
  • Sequential flow
  • Decision points or branching
  • Loops or repetitions
  • Connectors
  • Modules

These aspects define how flowcharts are structured and interpreted.

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

Explain top-down flow in flowcharts.

A

Clear and intuitive reading direction

This structure helps users easily follow the logic.

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

What does sequential flow represent in flowcharts?

A

The process symbols connected by flow lines

This indicates the order of operations.

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

What are decision points in flowcharts?

A

Branching of the program based on conditions, labeled with the outcome

This allows the program to take different paths.

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

What are loops in flowcharts?

A

Repetitions that execute until a certain condition is met

Flow lines loop back to an earlier part of the chart.

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

What are connectors used for in flowcharts?

A

To maintain a clear and organized structure

On-page connectors are circles, off-page connectors are pentagons.

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

What are modules in flowcharts?

A

Blocks of code that perform a specific task, independent of the larger program

They can be scripted into the code as manageable units.

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

What symbols are used in flowcharts?

A
  • Oval
  • Rectangle
  • Diamond
  • Parallelogram
  • Connectors
  • Arrows

Each symbol has a specific purpose in the flowchart.

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

What are ovals used for in flowcharts?

A

Terminal which sets the start or end of a program

Start points are only one but endpoints may be multiple.

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

What are rectangles used for in flowcharts?

A

For process, action or operation to be performed

Examples include calculations or data manipulation.

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

What are diamonds used for in flowcharts?

A

They are decision points in which the program can branch based on a condition

This allows for conditional logic in the flow.

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

What are parallelograms used for in flowcharts?

A

For input or output operations

Examples include reading files, user input, or displaying information.

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

What are arrows used for in flowcharts?

A

To show the direction of the flowchart

They indicate how the process moves from one step to another.

17
Q

How do flowcharts contribute to the initial stages of programming development?

A
  • Analyzing the problem
  • Breaking down into smaller steps
  • Identifying potential issues
  • Serving as documentation

This aids in understanding the program’s logic and structure before coding.