CSIS 208 Quiz 4

CSIS 208 Quiz 4 Liberty University

  1. Unless otherwise specified, Visual Basic assigns the value 0 to each element of a numeric array when it is declared with a Dim statement. (T/F)
  2. Assuming the following statement, what is the For…Next loop’s counter variable?
    For yr As Integer = 1 To 5
  3. If the counter variable of a For…Next loop will assume values that are not whole numbers, then the variable must not be of type Integer. (T/F)
  4. The ReDim statement causes an array to lose its current contents unless the word ReDim is followed by the keyword
  5. The step value of a For…Next loop can be given by a numeric literal, variable, or expression. (T/F)
  6. Consider the following structure definition. Which Dim statement would correctly declare an array of this structure for elements having subscripts from 0 through 30?
    Structure carType
    Dim yr As Integer
    Dim make As String
    Dim model As String
    End Structure
  7. Arrays are said to be ordered only if the values are in ascending order. (T/F)
  8. What numbers are displayed in the list box by the following program segment?
    Dim numbers() As Integer = {4, 7, 9, 3, 1}
    Dim query = From number in numbers
    Where number > 6
    Select number
    Items.Add(query.Count)
    lstBox.Items.Add(query.Average)
  9. What is displayed in the message box by the following code?
    Dim message As String
    Dim teamNames() As String = {“Packers”, “Jets”, “Seahawks”}
    ReDim Preserve teamNames(1)
    message = teamNames(1)
    Show(message)
  10. The ReDim and Preserve keywords can be used with two-dimensional arrays. (T/F)
  11. In the line of code
    Function Sum(scores() As Integer) As Integer
    the pair of parentheses that follows scores can be removed. (T/F)
  12. The number of items in ListBox1 is ListBox1.Items.Count. (T/F)
  13. A structure can contain members that are simple variables only; members cannot be arrays. (T/F)
  14. Do…Loop Until block is always executed at least once. (T/F)
  15. What states are displayed in the list box by the following program segment?

    Dim states() As String = {“Colorado”, “New Mexico”, “Arizona”, “Utah”}
    Dim query = From state in states
    Where ContainsE(state)
    Select state
    For Each state in query
    Items.Add(state)
    Next
    Function ContainsE(word As String) As Boolean
    If word.IndexOf(“E”) <> -1 Or word.IndexOf(“e”) <> -1 Then
    Return True
    Else
    Return False
    End If
    End Function

  16. What numbers are displayed in the list box by the following program segment?
    Dim numbers() As Integer = {4, 7, 9, 3, 1, 9, 7}
    Dim query = From number in numbers
    Where number > 6
    Select number
    Items.Add(query.Count)
    lstBox.Items.Add(query.Average)
  17. In a For…Next loop, the initial value should be greater than or equal to the terminating value if a negative step is used and the body of the loop is to be executed at least once. (T/F)
  18. What colleges are displayed in the list box by the following program segment?
    Dim ivies() As String = {“Harvard”, “Princeton”, “Yale”, “Dartmouth”,
    “Brown”, “Columbia”, “Univ. of PA”, “Cornell”}
    Dim query = From college in ivies
    Where college.Length <= 9
    Order By college.Length Descending, college Ascending
    Select college
    Items.Add(query.First)
    lstBox.Items.Add(query.Max)
  19. Which of the following are valid for an initial or terminating value of a For…Next loop?
  20. What numbers are displayed in the list box by the following program segment?
    Dim numbers() As Integer = {4, 7, 9, 3, 1, 7, 7}
    Dim query = From number in numbers
    Where number > 6
    Select number
    Distinct
    Items.Add(query.Count)
    lstBox.Items.Add(query.Average)
Continue reading CRIS 605 Quiz Final

CRIS 605 Quiz Final

Price: $4.00

CRIS 605 Quiz Final Once a woman decides to leave the battering relationship, comes to an abuse shelter, and regains some psychological equilibrium, the crisis worker’s first job is to provide immediate practical advice on such issues as finding a place to live, child care, financial aid, etc. When women finally decide to end the…

Purchase
Continue reading WRSP 101 Quiz 4

WRSP 101 Quiz 4

Price: $4.00

WRSP 101 Quiz 4 WRSP 101 Quiz Discipleship Principles for Worship All of the following are benets of sustaining a choir ministry as part a church’s worship team, EXCEPT: Every Christian has a vocational calling to serve as a leader of worship. As worship leaders who strive to connect people to God through music we…

Purchase
Continue reading WRSP 101 Quiz 3

WRSP 101 Quiz 3

Price: $4.00

WRSP 101 Quiz 3 WRSP 101 Quiz History of Worship The Pre-Reformation clergyman best known for his belief that the Bible should be available to all people and in a language they could understand, not just Latin, was: “The Lord Is My Banner” is: The Roman Catholic clergy (prior to the Reformation) saw all congregants…

Purchase
Continue reading WRSP 101 Quiz 2

WRSP 101 Quiz 2

Price: $4.00

WRSP 101 Quiz 2 WRSP 101 Quiz Old and New Testament Worship The five books of psalms were written to correspond with: Which is not one of the lessons learned from Jehoshaphat’s war strategy? __________ led in the worship of the Israelites after God delivered them from captivity in Egypt. Out of the 38,000 members…

Purchase
Continue reading WRSP 101 Quiz 1

WRSP 101 Quiz 1

Price: $4.00

WRSP 101 Quiz 1 WRSP 101 Quiz Foundational Studies of Worship To experience honest worship that is dynamic and delightful, I must . . . The text notes a key passage of Scripture instructing us to worship God in the beauty of ______________. The short definition of the word, “worship” is . . . God…

Purchase
Continue reading EDUC 787 Powerpoint Assignment

EDUC 787 Powerpoint Assignment

Price: $3.99

EDUC 787 Reflective PowerPoint Presentation Assignment The candidate will create a PowerPoint presentation exploring one of the course topics more in depth. Additionally, the candidate must type a script to align with the PowerPoint for a 30-minute presentation incorporating relevant sources. $3.99 – Purchase Checkout Added to cart You May Also Like EDUC 787 Media Analysis Assignment…

Purchase