Page 105 - Computer Science Class 11 Without Functions
P. 105

Arrow                   Used to connect shapes depicting the flow of control






                                      Decision box            Represents a condition that may yield True or False.




              Ø   Pseudocode is an  algorithm  using  constructs similar  to a programming language but  not  specific  to any
                  programming language.
              Ø   Coding is the process of translating an algorithm into a computer program.

              Ø   Source code and code are synonyms for the program.
              Ø   Debugging is the process of removing errors from a program.
              Ø   A variable is a name for a sequence of memory locations.
              Ø   Sequential flow (straight-line program) is a sequence of instructions that are executed exactly once in the
                  same sequence in which they appear.






                                                  Solved Exercise


            A.  Multiple Choice questions
               1.  Which of the following is the correct sequence of steps in problem-solving cycle?
                  a.  Problem Analysis → Program Design → Testing and Debugging → Coding
                  b.  Problem Analysis → Program Design → Coding → Testing and Debugging
                  c.  Program Design → Problem Analysis → Coding → Testing and Debugging
                  d.  Program Design → Problem Analysis → Testing and Debugging → Coding

               2.  In which of the following steps of the problem-solving cycle, do we identify the inputs needed and output produced by the
                  program?
                  a.  Coding               b. Testing and Debugging   c. Problem Analysis   d. Program Design
               3.  In which of the following steps of the Problem-Solving cycle, is the solution of the problem represented in the form of an
                  algorithm, flowchart, or  pseudocode?
                  a.  Problem Analysis     b. Coding              c. Testing and Debugging  d. Program Design
               4.  Which of the following is not a high level language?
                  a.  Python               b. C++                 c. Machine language   d. Java
               5.  Which of the following is a correct symbol for a decision box?
                  a.


                  b.



                  c.

                  d.



                                                                                                Problem Solving  103
   100   101   102   103   104   105   106   107   108   109   110