Deck 4: Making Decisions

Full screen (f)
exit full mode
Question
Which of the following code segments assigns the string "Great Year" to the Text property of a label named lblMessage when the value in the variable decSales is either greater than 50,000 or equal to 50,000?

A) If decSales > 50000 Then lblMessage.Text = "Great Year"
End If
B) If decSales >= 50000 Then lblMessage.Text = "Great Year"
End If
C) If decSales < 50000 Then lblMessage.Text = "Great Year"
End If
D) If decSales < = 50000 Then lblMessage.Text = "Great Year"
End If
Use Space or
up arrow
down arrow
to flip the card.
Question
What value will be assigned to intIndex when the following statements execute? Dim strTarget As String = "asdsakfljfdgasldfjdl"
Dim intIndex = strTarget.IndexOf"as", 1, 10)

A) 12
B) 13
C) 0
D) -1
Question
Which statement assigns the string strAddress to label lblAddress while removing only trailing spaces?

A) lblAddress.Text = TrimStartstrAddress)
B) strAddress.TrimEnd = lblAddress.Text
C) lblAddress.Text = strAddress.Trim)
D) lblAddress.Text = strAddress.TrimEnd)
Question
Which function accepts a string as its argument and returns True if the string contains only numeric digits?

A) IsNumber
B) IsNumeric
C) CStr
D) ToString
Question
Because only one radio button in a group can be selected at any given time, they are said to be ____.

A) mutually exclusive
B) dependent
C) selectively unique
D) interdependent
Question
Suppose you want to determine whether a variable, decPayAmount, is between 1200 and 1400, inclusively. If it is, you want to set lblMessage text to "Pay amount is in the range". Which of the following code segments will accomplish this?

A) If decPayAmount < = 1200 And decPayAmount >= 1400 Then lblMessage.Text = "Pay amount is in the range"
End If
B) If decPayAmount < =1200 Or decPayAmount >= 1400 Then lblMessage.Text = "Pay amount is in the range"
End If
C) If decPayAmount >=1200 And decPayAmount < =1400 then lblMessage.Text = "Pay amount is in the range"
End If
D) If decPayAmount > 1200 Or decPayAmount < 1400 Then .Text = "Pay amount is in the range"
End If
Question
What value will be assigned to intIndex when the following statements execute? Dim strTarget As String = "asdsakfljfdgasldfjdl"
Dim intIndex = strTarget.IndexOf"as", 1)

A) 12
B) 13
C) 0
D) -1
Question
The first character in a string has an index of .

A) the length of the string - 1
B) 0
C) 1
D) -1
Question
What value is assigned to the variable strSnip when the following statements execute? Dim strSnip As String
Dim strFullString As String = "Washington"
StrSnip = strFullString.Substring1, 3)

A) "ton"
B) "ash"
C) "Was"
D) "h"
Question
What value is assigned to decTaxes by the following program segment, assuming that the user enters 50000 into the textbox txtSalary.Text? Dim decSalary, decTaxes As Decimal
DecSalary = CDec txtSalary.Text)
If decSalary > 50000) Then
DecTaxes = .40 * decSalary
ElseIf decSalary > 40000) Then
DecTaxes = .30 * decSalary
ElseIf decSalary > 30000) Then
DecTaxes = .20 * decSalary
Else
DecTaxes = .10 * decSalary
End If

A) 20000
B) 15000
C) 10000
D) 5000
Question
What value is assigned to decTaxes by the following program segment, assuming that the user enters 30000 into the textbox txtSalary.Text? Dim decSalary, decTaxes As Decimal
DecSalary = CDectxtSalary.Text)
If decSalary > 50000) Then
DecTaxes = .40 * decSalary
ElseIf sngSalary > 40000) Then
DecTaxes = .30 * decSalary
ElseIf sngSalary > 30000) Then
DecTaxes = .20 * decSalary
Else
DecTaxes = .10 * decSalary
End If

A) 12000
B) 9000
C) 6000
D) 3000
Question
Visual Basic uses values to represent characters such as A, B, and C in memory.

A) ASCII code
B) BCD code
C) Unicode
D) ISO code
Question
Suppose you want to verify that the user has entered a value into a text box named txtInput. Which of the following code segments responds with an appropriate message if the user does not enter a value?

