All Exams Test series for 1 year @ ₹349 only
Question

Which shape is used to represent a decision in a flowchart?

This question was previously asked in
RRB JE 2025 CBT 2 Mechanical and Allied Engg Question Paper English (2-Jul-2026) (Shift-1)
The correct answer is

Diamond

A flowchart is a graphical representation of an algorithm or process, and it uses a set of standardised symbols so that any reader can interpret the logic at a glance. Choosing the right symbol conveys the type of step being performed.

The commonly used flowchart symbols are:

  • Diamond (rhombus): a decision — a point where a condition is tested and the flow branches, typically into Yes/No or True/False paths.
  • Rectangle: a processing step or computation (for example, an assignment or arithmetic operation).
  • Oval (or rounded rectangle): the terminal symbol marking Start and End (Stop).
  • Parallelogram: an input/output operation such as reading data or displaying a result.
  • Arrows (flow lines): show the direction in which control moves.

Because a decision requires the flow to split based on a condition, it is drawn as a diamond — the shape uniquely has multiple exit branches — making it the correct answer.

The parallelogram is wrong because it denotes input/output, not a branch. The oval is wrong because it marks the beginning or end of the flowchart. The rectangle is wrong because it represents a straightforward process step with a single entry and single exit, whereas a decision needs two or more outgoing paths.

Was this answer helpful?

Similar Questions

  1. Consider the following code snippet in C programming language. 

    int n = 5; 

    int m = n++; 

    What is the value of m after execution?

  2. You need to read a floating-point value from the user in the C programming language. Which of the following statements correctly performs this task?

  3. What is the output of the give C language code snippet? 

    void f(int x)

    {

     x = x + 5;

     }

     int main()

    { 

    int a = 10;

     f(a); 

    printf("%d",a); 

    return 0; 

    }

  4. What are the statements that begin with # symbol called in C programming language?

  5. Which statement is TRUE about if statement in the C programming language?


Important Questions from Programming in C

  1. In object-oriented programming, which keyword ensures that a member variable belongs to the class itself rather than to any specific object, thereby allowing all instances to share a single copy of that variable?

  2. The three basic structure types used to write the algorithm for a program are sequence, selection and repetition. Which of the following is NOT an advantage of using only these structures when writing the algorithm for a program?

  3. Which statement(s) is/are true about formation of identifier in C?

    I. It consist of alphabets, digits and underscore.

    II. An identifier can start with an underscore.

  4. What is the output of the code written in C?

    void main()

    {

    printf("%d",7%-3);

    printf("%d",-7%3);

    }

  5. Which of the following statement(s) is/are true about pre-processor in C/C++?

    I. To replace each #include directive with the contents of the designated file.

    II. To replace each escape sequence with designated character.

    III. To process macro definitions and expand macro calls.

Need Expert Advice?
Test Series
RRB JE img
Railways
RRB JE (CBT 1 + CBT 2) 2026 Mock Test Series
1515 Tests 19 Tests Free
1655 Attempts
4.3(158)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App