Posts

Showing posts with the label 5th Grade

Representing an algorithm: Flowcharts

  Representing an algorithm: Flowcharts A flowchart is a diagram that represents a set of  instructions . Flowcharts normally use standard symbols to represent the different instructions. There are few real rules about the level of detail needed in a flowchart. Sometimes flowcharts are broken down into many steps to provide a lot of detail about exactly what is happening. Sometimes they are simplified so that a number of steps occur in just one step. Flowchart symbols A simple  program  could be created to ask someone their name and age, and to make a comment based on these. This program represented as a flowchart would look like this:

What is an algorithm?

Algorithms An algorithm is a plan, a set of step-by-step instructions to resolve a problem. In an algorithm, each instruction is identified and the order in which they should be carried out is planned. What is an algorithm? Algorithms are one of the four cornerstones of Computer Science.  An algorithm is a plan, a set of step-by-step instructions to solve a problem.  If you can tie shoelaces, make a cup of tea, get dressed or prepare a meal then you already know how to follow an algorithm. In an algorithm, each  instruction  is identified and the order in which they should be carried out is planned. Algorithms are often used as a starting point for creating a computer program, and they are sometimes written as a  flowchart  or in  pseudocode . If we want to tell a computer to do something, we have to write a computer program that will tell the computer, step-by-step, exactly what we want it to do and how we want it to do it.  This step-by-step pro...