0
0
Intro to Computingfundamentals~10 mins

Flowcharts for visualizing logic in Intro to Computing - Draw & Build Visually

Choose your learning style9 modes available
Draw This - beginner

Draw a flowchart to check if a number is positive, negative, or zero. Use the number 7 as input.

5 minutes
Hint 1
Hint 2
Hint 3
Hint 4
Hint 5
Grading Criteria
Start and End symbols present
Input step included
Decision diamonds used for comparisons
Correct branching for >0, <0, and =0 cases
Outputs labeled correctly as "Pos", "Neg", or "Zero"
Arrows correctly connect all steps without breaks
Solution
  _______
 / Start \
 \_______/
     |
     v
  _____________
 | Input number |
 |     (7)      |
  -------------
     |
     v
  ______________________
 | Is number > 0? (7>0) |
  ----------------------
    /          \
  Yes           No
  /              \
 v                v
 _______       ______________________
|Print  |     | Is number < 0? (7<0) |
|"Pos"  |      ----------------------
|_______|       /          \
    |         Yes           No
    |          /             \
    v         v               v
  _______  _______        _______
 | End  | |Print |      |Print  |
 |      | |"Neg" |      |"Zero" |
 |______| |_______|      |_______|
             |              |
             v              v
           _______        _______
          | End  |      | End  |
          |      |      |      |
          |______|      |______|

1. Start the flowchart with a Start symbol.

2. Input the number (7 in this case).

3. Check if the number is greater than zero using a decision diamond.

4. If yes, print "Pos" and end.

5. If no, check if the number is less than zero.

6. If yes, print "Neg" and end.

7. If no, it means the number is zero, so print "Zero" and end.

This flowchart clearly shows the logic to classify a number as positive, negative, or zero.

Variations - 2 Challenges
[beginner] Draw a flowchart to check if a number is even or odd. Use the number 12 as input.
[intermediate] Draw a flowchart to find the largest of three numbers: A=15, B=23, C=8.