+
CIS115 Final Exam 2

CIS115 Final Exam 2

Rating:
Rating
(0)
Author: Christine Farr
Description:

http://www.devrygenius.com/product/cis115-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 <= 15))="">
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 value gets displayed for the variable Z?
Set 
Set 
Set 
If ((balance <> 800) OR (stateCode <> 6) OR (creditCode <> 7) then
Set 
Else
Set 
EndIf
Display Z (Points : 4)


(more)
See More
Try a College Course Free

Sophia’s self-paced online courses are a great way to save time and money as you earn credits eligible for transfer to over 2,000 colleges and universities.*

Begin Free Trial
No credit card required

25 Sophia partners guarantee credit transfer.

221 Institutions have accepted or given pre-approval for credit transfer.

* The American Council on Education's College Credit Recommendation Service (ACE Credit®) has evaluated and recommended college credit for 20 of Sophia’s online courses. More than 2,000 colleges and universities consider ACE CREDIT recommendations in determining the applicability to their course and degree programs.

Tutorial