Draw This - beginner
Draw a flowchart that shows the step-by-step process of debugging a simple program that does not print the expected output.
10 minutes
Hint 1
Hint 2
Hint 3
Draw a flowchart that shows the step-by-step process of debugging a simple program that does not print the expected output.
+---------------------+
| Start |
+----------+----------+
|
v
+---------------------+
| Identify the problem |
+----------+----------+
|
v
+---------------------+
| Reproduce the error |
+----------+----------+
|
v
+---------------------+
| Check the code lines |
+----------+----------+
|
v
+---------------------+
| Make a small change |
+----------+----------+
|
v
+---------------------+
| Test the program |
+----------+----------+
|
v
+---------------------+
| Does it work now? |
+----------+----------+
/ \
/ Yes \ No
v v
+----------+ +---------------------+
| End | | Go back to check |
+----------+ | the code lines |
+----------+----------+
|
v
(loops back to "Make a small change")This flowchart shows the debugging mindset as a step-by-step process:
This loop continues until the program works correctly.