10 months ago

BIS 311 DeVry Final Exam

Question 5.5. (TCO 5) A

Question 5.5. (TCO 5) A _____ structure is used in an application when a decision needs to be made, followed by an action derived from that decision. (Points : 5) o o o o selection sequence repetition interrogative Question 6.6. (TCO 5) If intQty contains 60, what will be the value of intPrice after executing the following code? Select Case intQty Case 1 To 50 intPrice = 10 Case 51 To 100 intPrice = 8 Case > 100 intPrice = 6 Case Else intPrice = 0 End Select (Points : 5) o 10 o 8 o 6 o 0 Question 7.7. (TCO 6) The loop below is classified as a(n) _____ loop. Dim intNum As Integer = 2 Do MsgBox(intNum.ToString() ) intNum *= intNum Loop While intNum< 1000 (Points : 5) o o o o infinite pretest posttest counter-controlled Question 8.8. (TCO 6) Which element of the following array contains the value “Red”? Dim strColors() As String = {“Red”, “Green”, “Blue”, “Yellow”} (Points : 5) o o strColors(4) strColors(3)

o o strColors(1) strColors(0) Question 9.9. (TCO 7) The _____ of an independent Sub procedure usually begins with the Private keyword. (Points : 5) o o o o Call statement argument list procedure footer procedure header Question 10.10. (TCO 7) In the following function, what should go in the blank in the function header? Private Function GetRatio(dblNumerator As Double, dblDenominator As Double) _____ Dim dblRatio As Double dblRatio = dblNumerator/dblDenominator Return dblRatio End Function (Points : 5) o o o o ByVal ByRef As Integer As Double Question 11.11. (TCO 2) An application for a shipping company needs to keep track of the length, width, height, and weight of packages. Using object-oriented programming methods, in this application, the weight of a package would be represented by a(n) _____. (Points : 5) o o o o object attribute method class Question 12.12. (TCO 4) Consider the following class definition: Public Class Box Public Length As Double Public Width As Double Public Height As Double Public Function GetVolume() As Double Return Length * Width * Height End Function End Class If crate is an instance of Box, which of the following statements assigns a value to a property? (Points : 5) o crate.Length = 42 o dblVolume = crate.GetVolume() o crate.GetVolume(42) o Call crate.Length(42)

Microsoft power bi training courses
Earn college credits on us this year. Passport2College - Devry
Up-to-Date 98-361 Exam BrainDumps
Studentehelp : COM 295 Final Exam | COM 295 Final Exam Question and Answers
GSSP-NET-CSHARP Latest Exam BrainDumps
MS Catalog final 2006.indd - Penguin Books Australia
QNT 561 Final Exam University of Phoenix New Courses
99 of the Hottest Tech Tips
MS Catalog final 2006.indd - Penguin Books Australia
Overview Slides (PDF) - NVIDIA Developer Zone
DEVRY BIS 155 Final Exams