SlideShare ist ein Scribd-Unternehmen logo
1 von 6
DEVRY CIS 115 Final Exam 2
Check this A+ tutorial guideline at
http://www.assignmentcloud.com/cis-
115/cis-115-final-exam-2
For more classes visit
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 <= 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)
1. (TCO 5) The statements executed within a loop are known collectively as the _____.
(Points : 4)
2. (TCO 5) Which of the following statements is false? (Points : 4)
3. (TCO 5) A DO loop is considered what type of loop? (Points : 4)
4. (TCO 5) What happens when the loop control variable is not changed? (Points : 4)
5. (TCO 5) How many times will the following loop be executed?
Set
DOWHILE num<=>
Display num
Set + 1
ENDO (Points : 4)
6. (TCO 7) What is another name for an array’s index? (Points : 4)
7. (TCO 7) Suppose you have an array named number,
and two of its elements are number(1) and number(4). You know that _____. (Points : 4)
8. (TCO 7) Which one of the following correctly declares a zero-based array of four
integers? (Points : 4)
9. (TCO 7) When processing the elements of an array, what control structure is used to
move through each element within the array? (Points : 4)
10. (TCO 7) A zero-based array named sales has been declared and loaded with the values
100, 1100, 3400, 5550, 3000, 22300, and 1200. What value will be stored in the array
element sales(1)? (Points : 4)
11. (TCO 6) A file contains _____. (Points : 4)
12. (TCO 6) What is automatically placed at the bottom of a file when the file is closed?
(Points : 4)
13. (TCO 8) Menu-driven programs need to give the user the option to _____. (Points : 4)
14. (TCO 9) What type of error occurs when a program will not execute because the rules
of the language have been violated? (Points : 4)
15. (TCO 2) The first module is usually considered to be called the _____ module. (Points : 4)
1. (TCO 10) A retail store is having a customer appreciation sale. Depending on the total
dollars purchased, the customer could receive a discount on his or her total purchases. You
are to develop pseudocode that will obtain the total dollars purchased from the user,
determine the discount percentage, and display the total amount due. When the purchases
are more than $100, the discount is 10%. When the purchases are $100 or less, the
discount is 5%. (Points : 10)
2. (TCO 10) A small business in your neighborhood would like an application developed
that determines the average dollar amount spent for every three purchases. The user will
enter three different purchase amounts. You need to display the average to your client.
Complete the pseudocode to design your logic. (Points : 10)
3. (TCO 9 & 10) There is a logic error in the following pseudocode. The loop needs to
execute four times. What statement(s) would you need to add or change to correct the
logic? Be sure to explain why you are adding or changing the statements.
Set
REPEAT
Set + 1
UNTIL total <>
EndWhile
Display total (Points : 10)
4. (TCO 4 & 10) Complete the pseudocode by rewriting the algorithm. The design is
determining the correct sales tax depending on the county identifying code. Counties with a
number less than 10 have a 6% sales tax. The 11–25 codes have a sales tax of 7%. Codes
above 25 have a sales tax of 8%. The code is entered by the user.
Begin
Declare Real salesTax
Declare _____ countyCode
_____ “Enter the county code: “
_____ countyCode
If _____ <= 10="">
Set
Else
If _____ AND _____ then
Set
Else
_____
EndIf
_____
Display “the sales tax is: “ + _____
End (Points : 10)
5. (TCO 5 & 10) Complete the pseudocode by rewriting the algorithm. The design is to
display a 60-second countdown.
Begin
Declare _____ count
Set
REPEAT
Display “countdown: “ + _____
Set - 1
UNTIL _____
EndDo
Display “LIFT OFF!”
End (Points : 10)
6. (TCO 4, 5 & 10) Complete the pseudocode by rewriting the algorithm. The colors red,
blue, and yellow are known as primary colors because they cannot be made by mixing
other colors. When you mix two primary colors, you get a secondary color. Mixing yellow
and blue gets you green. Mixing red and blue gets you purple. The algorithm allows the
user to enter two primary colors and then displays the resulting secondary color. The
colors entered by the user will be validated to ensure they entered a primary color.
Begin
Declare String color1
Declare String color2
Declare String control1
Declare String control2
_____ “Enter first primary color: “
Input _____
Prompt “Enter the second primary color: “
Input _____
Set control1 = “n”
DOWHILE control1 = “n”
If (color1 <> “yellow”) _____ (color1 <> “red”) _____ (color1 <> “blue”) then
Prompt “first primary color is invalid”
Input _____
Else
Set control1 = “y”
ENDO
Set control2 = “n”
DOWHILE control2 = “n”
If (color2 <> “yellow”) _____ (color2 <> “red”) _____ (color2 <> “blue”) then
Prompt “second primary color is invalid”
Input color2
Else
Set control2 = “y”
ENDO
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) Describe two of the three control structure
Else
Set control1 = “y”
ENDO
Set control2 = “n”
DOWHILE control2 = “n”
If (color2 <> “yellow”) _____ (color2 <> “red”) _____ (color2 <> “blue”) then
Prompt “second primary color is invalid”
Input color2
Else
Set control2 = “y”
ENDO
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) Describe two of the three control structure

Weitere ähnliche Inhalte

Was ist angesagt?

CIS 115 Exceptional Education - snaptutorial.com
CIS 115   Exceptional Education - snaptutorial.comCIS 115   Exceptional Education - snaptutorial.com
CIS 115 Exceptional Education - snaptutorial.comDavisMurphyB33
 
CIS 115 Achievement Education--cis115.com
CIS 115 Achievement Education--cis115.comCIS 115 Achievement Education--cis115.com
CIS 115 Achievement Education--cis115.comagathachristie170
 
CIS 115 Redefined Education--cis115.com
CIS 115 Redefined Education--cis115.comCIS 115 Redefined Education--cis115.com
CIS 115 Redefined Education--cis115.comagathachristie208
 
CIS 115 Education for Service--cis115.com
CIS 115 Education for Service--cis115.com  CIS 115 Education for Service--cis115.com
CIS 115 Education for Service--cis115.com williamwordsworth10
 
CIS 115 Effective Communication - tutorialrank.com
CIS 115  Effective Communication - tutorialrank.comCIS 115  Effective Communication - tutorialrank.com
CIS 115 Effective Communication - tutorialrank.comBartholomew18
 
Devry cis 115 final exam 1
Devry cis 115 final exam 1Devry cis 115 final exam 1
Devry cis 115 final exam 1shamek1236
 
Devry cis 115 final exam 1
Devry cis 115 final exam 1Devry cis 115 final exam 1
Devry cis 115 final exam 1eyavagal
 
CIS 115 Become Exceptional--cis115.com
CIS 115 Become Exceptional--cis115.comCIS 115 Become Exceptional--cis115.com
CIS 115 Become Exceptional--cis115.comclaric130
 
Mid term sem 2 1415 sol
Mid term sem 2 1415 solMid term sem 2 1415 sol
Mid term sem 2 1415 solIIUM
 
BASICS OF COMPUTER PROGRAMMING-TAKE HOME ASSIGNMENT 2018
BASICS OF COMPUTER PROGRAMMING-TAKE HOME ASSIGNMENT 2018BASICS OF COMPUTER PROGRAMMING-TAKE HOME ASSIGNMENT 2018
BASICS OF COMPUTER PROGRAMMING-TAKE HOME ASSIGNMENT 2018musadoto
 
OXUS20 JAVA Programming Questions and Answers PART I
OXUS20 JAVA Programming Questions and Answers PART IOXUS20 JAVA Programming Questions and Answers PART I
OXUS20 JAVA Programming Questions and Answers PART IAbdul Rahman Sherzad
 
11th information practices paper CBSE INDIA 2012 2013
11th information practices paper CBSE INDIA 2012 201311th information practices paper CBSE INDIA 2012 2013
11th information practices paper CBSE INDIA 2012 2013Harish Gyanani
 
Python programming workshop session 2
Python programming workshop session 2Python programming workshop session 2
Python programming workshop session 2Abdul Haseeb
 

Was ist angesagt? (16)

CIS 115 Exceptional Education - snaptutorial.com
CIS 115   Exceptional Education - snaptutorial.comCIS 115   Exceptional Education - snaptutorial.com
CIS 115 Exceptional Education - snaptutorial.com
 
CIS 115 Achievement Education--cis115.com
CIS 115 Achievement Education--cis115.comCIS 115 Achievement Education--cis115.com
CIS 115 Achievement Education--cis115.com
 
CIS 115 Redefined Education--cis115.com
CIS 115 Redefined Education--cis115.comCIS 115 Redefined Education--cis115.com
CIS 115 Redefined Education--cis115.com
 
CIS 115 Education for Service--cis115.com
CIS 115 Education for Service--cis115.com  CIS 115 Education for Service--cis115.com
CIS 115 Education for Service--cis115.com
 
CIS 115 Effective Communication - tutorialrank.com
CIS 115  Effective Communication - tutorialrank.comCIS 115  Effective Communication - tutorialrank.com
CIS 115 Effective Communication - tutorialrank.com
 
Devry cis 115 final exam 1
Devry cis 115 final exam 1Devry cis 115 final exam 1
Devry cis 115 final exam 1
 
Devry cis 115 final exam 1
Devry cis 115 final exam 1Devry cis 115 final exam 1
Devry cis 115 final exam 1
 
CIS 115 Become Exceptional--cis115.com
CIS 115 Become Exceptional--cis115.comCIS 115 Become Exceptional--cis115.com
CIS 115 Become Exceptional--cis115.com
 
Mid term sem 2 1415 sol
Mid term sem 2 1415 solMid term sem 2 1415 sol
Mid term sem 2 1415 sol
 
BASICS OF COMPUTER PROGRAMMING-TAKE HOME ASSIGNMENT 2018
BASICS OF COMPUTER PROGRAMMING-TAKE HOME ASSIGNMENT 2018BASICS OF COMPUTER PROGRAMMING-TAKE HOME ASSIGNMENT 2018
BASICS OF COMPUTER PROGRAMMING-TAKE HOME ASSIGNMENT 2018
 
Qno 1 (f)
Qno 1 (f)Qno 1 (f)
Qno 1 (f)
 
OXUS20 JAVA Programming Questions and Answers PART I
OXUS20 JAVA Programming Questions and Answers PART IOXUS20 JAVA Programming Questions and Answers PART I
OXUS20 JAVA Programming Questions and Answers PART I
 
11th information practices paper CBSE INDIA 2012 2013
11th information practices paper CBSE INDIA 2012 201311th information practices paper CBSE INDIA 2012 2013
11th information practices paper CBSE INDIA 2012 2013
 
programming for Calculator in java
programming for Calculator in javaprogramming for Calculator in java
programming for Calculator in java
 
Java calculator
Java calculatorJava calculator
Java calculator
 
Python programming workshop session 2
Python programming workshop session 2Python programming workshop session 2
Python programming workshop session 2
 

Ähnlich wie Devry cis 115 final exam 2

Devry cis 115 final exam 1
Devry cis 115 final exam 1Devry cis 115 final exam 1
Devry cis 115 final exam 1eyavagal
 
CIS 115 Education in iCounseling ---cis115.com
CIS 115 Education in  iCounseling ---cis115.comCIS 115 Education in  iCounseling ---cis115.com
CIS 115 Education in iCounseling ---cis115.comclaric59
 
Devry cis 115 final exam 3
Devry cis 115 final exam 3Devry cis 115 final exam 3
Devry cis 115 final exam 3shamek1236
 
Devry cis 115 final exam 3
Devry cis 115 final exam 3Devry cis 115 final exam 3
Devry cis 115 final exam 3eyavagal
 
Bis 345-final-exam-guide-set-1-new
Bis 345-final-exam-guide-set-1-newBis 345-final-exam-guide-set-1-new
Bis 345-final-exam-guide-set-1-newassignmentcloud85
 
Cis 115 Education Redefined-snaptutorial.com
Cis 115 Education Redefined-snaptutorial.comCis 115 Education Redefined-snaptutorial.com
Cis 115 Education Redefined-snaptutorial.comrobertledwes38
 