A) If txtInput.text < > "" Then lblStatus.Text = "No data has been entered"
End If
B) If txtInput.Text = " " Then lblStatus.Text = "No data has been entered"
End If
C) If txtInput < > String.Empty Then lblStatus.Text = "No data has been entered"
End If
D) If txtInput.Text = String.Empty Then lblStatus.Text = "No data has been entered"
End If
Question
What value is assigned to the variable strSnip when the following statements execute? Dim strSnip As String
Dim strFullString As String = "Washington"
StrSnip = strFullString.Substring7)

A) "ton"
B) "ash"
C) "Was"
D) "Washing"
Question
If the Boolean expression A is True and B is False, the value of the logical expression A Or B is .
Question
What value will be assigned to intIndex when the following statements execute? Dim strTarget As String = "asdsakfljfdgasldfjdl"
Dim intIndex as Integer = strTarget.IndexOf"GAS")

A) 11
B) 12
C) 0
D) -1
Question
A flag is a _variable that signals when some condition exists in the program.

A) local
B) Boolean
C) class-level
D) standard
Question
If the Boolean expression A is True and B is False, the value of the logical expression A And B is .
Question
To convert a copy of a string to all uppercase letters, use the method of the String object.

A) ToUpper
B) ConvertToUpper
C) ToString
D) ToUpperCase
Question
The _keyword is required to use relational operators in a Case statement.

A) To
B) else
C) If
D) Is
Question
The logical operators And, Or, Xor, Not) combine two or more Boolean expressions.
Question
An If statement that appears inside another If statement is referred to as .

A) nested
B) embedded
C) multi-level
D) didactic
Question
If a form contains two radio buttons rad1 & rad2) and two check boxes chk1 & chk2) and all four of these controls reside in the same group box, which of the following expressions can never be true?

A) rad1.Checked=True and rad2.Checked=True
B) rad1.Checked=True and chk2.Checked=True
C) rad2.Checked=True and chk1.Checked=True
D) chk1.Checked=True and chk2.Checked=True
E)
Question
Which statement copies a string from a text box named txtLastName, converts the string to uppercase and saves the string in strLastName?

A) strLastName = txtLastName
B) txtLastName.Text = strLastNameToUpper)
C) strLastName = ToUppertxtLastName.Text)
D) strLastName = txtLastName.Text.ToUpper)
Question
If the Boolean expression on the left side of an OrElse operator is true, the Boolean expression on the right side of the Or operator will not be evaluated.
Question
Identify the correct Select Case statement that checks the value of a variable intMyNum and assigns a value using the following guidelines: value 1 or 7 or 15 add 100 to the variable
Value 2 or 9 or 21 add 150 to the variable
Value 3 or 6 or 13 add 200 to the variable
None of the above set txtOutput.Text to "Cannot find it"

A) Select Case Value Case intMyNum = 1 Or 7 or 15
IntMyNum += 100
Case intMyNum = 2 Or 9 or 21
IntMyNum += 150
Case intMyNum= 3 Or 6 or 13
IntMyNum += 200
Case else
TxtOutput.Text = "Cannot find it"
End Case
B) Select Case intMyNum Case value = 1, 7, 15
IntMyNum += 100
Case value = 2, 9, 21
IntMyNum += 150
Case value = 3, 6, 13
IntMyNum += 200
Case else
TxtOutput.Text = "Cannot find it"
End Case
C) Select Case intMyNum Case 1, 7, 15
IntMyNum += 100
Case 2, 9, 21
IntMyNum += 150
Case 3, 6, 13
IntMyNum += 200
Case else
TxtOutput.Text = "Cannot find it"
End Case
D) Select Case intMyNum Case value = 1 Or value = 7 or value = 15
IntMyNum += 100
Case value = 2 Or value = 9 or value = 21
IntMyNum += 150
Case value = 3 or value = 6 Or value = 13
IntMyNum += 200
Case else
TxtOutput.Text = "Cannot find it"
End Case
Question
The expression Integer.TryParse"12.5", intNbr) performs the following:

A) Returns True
B) Returns False
C) Places the value 12.5 in the variable intNbr
D) Returns True and places the value 12.5 in the variable intNbr
Question
The expression IsNumeric13.75) returns the value .

A) True
B) 1375
C) 14
D) 13.75
Question
What value will be assigned to strGrade when intScore equals 90? If intScore > 60 Then
StrGrade = "D"
End If
If intScore > 70 Then
StrGrade = "C"
End If
If intScore > 80 Then
StrGrade = "B"
End If
If intScore > 90 Then
StrGrade = "A"
End If

A) A
B) B
C) C
D) D
Question
It is not possible to use a relational operator and math operators in the same expression.
Question
Which of the following operators takes a Boolean expression and reverses its logical value?

