Logic Programming - M4 Quiz 1

Created
    English
  1. Other
  2. University
  3. AvatarRex Toledo
Best for asynchronous learning and homeworkAssign in student-paced mode
Best for live in-class or video conferencing lessonsStart teacher-led lesson
Preview as student

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.

  1. 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.

  2. Structured programs are not easily divided into parts, making them less prone to error.

  3. A program can be structured yet still be incorrect.

  4. When you encounter a conditional test in a logical diagram, a sequence should be ending.

  5. You and other programmers will find it easier to modify and maintain structured programs as changes are required in the future.

  6. An unstructured flowchart can achieve correct outcomes.

  7. If a flowchart or pseudocode contains a conditional test for which the result never varies, you can eliminate the test.

  8. The three structures can be stacked or nested in an infinite number of ways.

  9. Any set of instructions can be expressed in a structured format.

  10. Structured programs are clearer than unstructured programs.

  11. Some processes cannot be expressed in a structured format.

  12. The three structures cannot be combined in a single program.

  13. In a structured loop, the logic returns to the loop-controlling conditional test after the loop body executes.

  14. Any unstructured flowchart can be detangled to become structured.

  15. Structured programs can be broken down easily into modules that can be assigned to any number of programmers.