11-වසර තොරතුරු හා සන්නිවේදන තාක්ෂණය

Flow Charts & Pseudo Codes

Flow Charts & Pseudo Codes

Grade 11

(English Medium)

Information& Communication Technology

 

  1. What is an algorithms?

      An algorithm is a complete step-by-step procedure for solving a problem or accomplishing a task.

 

  1. An algorithm must be
    1. Be Precise
    2. Be Logical
    3. Be Effective
    4. Terminate Eventually

 

  1. how to represent an algorithms?
    1. Flowcharts
    2. Pseudo Code
    3. Structure Charts
  2. What is a flow chart?

      It is a step by step Diagrammatic representation of the program Each type of task is represented by a symbol

 

  1. What are the Advantages of using flow chart ?
    1.  Communication: Flowcharts are better way of communicating the logic of a system to all concerned.
    2. Effective analysis: With the help of flowchart, problem can be analysed in more effective way.
    3.  Proper documentation: Program flowcharts serve as a good program documentation, which is needed for various purposes.
    4. Efficient Coding: The flowcharts act as a guide or blueprint during the systems analysis and program development phase.
    5. Proper Debugging: The flowchart helps in debugging process.
    6. Efficient Program Maintenance: The maintenance of operating program becomes easy with the help of flowchart. It helps the programmer to put efforts more efficiently on that part
  2. What are the Limitation of using flow chart ?
    1.  Complex logic: Sometimes, the program logic is quite complicated. In that case, flowchart becomes complex and clumsy.
    2. Alterations and Modifications: If alterations are required the flowchart may require re-drawing completely.
    3. Reproduction: As the flowchart symbols cannot be typed, reproduction of flowchart becomes a problem.
    4. The essentials of what is done can easily be lost in the technical details of how it is done.
  3. What is a Typical Algorithms?

       Most simple algorithms that you will develop will involve inputting some data, performing some calculation and finally displaying the output.

 

  1. Write down the process of getting up in the morning & going to school?
  • Wake Up
  • Get Out of Bed
  • Have A Shower
  • Dry Your self
  • Get Dressed
  • Have Breakfast
  • Pack Bag/Lunch
  • Leave
  1. What are the logic constructs?

       It has been proven that three basic constructs for flow of control are sufficient to implement any "proper" algorithm.
             • Sequence       

             • Selection       

             • Iteration / Loop

   10. What is the SEQUENCE?

        SEQUENCE is a linear progression where one task is performed sequentially after another…
                    solution steps must follow each other in a logical sequence
                    Statements are executed in the same order as they are written.

   11. What is the SELECTION?

  • that even though selection is a separate construct to sequence, the two are combined in the overall solution, and remember that one doesn’t replace the other.
  • There may be alternative steps that could be taken subject to a particular condition
  • IF-THEN-ELSE is a decision (selection) in which a choice is made between two alternative courses of action. 12.What are the basic loops?
    • While loop
    • for loop

 

kaushi Neelawathura

Ict Teacher

Kuliyapitiya National School

kneelawathura@gmail.com

 

 

 

 

 

 

 

 

 

 

 

 


ලිපිය නිර්මාණය කලේ,
Kaushalya Neelawathura


MEMBER

අදාල තවත් ලිපි,



Kaushalya Neelawathura

11-වසර තොරතුරු හා සන්නිවේදන තාක්ෂණය

අනෙකුත් ලිපි