A) Xor
B) And
C) < >
D) Not
Question
The expression Single.TryParse"12.5", sngNbr) performs the following:

A) Returns True
B) Returns False
C) Places the value 12.5 in the variable sngNbr
D) Returns True and places the value 12.5 in the variable sngNbr
Question
What value will be assigned to decCommission after the following code executes? Dim decMonthlySales, decCommRate, decCommission as Decimal
DecMonthlySales = 6500.00
Select Case decMonthlySales
Case Is < 1000
DecCommRate = 0.05
Case 1000 to 9999.99
DecCommRate = 0.10
Case Is >= 10000
DecCommRate = 0.15
End Select
DecCommission = decCommRate * decMonthlySales

A) 0.00
B) 325.00
C) 650.00
D) 925.00
Question
Which of the following shows the correct way to remove leading and trailing spaces from a text box named txtStudentID and assign the result to strStudentID?

A) Dim strStudentID as String strStudentID = txtStudentID
B) Dim strStudentID as String strStudentID = txtStudentID.Text
C) Dim strStudentID as String strStudentID = RemoveSpacestxtStudentID.Text)
D) Dim strStudentID as String strStudentID = txtStudentID.Text.Trim)
Question
It is possible to compare the return value of a function call with another value, using a relational operator.
Question
Which change would correct the syntax error in the following code? 1: If intScore < 80 Then
2: strGrade = "C"
3: Else intScore > 80 Then
4: strGrade = "A"
5: End If

A) 1: If intScore < 80 ) Then
B) 2: Set strGrade = "C"
C) 3: ElseIf intScore > 80 Then
D) none of the above correct the syntax error
Question
Which statement tests the value of an expression once and then uses that value to determine the result?

A) Nested If
B) If...Then...ElseIf
C) If...Then
D) Select Case
Question
The If…Then…Else statement follows only one of the two paths.
Question
What value is assigned to the String variable strSecond when the following code is executes? Dim strFirst As String
Dim strSecond As String
StrFirst = "1 2 Button My Shoe"
StrSecond = strFirstName.ToUpper)

A) "1 2 bUTTON mY sHOE"
B) "1 2 BUTTON MY SHOE"
C) " BUTTON MY SHOE"
D) "12BUTTONMYSHOE"
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/39
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 4: Making Decisions
1
Which of the following code segments assigns the string "Great Year" to the Text property of a label named lblMessage when the value in the variable decSales is either greater than 50,000 or equal to 50,000?

A) If decSales > 50000 Then lblMessage.Text = "Great Year"
End If
B) If decSales >= 50000 Then lblMessage.Text = "Great Year"
End If
C) If decSales < 50000 Then lblMessage.Text = "Great Year"
End If
D) If decSales < = 50000 Then lblMessage.Text = "Great Year"
End If
B
2
What value will be assigned to intIndex when the following statements execute? Dim strTarget As String = "asdsakfljfdgasldfjdl"
Dim intIndex = strTarget.IndexOf"as", 1, 10)

A) 12
B) 13
C) 0
D) -1
D
3
Which statement assigns the string strAddress to label lblAddress while removing only trailing spaces?

A) lblAddress.Text = TrimStartstrAddress)
B) strAddress.TrimEnd = lblAddress.Text
C) lblAddress.Text = strAddress.Trim)
D) lblAddress.Text = strAddress.TrimEnd)
D
4
Which function accepts a string as its argument and returns True if the string contains only numeric digits?

A) IsNumber
B) IsNumeric
C) CStr
D) ToString
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
5
Because only one radio button in a group can be selected at any given time, they are said to be ____.

A) mutually exclusive
B) dependent
C) selectively unique
D) interdependent
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
6
Suppose you want to determine whether a variable, decPayAmount, is between 1200 and 1400, inclusively. If it is, you want to set lblMessage text to "Pay amount is in the range". Which of the following code segments will accomplish this?

A) If decPayAmount < = 1200 And decPayAmount >= 1400 Then lblMessage.Text = "Pay amount is in the range"
End If
B) If decPayAmount < =1200 Or decPayAmount >= 1400 Then lblMessage.Text = "Pay amount is in the range"
End If
C) If decPayAmount >=1200 And decPayAmount < =1400 then lblMessage.Text = "Pay amount is in the range"
End If
D) If decPayAmount > 1200 Or decPayAmount < 1400 Then .Text = "Pay amount is in the range"
End If
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
7
What value will be assigned to intIndex when the following statements execute? Dim strTarget As String = "asdsakfljfdgasldfjdl"
Dim intIndex = strTarget.IndexOf"as", 1)

