CompTIA Tech+ (FC0-U71)Software Development ConceptsMedium
A developer is creating a flowchart to represent a user login process. The flowchart needs a symbol to represent the decision point where the system checks if the entered username and password are correct. Which standard flowchart symbol should be used for this decision?
- ADiamond
- BRectangle
- COval/Terminator
- DParallelogram
Show answer & explanationAnswer & explanation
Correct answer: A. Diamond
A diamond symbol in a flowchart represents a decision point where the flow of the program can take one of several paths (typically two, 'Yes' or 'No') based on a condition, such as checking login credentials.
Why the other options are wrong
- B. A rectangle represents a process step or an action.
- C. An oval (or terminator) represents the start or end of a program or sub-process.
- D. A parallelogram represents input or output operations.
Flowchart Decision Symbol
In flowcharts, a diamond shape (菱形) represents a point where a decision needs to be made. It typically has one entry point and two or more exit points, labeled with the possible outcomes (e.g., Yes/No, True/False).
- Diamond shape.
- Represents a decision or conditional check.
- Has multiple exit paths (e.g., Yes/No).
Memory trick: Decisions are 'diamonds' – precious choices.