Page 72 - 2502_Pakistan-kifayat_C-8
P. 72

Timeline


                         Problem-solving refers to the process of identifying a challenge, analysing it, and developing effective
                       strategies to overcome it.
                         Simple problems are those with clear goals, limited variables, and direct solutions.

                         Complex problems are multi-layered and don’t have one clear or correct solution.
                         Algorithms are systematic procedures designed to solve problems or perform tasks by following
                       clear, step-by-step instructions.
                         Performance refers to how quickly and effectively an algorithm completes its task.

                         Efficiency is about optimising resource usage — getting the result using the least possible time and
                       memory.
                         Algorithm efficiency means how well an algorithm works.
                         In algorithm design, multiple solutions refer to the different ways a single problem can be solved
                       using different techniques or approaches.

                         Pseudocode is a simple way to plan a program or solve a problem using plain, everyday language.






                     Choose the correct option.

                      1.  Which statement best describes a complex problem?

                               a.  It involves multiple variables and stakeholders

                               b.  It has one clear answer

                               c.  It is solved with a formula
                               d.  It takes a few minutes

                      2.  Which of the following best defines an algorithm?

                               a.  A complicated process                     b.  Something that adapts to emotions

                               c.  A set of step-by-step instructions        d.  Something that can only be written in code

                      3.  Identify the limitation of algorithms.
                               a.  They are too easy to write                b.  They work better with emotional data

                               c.  They use no memory                        d.  They cannot solve vaguely defined problems

                      4.  Which of the following is a benefit of pseudocode?

                               a.  It's only understood by experts           b.  It's written in computer language

                               c.  It's easy for beginners to understand      d.  It avoids logical planning








                  70  Premium Edition-VIII
   67   68   69   70   71   72   73   74   75   76   77