A) 12
B) 13
C) 0
D) -1
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
8
The first character in a string has an index of .

A) the length of the string - 1
B) 0
C) 1
D) -1
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
9
What value is assigned to the variable strSnip when the following statements execute? Dim strSnip As String
Dim strFullString As String = "Washington"
StrSnip = strFullString.Substring1, 3)

A) "ton"
B) "ash"
C) "Was"
D) "h"
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
10
What value is assigned to decTaxes by the following program segment, assuming that the user enters 50000 into the textbox txtSalary.Text? Dim decSalary, decTaxes As Decimal
DecSalary = CDec txtSalary.Text)
If decSalary > 50000) Then
DecTaxes = .40 * decSalary
ElseIf decSalary > 40000) Then
DecTaxes = .30 * decSalary
ElseIf decSalary > 30000) Then
DecTaxes = .20 * decSalary
Else
DecTaxes = .10 * decSalary
End If

A) 20000
B) 15000
C) 10000
D) 5000
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
11
What value is assigned to decTaxes by the following program segment, assuming that the user enters 30000 into the textbox txtSalary.Text? Dim decSalary, decTaxes As Decimal
DecSalary = CDectxtSalary.Text)
If decSalary > 50000) Then
DecTaxes = .40 * decSalary
ElseIf sngSalary > 40000) Then
DecTaxes = .30 * decSalary
ElseIf sngSalary > 30000) Then
DecTaxes = .20 * decSalary
Else
DecTaxes = .10 * decSalary
End If

A) 12000
B) 9000
C) 6000
D) 3000
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
12
Visual Basic uses values to represent characters such as A, B, and C in memory.

A) ASCII code
B) BCD code
C) Unicode
D) ISO code
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
13
Suppose you want to verify that the user has entered a value into a text box named txtInput. Which of the following code segments responds with an appropriate message if the user does not enter a value?

A) If txtInput.text < > "" Then lblStatus.Text = "No data has been entered"
End If
B) If txtInput.Text = " " Then lblStatus.Text = "No data has been entered"
End If
C) If txtInput < > String.Empty Then lblStatus.Text = "No data has been entered"
End If
D) If txtInput.Text = String.Empty Then lblStatus.Text = "No data has been entered"
End If
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
14
What value is assigned to the variable strSnip when the following statements execute? Dim strSnip As String
Dim strFullString As String = "Washington"
StrSnip = strFullString.Substring7)

A) "ton"
B) "ash"
C) "Was"
D) "Washing"
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
15
If the Boolean expression A is True and B is False, the value of the logical expression A Or B is .
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
16
What value will be assigned to intIndex when the following statements execute? Dim strTarget As String = "asdsakfljfdgasldfjdl"
Dim intIndex as Integer = strTarget.IndexOf"GAS")

A) 11
B) 12
C) 0
D) -1
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
17
A flag is a _variable that signals when some condition exists in the program.

A) local
B) Boolean
C) class-level
D) standard
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
18
If the Boolean expression A is True and B is False, the value of the logical expression A And B is .
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
19
To convert a copy of a string to all uppercase letters, use the method of the String object.

A) ToUpper
B) ConvertToUpper
C) ToString
D) ToUpperCase
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
20
The _keyword is required to use relational operators in a Case statement.

A) To
B) else
C) If
D) Is
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
21
The logical operators And, Or, Xor, Not) combine two or more Boolean expressions.
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
22
An If statement that appears inside another If statement is referred to as .

A) nested
B) embedded
C) multi-level
D) didactic
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
23
If a form contains two radio buttons rad1 & rad2) and two check boxes chk1 & chk2) and all four of these controls reside in the same group box, which of the following expressions can never be true?

A) rad1.Checked=True and rad2.Checked=True
B) rad1.Checked=True and chk2.Checked=True
C) rad2.Checked=True and chk1.Checked=True
D) chk1.Checked=True and chk2.Checked=True
E)
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
24
Which statement copies a string from a text box named txtLastName, converts the string to uppercase and saves the string in strLastName?

A) strLastName = txtLastName
B) txtLastName.Text = strLastNameToUpper)
C) strLastName = ToUppertxtLastName.Text)
D) strLastName = txtLastName.Text.ToUpper)
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
25
If the Boolean expression on the left side of an OrElse operator is true, the Boolean expression on the right side of the Or operator will not be evaluated.
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
26
Identify the correct Select Case statement that checks the value of a variable intMyNum and assigns a value using the following guidelines: value 1 or 7 or 15 add 100 to the variable
Value 2 or 9 or 21 add 150 to the variable
Value 3 or 6 or 13 add 200 to the variable
None of the above set txtOutput.Text to "Cannot find it"

