Based on what it returns, what would be a better name for the function "Mystery" in the following program?

```
Private Sub btnDisplay_Click(...) Handles btnDisplay.Click
Dim sentence As String, result As String
sentence = "Socrates is a man."
result = Mystery(sentence)
txtBox.Text = result
End Sub
Function Mystery(sentence As String) As String
Dim position As Integer
position = sentence.IndexOf(" ")
Return sentence.Substring(0, position)
End Function
```
(A) FirstWord
(B) LastWord
(C) FirstLetter
(D) LastLetter
(E) DoesNothing


(A) FirstWord

Computer Science & Information Technology

You might also like to view...

In a structure definition, the identifiers declared in the braces are called

a. classes b. structs c. member names d. variables

Computer Science & Information Technology

_________________________ is a Web analytic that calculates the number of individual site visitors during a specific period of time.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

?_________ is a number associated with each individual value in an array and distinguishes each value from other values in the array.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Users utilizing wireless laptops in an outdoor storage yard are experiencing new connectivity issues. Which of the following is MOST likely causing the new issues?

A. Antenna placement B. Environment factors C. Antenna distance D. Signal bounce

Computer Science & Information Technology