CIS 115 Final Exam 1 CIS 115 Final Exam 1 | Page 8
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)
Related Tutorials