Exam 8: String Manipulation
Exam 1: An Introduction to Visual Basic 201259 Questions
Exam 2: Designing Applications57 Questions
Exam 3: Using Variables and Constants58 Questions
Exam 4: The Selection Structure57 Questions
Exam 5: More on the Selection Structure56 Questions
Exam 6: The Repetition Structure59 Questions
Exam 7: Sub and Function Procedures56 Questions
Exam 8: String Manipulation57 Questions
Exam 9: Arrays57 Questions
Exam 10: Structures and Sequential Access Files58 Questions
Exam 11: Classes and Objects58 Questions
Exam 12: Web Applications55 Questions
Exam 13: Working With Access Databases and Linq57 Questions
Exam 14: Access Databases and SQL58 Questions
Select questions type
Write the Visual Basic statement that uses the Contains method to determine whether the strEmployeeCode variable contains the string "NC" (entered in uppercase).Assign the method's return value to a Boolean variable named blnIsNC.
(Essay)
4.9/5
(25)
Write the Visual Basic statement that inserts "RVI" at the beginning of the string in the following


(Essay)
4.7/5
(34)
The following instruction will remove which character from the string first? Dim myString as string = "ABCDEFGH"
MyString = myString.Remove(2,3)
(Multiple Choice)
4.7/5
(39)
Assume that a text box named PhoneNumberTextBox appears on a form and contains the phone number 414-555-5555.What value will display for the length of the phone number text box?
(Multiple Choice)
4.8/5
(39)
The ____ method inserts the padded characters at the beginning of a string,which right-aligns the characters within the string.
(Multiple Choice)
4.9/5
(26)
The strPhone variable contains a 10-digit phone number.If the string stored in the strPhone variable begins with the "336" area code,display the phone number in the lblPhone control's Text property.Use the StartsWith method.
(Essay)
4.9/5
(26)
The strCityState variable contains a string that ends with a two-digit state abbreviation.Write the statements that determine whether the string stored in the strCityState variable ends with "NY".If it does,assign the string "New York order" to the lblState control's Text property.Use the EndsWith method.
(Essay)
4.9/5
(31)
Each menu element is considered a(n)____ and has a set of properties associated with it.
(Multiple Choice)
4.9/5
(30)
When processing the PadLeft and PadRight methods,the computer makes a temporary copy of the string in memory,and then inserts the characters in the copy only.
(True/False)
4.9/5
(30)
In order to remove both dashes from the SSN,you should first ____.
(Multiple Choice)
4.7/5
(34)
The strPhone variable should contain only numbers and no dashes (-).An error message should display if there is a dash anywhere in the variable.Which of the following statements determines whether the variable contains a dash in order to display the message? 

(Not Answered)
This question doesn't have any answer yet
The most commonly used properties for a menu element are the Name and Text properties.
(True/False)
4.8/5
(38)
What is the value returned from the expression stateName.Substring(1,1)when stateName contains "North Dakota"?
(Multiple Choice)
4.8/5
(41)
The ____ method returns an integer that represents the location of the subString within the string.
(Multiple Choice)
4.9/5
(39)
The Trim method is used to remove characters from the end of a string.
(True/False)
4.9/5
(40)
Visual Basic provides the ____ method for accessing any number of characters contained in a string.
(Multiple Choice)
4.9/5
(42)
If an application expects the user to enter a seven-digit phone number or a five-digit ZIP code,the application's code should verify that the user entered the required number of characters.
(True/False)
4.8/5
(38)
Showing 41 - 57 of 57
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)