Chapter 3 Cisp 300

  1. Spaghetti Code
    is snarled, unstructured program logic.
  2. Unstructured Programs
    are programs that do not follow the rules of structured logic
  3. Structured program
    are programs that do follow the rules of structured programming
  4. A Structure
    is a basic unit of programming logic; each structure is a sequence, selection, or loop
  5. a sequence structure
    contains a series of steps executed in order. A sequence can contain any number of tasks, but there is option to branch off and skip and of these tasks.
  6. A selection Structure (decision structure)
    contains a question, and, depending on the answer, takes one of two courses of action before continuing with the next task
  7. end-structure statement
    designates the end of pseudocode structure.
  8. if-then-else
    is another name for a selection structure.
  9. Dual-alternative ifs (dual-alternative selections)
    define one action to be taken when the tested condition is true and another action to be taken when it is false.
  10. Single-alternative ifs (Single-alternative selections)
    take action on just one branch of the decision.
  11. Null case
    is the branch of a decision in which no action is taken
  12. loop structure
    continues to repeat actions while a test condition remains true.
  13. loop body
    is the set of actions that occur within a loop
  14. Repetition and Iteration
    are alternative names for a loop structure.
  15. or While loop
    a process continues while some condition continues to be true.
  16. stacking structures
    is the act of attaching structures to the end
  17. Nesting Structures
    is the act of placing a structure within another structure.
  18. blocks
    is a group of statements that executes as a single unit
  19. priming input or priming read
    is the statement that reads the first input data record prior to starting a structured loop
  20. Goto-less programming
    is a name to describe structured programming, because structured programmers do not use a "go to" statement
Card Set
Chapter 3 Cisp 300
Chapter 3 Cisp 300