16.09.2015 Views

CIS 115 Final Exam 1

For more course tutorials visit www.uoptutorial.com CIS 115 Entire Course: Devry University: All iLabs and Exercises

For more course tutorials visit
www.uoptutorial.com


CIS 115 Entire Course: Devry University: All iLabs and Exercises

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Display “the ELSE path executes”<br />

EndIf (Points : 4)<br />

12. (TCO 3 & 4) What value gets displayed for the variable X?<br />

Set<br />

Set<br />

Set<br />

If (B > 15) AND (() OR (C <br />

Set<br />

Else<br />

Set<br />

EndIf<br />

Display X (Points : 4)<br />

13. (TCO 3 & 4) In the following pseudocode, what raise will an employee in Department 6<br />

receive?<br />

If department < 2=""><br />

Set<br />

Else<br />

If department < 6=""><br />

Set<br />

Else<br />

Set<br />

EndIf<br />

EndIf (Points : 4)<br />

14. (TCO 3 & 4) Which of the selection structures determines if the user enters a number<br />

between 20 and 45? (Points : 4)<br />

15. (TCO 3 & 4) What value gets displayed for the variable Z?<br />

Set<br />

Set<br />

Set<br />

If ((balance 800) OR (stateCode 6) OR (creditCode 7) then<br />

Set<br />

Else<br />

Set<br />

EndIf<br />

Display Z (Points : 4)<br />

1. (TCO 5) The variable used to create an expression controlling the loop is known as the _____.<br />

(Points : 4)<br />

2. (TCO 5) Which of the following statements is false? (Points : 4)<br />

3. (TCO 5) Which control structure is classified as a loop? (Points : 4)<br />

4. (TCO 5) Repetition that loops a certain number of times is typically referred to as _____.<br />

(Points : 4)<br />

5. (TCO 5) How many times will the following loop be executed?<br />

Set<br />

DOWHILE x 7<br />

Display x

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!