CIS 115 (Devry) help Making Decisions/uophelp.com CIS 115 (Devry) help Making Decisions/uophelp.com | Page 8

Input _________ Set control1 = “n” DOWHILE control1 = “n” If (color1 <> “yellow”) ______ (color1 <> “red”) _______ (color1 <> “blue”) then Prompt “first primary color is invalid” Input _________ Else Set control1 = “y” ENDO Set control2 = “n” DOWHILE control2 = “n” If (color2 <> “yellow”) ______ (color2 <> “red”) _______ (color2 <> “blue”) then Prompt “second primary color is invalid” Input color2 Else Set control2 = “y” ENDO If (color1 = “red”) AND (__________) then Display “secondary color is: purple” EndIf If (color1 = “yellow”) AND (_________) then Display “secondary color is: green” EndIf End (Points : 10) 7. (TCO 1, 2, 3, & 4) Describe the difference between a flowchart and pseudocode and explain whether one is more important to develop than the other. (Points : 10) 8. (TCO 1, 2, 3, 4, & 5) Compare and contrast sequence control structures and selection control structures. (Points : 10) --------------------------------------------------------------------------