Save Time & improve Grades
- Questions Asked
- Experts
- Total Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!
MIS 505 Programming-Final-Exam-Review PART 15 1. Structured programs use spaghetti code logic. A) True B) False Points Earned: 1.0 2. In a selection structure, you perform an action or task, and then you perform the next action in order. A) True B) False Points Earned: 1.0 3. Repetition and sequence are alternate names for a loop structure. A) True B) False Points Earned: 1.0 4. In a structured program, any structure can be nested within another structure. A) True B) False Points Earned: 1.0 5. A structured program must contain a sequence, selection, and loop structure. A) True B) False Points Earned: 1.0 6. Because you may stack and nest structures while retaining the overall structure, it might be difficult to determine whether a flowchart as a whole is structured. A) True B) False Points Earned: 1.0 7. As a general rule, an eof question should always come immediately after an input statement because the end-of-file condition will be detected at input. A) True B) False Points Earned: 1.0 8. Structured programming is sometimes called goto-less programming. A) True B) False Points Earned: 1.0 9. No matter how complicated it is, any set of steps can always be reduced to combinations of the two basic structures of sequence and loop. A) True B) False Points Earned: 1.0 10. The case structure is a variation of the sequence structure and the do loop is a variation of the while loop. A) True B) False Points Earned: 1.0 11. Programs that use _____ code logic are unstructured programs that do not follow the rules of structured logic. A) case B) loop C) spaghetti D) nested Points Earned: 1.0 12. With a(n) ____, you perform an action or task, and then you perform the next action, in order. A) ordered structure B) sequence problem C) sequence structure D) loop sequence Points Earned: 1.0 13. The following pseudocode is an example of a ____ structure. get firstNumber get secondNumber add firstNumber and secondNumber print result A) sequence B) decision C) loop D) nested Points Earned: 1.0 14. The following pseudocode is an example of a ____ structure. if firstNumber is bigger than secondNumber then print firstNumber else print secondNumber A) sequence B) decision C) loop D) nested Points Earned: 1.0 15. Fill in the blank in the following pseudocode: if someCondition is true then do oneProcess ____ do theOtherProcess A) then B) while C) do D) else Points Earned: 1.0 16. if-else examples can also be called ____ because they contain the action taken when the tested condition is true and the action taken when it is false. A) do loops B) single-alternative selections C) repetition D) dual-alternative selections Points Earned: 1.0 17. The following pseudocode is an example of a ____ structure. get number while number is positive add to sum get number A) sequence B) decision C) loop D) nested Points Earned: 1.0 18. You may hear programmers refer to looping as ____. A) execution B) selection C) iteration D) case Points Earned: 1.0 19. The action or actions that occur within a loop are known as a(n) ____. A) loop body B) action body C) loop internals D) structure body Points Earned: 1.0 20. The following pseudocode is an example of ____. do stepA do stepB if conditionC is true then do stepD else do stepE endif while conditionF is true do stepG endwhile A) nesting B) stacking C) single alternative structures D) a posttest Points Earned: 1.0
Ask a question
Experts are online
Answers (1)
MIS505 MIS/505 MIS 505 Programming-Final-Exam-Review PART 15
Answer Attachments
1 attachments —