Bis 311 final examination answers
Bis 311 final examination answersBis 311 final examination answers
Bis 311 final examination answersRandalHoffman
 
Cis 336 final exam 1
Cis 336 final exam 1Cis 336 final exam 1
Cis 336 final exam 1prasaaanna2
 
Week 2 iLab TCO 2 — Given a simple problem, design a solutio.docx
Week 2 iLab TCO 2 — Given a simple problem, design a solutio.docxWeek 2 iLab TCO 2 — Given a simple problem, design a solutio.docx
Week 2 iLab TCO 2 — Given a simple problem, design a solutio.docxmelbruce90096
 
Cis 336 final exam 2
Cis 336 final exam 2Cis 336 final exam 2
Cis 336 final exam 2prasaaanna2
 
Ecet 330 final exam new 2016
Ecet 330 final exam new 2016Ecet 330 final exam new 2016
Ecet 330 final exam new 2016sergejsvolkovs10
 

Ähnlich wie Devry cis 115 final exam 2 (11)

Devry cis 115 final exam 1
Devry cis 115 final exam 1Devry cis 115 final exam 1
Devry cis 115 final exam 1
 
CIS 115 Education in iCounseling ---cis115.com
CIS 115 Education in  iCounseling ---cis115.comCIS 115 Education in  iCounseling ---cis115.com
CIS 115 Education in iCounseling ---cis115.com
 
Devry cis 115 final exam 3
Devry cis 115 final exam 3Devry cis 115 final exam 3
Devry cis 115 final exam 3
 
Devry cis 115 final exam 3
Devry cis 115 final exam 3Devry cis 115 final exam 3
Devry cis 115 final exam 3
 
Bis 345-final-exam-guide-set-1-new
Bis 345-final-exam-guide-set-1-newBis 345-final-exam-guide-set-1-new
Bis 345-final-exam-guide-set-1-new
 
Cis 115 Education Redefined-snaptutorial.com
Cis 115 Education Redefined-snaptutorial.comCis 115 Education Redefined-snaptutorial.com
Cis 115 Education Redefined-snaptutorial.com
 
Bis 311 final examination answers
Bis 311 final examination answersBis 311 final examination answers
Bis 311 final examination answers
 
Cis 336 final exam 1
Cis 336 final exam 1Cis 336 final exam 1
Cis 336 final exam 1
 
Week 2 iLab TCO 2 — Given a simple problem, design a solutio.docx
Week 2 iLab TCO 2 — Given a simple problem, design a solutio.docxWeek 2 iLab TCO 2 — Given a simple problem, design a solutio.docx
Week 2 iLab TCO 2 — Given a simple problem, design a solutio.docx
 
Cis 336 final exam 2
Cis 336 final exam 2Cis 336 final exam 2
Cis 336 final exam 2
 
Ecet 330 final exam new 2016
Ecet 330 final exam new 2016Ecet 330 final exam new 2016
Ecet 330 final exam new 2016
 

Mehr von shamek1236

Strayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks new
Strayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks newStrayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks new
Strayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks newshamek1236
 
Devry cis 115 week 4 lab grade calendar
Devry cis 115 week 4 lab grade calendarDevry cis 115 week 4 lab grade calendar
Devry cis 115 week 4 lab grade calendarshamek1236
 
Uop acc 544 week 6 quiz
Uop acc 544 week 6 quizUop acc 544 week 6 quiz
Uop acc 544 week 6 quizshamek1236
 
Uop acc 544 week 6 quiz internal controls new
Uop acc 544 week 6 quiz internal controls newUop acc 544 week 6 quiz internal controls new
Uop acc 544 week 6 quiz internal controls newshamek1236
 
Uop acc 544 quiz 3 new
Uop acc 544 quiz 3 newUop acc 544 quiz 3 new
Uop acc 544 quiz 3 newshamek1236
 
Uop acc 543 week 4 exam new syllabus
Uop acc 543 week 4 exam new syllabusUop acc 543 week 4 exam new syllabus
Uop acc 543 week 4 exam new syllabusshamek1236
 
