MICROCONTROLLER
MICROCONTROLLER
https://economictimes.indiatimes.com/definition/pseudocode
FORMAL / PROFESSIONAL PSEUDO CODING
SIMPLE PSEUDO CODING
Input variables and setup
welcome message
input message
binary translation
LED pattern 1
LEDs will turn on one by one from LED1-LED8
If input zero
LED pattern lahat LOW/OFF
PROCESS FLOW DIAGRAM / FLOW CHART
Flow charting is one of the processes used
in designing or planning the solution to a
problem. It is a graphical representation to
the solution of a problem. It uses shapes to
show instructions and arrow lines and heads
to display the flow.
IMAGE EXAMPLE OF FLOW CHART
Use of Decision Symbol
One of the symbols used in flowchart is the decision or the diamond symbol. This
symbol requires logical test that could be determined by using conditional statements
or characters. Through logical test, this symbol provides two answers, if the value
evaluated by the decision symbol produces a “true” result or if it did not meet the
value on the conditional statement it renders a “false” value.
SAMPLE PROBLEM
Draw a flowchart
Requirement of the Problem Number 1
1. Ask the user to enter 2 integers
2. Process it with sum
3. Display result
Requirement of the Problem Number 2
1. Ask the user to input three quiz scores
2. Get the average of the three quizzes
3. Display result
Requirement of the Problem Number 3
1. Ask the user to enter the password
2. Display “Access Granted” if the password is equal to
“Computer”, on the false side display “Access Denied”