A) Select Case Value Case intMyNum = 1 Or 7 or 15
IntMyNum += 100
Case intMyNum = 2 Or 9 or 21
IntMyNum += 150
Case intMyNum= 3 Or 6 or 13
IntMyNum += 200
Case else
TxtOutput.Text = "Cannot find it"
End Case
B) Select Case intMyNum Case value = 1, 7, 15
IntMyNum += 100
Case value = 2, 9, 21
IntMyNum += 150
Case value = 3, 6, 13
IntMyNum += 200
Case else
TxtOutput.Text = "Cannot find it"
End Case
C) Select Case intMyNum Case 1, 7, 15
IntMyNum += 100
Case 2, 9, 21
IntMyNum += 150
Case 3, 6, 13
IntMyNum += 200
Case else
TxtOutput.Text = "Cannot find it"
End Case
D) Select Case intMyNum Case value = 1 Or value = 7 or value = 15
IntMyNum += 100
Case value = 2 Or value = 9 or value = 21
IntMyNum += 150
Case value = 3 or value = 6 Or value = 13
IntMyNum += 200
Case else
TxtOutput.Text = "Cannot find it"
End Case
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
27
The expression Integer.TryParse"12.5", intNbr) performs the following:

A) Returns True
B) Returns False
C) Places the value 12.5 in the variable intNbr
D) Returns True and places the value 12.5 in the variable intNbr
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
28
The expression IsNumeric13.75) returns the value .

A) True
B) 1375
C) 14
D) 13.75
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
29
What value will be assigned to strGrade when intScore equals 90? If intScore > 60 Then
StrGrade = "D"
End If
If intScore > 70 Then
StrGrade = "C"
End If
If intScore > 80 Then
StrGrade = "B"
End If
If intScore > 90 Then
StrGrade = "A"
End If

A) A
B) B
C) C
D) D
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
30
It is not possible to use a relational operator and math operators in the same expression.
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
31
Which of the following operators takes a Boolean expression and reverses its logical value?

A) Xor
B) And
C) < >
D) Not
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
32
The expression Single.TryParse"12.5", sngNbr) performs the following:

A) Returns True
B) Returns False
C) Places the value 12.5 in the variable sngNbr
D) Returns True and places the value 12.5 in the variable sngNbr
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
33
What value will be assigned to decCommission after the following code executes? Dim decMonthlySales, decCommRate, decCommission as Decimal
DecMonthlySales = 6500.00
Select Case decMonthlySales
Case Is < 1000
DecCommRate = 0.05
Case 1000 to 9999.99
DecCommRate = 0.10
Case Is >= 10000
DecCommRate = 0.15
End Select
DecCommission = decCommRate * decMonthlySales

A) 0.00
B) 325.00
C) 650.00
D) 925.00
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
34
Which of the following shows the correct way to remove leading and trailing spaces from a text box named txtStudentID and assign the result to strStudentID?

A) Dim strStudentID as String strStudentID = txtStudentID
B) Dim strStudentID as String strStudentID = txtStudentID.Text
C) Dim strStudentID as String strStudentID = RemoveSpacestxtStudentID.Text)
D) Dim strStudentID as String strStudentID = txtStudentID.Text.Trim)
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
35
It is possible to compare the return value of a function call with another value, using a relational operator.
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
36
Which change would correct the syntax error in the following code? 1: If intScore < 80 Then
2: strGrade = "C"
3: Else intScore > 80 Then
4: strGrade = "A"
5: End If

A) 1: If intScore < 80 ) Then
B) 2: Set strGrade = "C"
C) 3: ElseIf intScore > 80 Then
D) none of the above correct the syntax error
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
37
Which statement tests the value of an expression once and then uses that value to determine the result?

A) Nested If
B) If...Then...ElseIf
C) If...Then
D) Select Case
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
38
The If…Then…Else statement follows only one of the two paths.
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
39
What value is assigned to the String variable strSecond when the following code is executes? Dim strFirst As String
Dim strSecond As String
StrFirst = "1 2 Button My Shoe"
StrSecond = strFirstName.ToUpper)

A) "1 2 bUTTON mY sHOE"
B) "1 2 BUTTON MY SHOE"
C) " BUTTON MY SHOE"
D) "12BUTTONMYSHOE"
Unlock Deck
Unlock for access to all 39 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 39 flashcards in this deck.