Computer
Computer
TABLE OF CONTENTS
01 02 03 04
Following a
Pseudocode- Input and output, pseudocode
More features of Pseudocode variables and
Features,purpose,Rul algorithm
es of Pseudocode assignment.
What is a pseudocode?
● A Pseudocode is a step-by-step description
of an algorithm in code like structure using
plain English text.
● Pseudo means ‘not real’ so this means
pseudocode isn’t the official code of
programming and is the simpler version.
● Pseudocode is halfway between a flowchart
design, or a series of steps written in
English, or a high level language.
Why do we use Pseudocode?
● Pseudocode is used to design programs
because anyone who can write in any
programming languages can write in
pseudocode.
● It is easier for programmers to write and
follow.
● Beginners get a great amount of help in
coding by using pseudocodes.
● People who use different programming
languages may find it easier to work
together if they are using pseudocodes.
● We can use pseudocode together with a
flowchart as well.
Rules/Features of Pseudocode
• It should be having a clear one starting point and one
ending point.
• Common words such as PRINT, WRITE, READ, or INPUT
should be used.
• Must flow in a logical order.
• It should depict the logical way of solving the problem.
• It should be neat and legible.
• Follow the sequence of tasks.
• Write a statement that determines the goal.
• Use if-else like used in the main code.
• Write start and beginning, end or stop at end.
• Some pseudocodes may output messages while some not.
More features of pseudocode
Another example of
another
pseudocode.
Variable and assignment
● A variable is a named location on a
computer’s memory that can store one
item of data.
● Each variable has an identifier, or name.
● Eg;a variable identifier must be one word
without spaces,musn’t start with a symbol
and cannot be the reserved keyword of the
program and should be unique.
Conclusion
PSEUDOCODE
WHY WE USE
PSEUDOCODE,FEATURES AND RULES
OF PSEUDOCODE
OUTPUT AND INPUT OF
PSEUDOCODE,VARIABLES AND
ASSIGNMENT,KEYWORDS,ETC
Thank you!