click below
click below
Normal Size Small Size show me how
ca obj 7-3correction
| Question | Answer |
|---|---|
| which of the code segments would display the following output? You entered:Hello | dim strFirst as string = "you entered:" Dim strNext as string ="Hello" Dim strNew as string strNew.TrimStart Me.lblDisplay.Text=strFirst & strNew |
| Given the following code, what is the value of strNew after execution | Elephanst |
| which code segment would return the position number of the letter "m" in the string strName | strName.IndexOf("m") |
| Give an array called intScores, which statement would pass the first element to the sub procedure below? Private Sub GiveAdvice(ByVal intNum As Integer) | GiveAdvice(intScores(0)) |
| Give the folloing code, what is the value of strAddress | FirstRaleigh |
| If 123.7894 is the number entered in a textbox,what will the following code display | 123.8 |