LOGIC DESIGN QUESTIONS

LOGIC DESIGN QUESTIONS - REVIEW QUESTIONS 1. ANSWER.B)...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
REVIEW QUESTIONS 1. ANSWER.B) SPARGHETTI 2. ANY NUMBER OF TASKS 3. LOOP STRUCTURE 4. IF-THEN-ELSE 5. NESTING 6. STACKING 7. LOOP BODY 8. SINGLE-ALTERNATIVE SELECTION 9. DUAL-ALTERNATIVE SELECTION 10. THEY ALL HAVE AN ENTRY AND ONE EXIT POINT 11. IS CALLED A PRIMING INPUT 12. BLOCK 13. ALL OF THESE ARE ACCEPTABLE 14. STRUCTURE PROGRAMS USUALLY ARE SHORTER THAN UNSTRUCTURED ONES 15.STRUCTURED PROGRAMS REQUIRE THAT YOU BREAK THE CODE INTO MODULES. PSEUDOCODES 4.#1 Start -put pen on paper -Turn the arm to the left -draw a 1 inch line -turn 90 degrees left -draw a 1 inch line -turn 90 degrees left -draw a 1 inch line -turn 90 degrees left -draw a 1 inch line -lift pen Stop 2. Start -put pen on paper -Turn the arm to the left -draw a 1 inch line -draw a 1 inch line -turn 90 degrees left -draw a 1 inch line -turn 90 degrees left -draw a 1 inch line -draw a 1 inch line
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
-turn 90 degrees left -draw a 1 inch line -lift pen Stop #3 Start -put pen on paper -Turn the arm to the left -draw a 1 inch line -draw a circle that is 1 inch in diameter
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

LOGIC DESIGN QUESTIONS - REVIEW QUESTIONS 1. ANSWER.B)...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online