How is a decision represented in a flowchart?

What will be an ideal response?


You represent a decision in a flowchart by drawing a decision symbol, which is shaped like a diamond. The diamond usually contains a question, the answer to which is one of two mutually exclusive options-often yes or no. All good computer questions have only two mutually exclusive answers, such as yes and no, or true and false. For example, "What day of the year is your birthday?" is not a good computer question because there are 366 possible answers. But "Is your birthday June 24?" is a good computer question because, for everyone in the world, the answer is either yes or no.

Computer Science & Information Technology

You might also like to view...

Explain in what ways the execution of each individual SQL statement in a transaction is like a nested subtransaction.

What will be an ideal response?

Computer Science & Information Technology

Machine language is a system computers can relate to.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Online web resources for jobs include all of the following except _______ .

A. the local library B. online newspapers C. company websites D. job-search sites

Computer Science & Information Technology

A parameter query calculates a statistic for data that is grouped by two different types of information.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology