Which symbol is used to represent a decision in a flowchart?
- A.Oval
- B.Rectangle
- C.Diamond
- D.Parallelogram
Show answer
Explanation
The correct answer is C, diamond. The diamond or rhombus is the decision symbol: it holds a condition and has one entry with two exits, marked Yes and No, so the flow branches according to the test. Option A is wrong because the oval, also drawn as a rounded rectangle, is the terminal symbol used only for Start and Stop. Option B is wrong because the rectangle is the process symbol, used for a calculation or an assignment such as adding two numbers and storing the sum. Option D is wrong because the parallelogram is the input or output symbol, used when a value is read from the user or a result is printed. Candidates most often swap the rectangle and the parallelogram, so fix the pair in memory: rectangle does the work, parallelogram talks to the outside world, and the diamond decides.