http://www.assignmentcloud.com
CIS 115 Final Exam 2
1. What is the first step in software development?
2. What are named locations in a computer’s memory holding information required by a program?
3. What symbol in a flowchart would be used by a developer to represent the beginning or ending point?
4. ) Set name = “BSCIS” is a process. What data type would you expect the variable, name, to have?
5. (You are using dollar amounts in an algorithm. What data type would you assign?
6. What tool is used by developers to design logic using specific shapes/symbols?
7. When a program evaluates mathematical expression, which of the following operators (or mathematical operations) takes precedence?
8. (Which one of the following is a valid assignment statement in a program?
9. (Evaluate (2 * 3) ^ 3.
10. (TCO 2) Review the partial pseudocode below. What is the correct math expression to complete the algorithm and total sales for both regions?
Prompt “Enter total sales for region 1: “
Input region1
Prompt “Enter total sales for region 2: “
Input region2
Set _____
Display “total sales: “ + total (Points : 4)
11. (TCO 3 & 4) Review the pseudocode below. What will be displayed when this algorithm executes?
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) AND (() OR (C
Set
Else
Set
EndIf
Display X (Points : 4)
13. (TCO 3 & 4) In the following pseudocode, what raise will an employee in Department 6 receive?
If department < 2="">
Set
Else
If department < 6="">
Set
Else
Set
EndIf
EndIf (Points : 4)
14. (TCO 3 & 4) Which of the selection structures determine whether the user enters a number outside a range of 5 and 15? (Points : 4)
15. (TCO 3 & 4) What...