Uop acc 543 week 3 exam new syllabus
Uop acc 543 week 3 exam new syllabusUop acc 543 week 3 exam new syllabus
Uop acc 543 week 3 exam new syllabusshamek1236
 
Uop acc 422 week 4 wiley plus assignment
Uop acc 422 week 4 wiley plus assignmentUop acc 422 week 4 wiley plus assignment
Uop acc 422 week 4 wiley plus assignmentshamek1236
 
Uop acc 422 week 3 wiley plus assignment
Uop acc 422 week 3 wiley plus assignmentUop acc 422 week 3 wiley plus assignment
Uop acc 422 week 3 wiley plus assignmentshamek1236
 
Ash bus 303 week 4 quiz
Ash  bus 303 week 4 quizAsh  bus 303 week 4 quiz
Ash bus 303 week 4 quizshamek1236
 
Ash bus 303 week 2 quiz
Ash  bus 303 week 2 quizAsh  bus 303 week 2 quiz
Ash bus 303 week 2 quizshamek1236
 

Mehr von shamek1236 (11)

Strayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks new
Strayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks newStrayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks new
Strayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks new
 
Devry cis 115 week 4 lab grade calendar
Devry cis 115 week 4 lab grade calendarDevry cis 115 week 4 lab grade calendar
Devry cis 115 week 4 lab grade calendar
 
Uop acc 544 week 6 quiz
Uop acc 544 week 6 quizUop acc 544 week 6 quiz
Uop acc 544 week 6 quiz
 
Uop acc 544 week 6 quiz internal controls new
Uop acc 544 week 6 quiz internal controls newUop acc 544 week 6 quiz internal controls new
Uop acc 544 week 6 quiz internal controls new
 
Uop acc 544 quiz 3 new
Uop acc 544 quiz 3 newUop acc 544 quiz 3 new
Uop acc 544 quiz 3 new
 
Uop acc 543 week 4 exam new syllabus
Uop acc 543 week 4 exam new syllabusUop acc 543 week 4 exam new syllabus
Uop acc 543 week 4 exam new syllabus
 
Uop acc 543 week 3 exam new syllabus
Uop acc 543 week 3 exam new syllabusUop acc 543 week 3 exam new syllabus
Uop acc 543 week 3 exam new syllabus
 
Uop acc 422 week 4 wiley plus assignment
Uop acc 422 week 4 wiley plus assignmentUop acc 422 week 4 wiley plus assignment
Uop acc 422 week 4 wiley plus assignment
 
Uop acc 422 week 3 wiley plus assignment
Uop acc 422 week 3 wiley plus assignmentUop acc 422 week 3 wiley plus assignment
Uop acc 422 week 3 wiley plus assignment
 
Ash bus 303 week 4 quiz
Ash  bus 303 week 4 quizAsh  bus 303 week 4 quiz
Ash bus 303 week 4 quiz
 
Ash bus 303 week 2 quiz
Ash  bus 303 week 2 quizAsh  bus 303 week 2 quiz
Ash bus 303 week 2 quiz
 

Kürzlich hochgeladen

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 

Kürzlich hochgeladen (20)

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 

