0% found this document useful (0 votes)
56 views5 pages

YR9CAT

Uploaded by

hussain korir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views5 pages

YR9CAT

Uploaded by

hussain korir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Algorithm is a step by step set of instructions followed in order to complete a task or

solve a problem

Logical error causes aprogram to produce unintended result while a syntax error prevents
aprogram from comiling(executing)

Cause a syntax error:

Terminator(rouded edge rec)-Indicate the starting point and the end point of a program

Input/output(Paralelogram ) used to indicate the inputs and outputs in a program

Diamond shape-Used to indicate a decision in a program

Rectangle- to indicate process in a program(action)

Pseudocodes
Flowcharts

Structured diagrams
Number

To check if the number is Odd or even

The name should not contain spaces eg: First<>name -should not start with a number

Do not use reserved keyword as variabled eg:print

Number2-number1

OUTPUT 'results'

You might also like