1. DEVRY CIS 115 Final Exam 3
Check this A+ tutorial guideline at
http://www.uopassignments.com/cis-
115/cis-115-final-exam-3
For more classes visit
http://www.uopassignments.com
1. (TCO 1) When creating an IPO Model, program designers generally determine _____ last.
(Points : 4)
2. (TCO 1) What is a data item with a name and a value that remain the same during the
execution of a program? (Points : 4)
3. (TCO 1) What symbol in a flowchart would be used by a developer to represent the
beginning or ending point? (Points : 4)
4. (TCO 1) Set is a process. What data type would you expect the variable, name, to have?
(Points : 4)
5. (TCO 1) You are designing an algorithm that will use a date of 01202009. What data type
would you choose for this date variable? (Points : 4)
6. (TCO 2) What is a tool that developers use to design logic using English-like statements?
(Points : 4)
7. (TCO 2) When a program evaluates mathematical expression, which of the following
operators (or mathematical operations) has the lowest precedence? (Points : 4)
8. (TCO 2) Which one of the following is not a valid assignment statement in a program?
(Points : 4)
9. (TCO 2) Evaluate (2 * 3) ^ 3. (Points : 4)
10. (TCO 2) Review the partial pseudocode below. What is the correct math expression to
complete the algorithm and determine 50% of a cost?
Prompt “Enter total cost: “
Input cost
Set _____
Display “50% of the cost is: “ + total (Points : 4)
11. (TCO 3 & 4) Review the pseudocode below. What will be displayed when this algorithm
executes?
2. Set
If ((x > 10) AND (x < 20))="">
Display “the IF path executes”
Else
Display “the ELSE path executes”
EndIf (Points : 4)
12. (TCO 3 & 4) What value gets displayed for the variable X?
Set
Set
Set
If (B > 15) OR () OR (C <= 15)="">
Set
Else
Set
EndIf
Display X (Points : 4)
13. (TCO 3 & 4) In the following pseudocode, what percentage raise will an employee in
Department 5 receive?
If department < 3="">
Set
Else
If department < 5="">
Set
Else
Set
EndIf
EndIf (Points : 4)
14. (TCO 3 & 4) Which of the selection structures determines whether the user enters a
number between 20 and 45? (Points : 4)
15. (TCO 3 & 4) What value gets displayed for the variable Z?
Set
Set
Set
If ((balance <> 800) AND (stateCode<> 6) AND (creditCode<> 7) then
Set
Else
Set
EndIf
Display Z (Points : 4)
1. (TCO 5) The variable used to create an expression controlling the loop is known as the
_____. (Points : 4)
2. (TCO 5) Which of the following statements is false? (Points : 4)
3. (TCO 5) Which loop may not execute the body of the loop at all? (Points : 4)
4. (TCO 5) Repetition that loops a certain number of times is typically referred to as _____.
(Points : 4)
5. (TCO 5) How many times will the following loop be executed?
3. 6. (TCO 7) Subscripts or indexes of any array are always declared with what data type?
(Points : 4)
7. (TCO 7) What is an array element? (Points : 4)
8. (TCO 7) What is the value of the index used to access the last element in a zero-based
array declared as num(12)? (Points : 4)
9. (TCO 7) When processing/manipulating the elements of an array, what control structure
is used to move through each element within the array? (Points : 4)