Devry cis 115 final exam 2

  • 1. DEVRY CIS 115 Final Exam 2 Check this A+ tutorial guideline at http://www.assignmentcloud.com/cis- 115/cis-115-final-exam-2 For more classes visit 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?
  • 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) 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) 1. (TCO 5) The statements executed within a loop are known collectively as the _____. (Points : 4) 2. (TCO 5) Which of the following statements is false? (Points : 4) 3. (TCO 5) A DO loop is considered what type of loop? (Points : 4) 4. (TCO 5) What happens when the loop control variable is not changed? (Points : 4) 5. (TCO 5) How many times will the following loop be executed? Set
  • 3. DOWHILE num<=> Display num Set + 1 ENDO (Points : 4) 6. (TCO 7) What is another name for an array’s index? (Points : 4) 7. (TCO 7) Suppose you have an array named number, and two of its elements are number(1) and number(4). You know that _____. (Points : 4) 8. (TCO 7) Which one of the following correctly declares a zero-based array of four integers? (Points : 4) 9. (TCO 7) When processing the elements of an array, what control structure is used to move through each element within the array? (Points : 4) 10. (TCO 7) A zero-based array named sales has been declared and loaded with the values 100, 1100, 3400, 5550, 3000, 22300, and 1200. What value will be stored in the array element sales(1)? (Points : 4) 11. (TCO 6) A file contains _____. (Points : 4) 12. (TCO 6) What is automatically placed at the bottom of a file when the file is closed? (Points : 4) 13. (TCO 8) Menu-driven programs need to give the user the option to _____. (Points : 4) 14. (TCO 9) What type of error occurs when a program will not execute because the rules of the language have been violated? (Points : 4) 15. (TCO 2) The first module is usually considered to be called the _____ module. (Points : 4) 1. (TCO 10) A retail store is having a customer appreciation sale. Depending on the total dollars purchased, the customer could receive a discount on his or her total purchases. You are to develop pseudocode that will obtain the total dollars purchased from the user, determine the discount percentage, and display the total amount due. When the purchases are more than $100, the discount is 10%. When the purchases are $100 or less, the discount is 5%. (Points : 10) 2. (TCO 10) A small business in your neighborhood would like an application developed that determines the average dollar amount spent for every three purchases. The user will enter three different purchase amounts. You need to display the average to your client. Complete the pseudocode to design your logic. (Points : 10) 3. (TCO 9 & 10) There is a logic error in the following pseudocode. The loop needs to execute four times. What statement(s) would you need to add or change to correct the logic? Be sure to explain why you are adding or changing the statements. Set REPEAT Set + 1 UNTIL total <> EndWhile Display total (Points : 10) 4. (TCO 4 & 10) Complete the pseudocode by rewriting the algorithm. The design is determining the correct sales tax depending on the county identifying code. Counties with a number less than 10 have a 6% sales tax. The 11–25 codes have a sales tax of 7%. Codes above 25 have a sales tax of 8%. The code is entered by the user. Begin Declare Real salesTax
  • 4. Declare _____ countyCode _____ “Enter the county code: “ _____ countyCode If _____ <= 10=""> Set Else If _____ AND _____ then Set Else _____ EndIf _____ Display “the sales tax is: “ + _____ End (Points : 10) 5. (TCO 5 & 10) Complete the pseudocode by rewriting the algorithm. The design is to display a 60-second countdown. Begin Declare _____ count Set REPEAT Display “countdown: “ + _____ Set - 1 UNTIL _____ EndDo Display “LIFT OFF!” End (Points : 10) 6. (TCO 4, 5 & 10) Complete the pseudocode by rewriting the algorithm. The colors red, blue, and yellow are known as primary colors because they cannot be made by mixing other colors. When you mix two primary colors, you get a secondary color. Mixing yellow and blue gets you green. Mixing red and blue gets you purple. The algorithm allows the user to enter two primary colors and then displays the resulting secondary color. The colors entered by the user will be validated to ensure they entered a primary color. Begin Declare String color1 Declare String color2 Declare String control1 Declare String control2 _____ “Enter first primary color: “ Input _____ Prompt “Enter the second primary color: “ Input _____ Set control1 = “n” DOWHILE control1 = “n” If (color1 <> “yellow”) _____ (color1 <> “red”) _____ (color1 <> “blue”) then Prompt “first primary color is invalid” Input _____
  • 5. Else Set control1 = “y” ENDO Set control2 = “n” DOWHILE control2 = “n” If (color2 <> “yellow”) _____ (color2 <> “red”) _____ (color2 <> “blue”) then Prompt “second primary color is invalid” Input color2 Else Set control2 = “y” ENDO 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) Describe two of the three control structure
  • 6. Else Set control1 = “y” ENDO Set control2 = “n” DOWHILE control2 = “n” If (color2 <> “yellow”) _____ (color2 <> “red”) _____ (color2 <> “blue”) then Prompt “second primary color is invalid” Input color2 Else Set control2 = “y” ENDO 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) Describe two of the three control structure