The words you are searching are inside this book. To get more targeted content, please make full-text search by clicking here.

a flow chart design for chatbot program

Discover the best professional documents and content resources in AnyFlip Document Base.
Search
Published by inaazlin, 2020-12-09 02:45:54

Flowchart Chatbot

a flow chart design for chatbot program

START
PRINT “Do we know how many times it loops?”

READ NumOfLoop

yes

if NumOfLoop is PRINT “It’s countercontrol loop!”
known

no
PRINT “It’s sentinelcontrol loop!”

PRINT “What value is used to end the loop?”

PRINT“Initialization:”

Read Initialization

PRINT “Condition:”

Read condition

PRINT “Update:”

Read Update

PRINT “Do we need input from user?”

READ YesOrNoUserInput

no

if YesOrNoUserInput

yes
PRINT “List all the input”

READ ListOfInput

PRINT “Is there any output produced?”
READ YesOrNoUserOutput

no

if YesOrNoUserOutput
yes

PRINT “Is the output is in value or statement form?"
READ ValueOrStatement

yes READ value PRINT value
if ValueOrStatement==value

no yes PRINT statement
if ValueOrStatement==statement READ statement

no
READ value, statement

PRINT value, statement

PRINT "Any selection involved"?

READ YesNoselection

no
if YesNoselection

yes
PRINT selection

PRINT "Any accumulation involved"?

READ YesNOAccumulation

no

if YesNOAccumulation
yes
PRINT accumulation

PRINT "This question has counter control loop or sentinel control loop.
PRINT "The input is/are"
PRINT "The output is/are"

PRINT "There is selection/ no selection involved"
Print "There is accumulation/ no accumulation involved"

STOP


Click to View FlipBook Version