- Other
- University Rex Toledo
LOGIC PROGRAMMING
M4 - QUIZ 1
Name :
Course :
Score: __________________
Year & Section :
I. True or False
Direction: Write T if the statement is true. write false, if it's false.
When you encounter a conditional test in a logical diagram, either a selection or a loop should start. Any type of structure might end, however, before the test is encountered.
Structured programs are not easily divided into parts, making them less prone to error.
A program can be structured yet still be incorrect.
When you encounter a conditional test in a logical diagram, a sequence should be ending.
You and other programmers will find it easier to modify and maintain structured programs as changes are required in the future.
An unstructured flowchart can achieve correct outcomes.
If a flowchart or pseudocode contains a conditional test for which the result never varies, you can eliminate the test.
The three structures can be stacked or nested in an infinite number of ways.
Any set of instructions can be expressed in a structured format.
Structured programs are clearer than unstructured programs.
Some processes cannot be expressed in a structured format.
The three structures cannot be combined in a single program.
In a structured loop, the logic returns to the loop-controlling conditional test after the loop body executes.
Any unstructured flowchart can be detangled to become structured.
Structured programs can be broken down easily into modules that can be assigned to any number of programmers.