Page 29 - UR221 Creative & Scientific Thinking_Neat
P. 29

2.18 Critical Thinking and Debugging
















































                                        Figure 2.6: Decision Making Using Logic



                   This function demonstrates logical decision-making based on conditions.



               2.18       Critical Thinking and Debugging


                   Debugging is a practical application of critical thinking. Programmers must:

                   ˆ   nalyze program behavior                                                                                 A
                   ˆ dentify inconsistencies                                                                                   I

                   ˆ   est hypotheses                                                                                          T

                   ˆ   erify solutions                                                                                         V
               Example:















                                                     20
   24   25   26   27   28   29   30   31   32   33   34