Exam 8: Manipulating Strings
Exam 1: An Introduction to Visual Basic Net50 Questions
Exam 2: Designing Applications50 Questions
Exam 3: Using Variables and Constants50 Questions
Exam 4: The Selection Structure50 Questions
Exam 5: More on the Selection Structure50 Questions
Exam 6: The Repetition Structure50 Questions
Exam 7: Sub and Function Procedures50 Questions
Exam 8: Manipulating Strings50 Questions
Exam 9: Sequential Access Files and Printing50 Questions
Exam 10: Arrays50 Questions
Exam 11: Classes and Objects50 Questions
Exam 12: Adonet and Aspnet50 Questions
Select questions type
The ____ property of a menu element is used by a programmer to refer to the menu element in code.
(Multiple Choice)
4.9/5
(43)
When using the IndexOf search method, to begin the search at the first character you specify a one as the argument.
(True/False)
4.7/5
(25)
The StartsWith string method will return true if a match is found and false if there is no match starting on the left side of a string.
(True/False)
4.7/5
(35)
To determine the length of a string use the string's Length property.
(True/False)
4.9/5
(48)
The Trim method will remove characters from the right end of a string only.
(True/False)
4.7/5
(40)
The method that removes characters from only the right end of a string is the ____ method.
(Multiple Choice)
4.9/5
(30)
The Remove function uses an index value of zero for the first character in a string.
(True/False)
4.9/5
(35)
To remove characters from the beginning of a string, only the Trim method is used.
(True/False)
5.0/5
(35)
Assume that the value of the string message is "Happy New Year". What value would message.IndexOf("New") yield?
(Multiple Choice)
4.7/5
(31)
Which Visual Basic .NET function is used to determine if the string stateName ends with "ka"?
(Multiple Choice)
4.8/5
(44)
The method to remove characters from the left and right ends of a string is the TrimBoth method.
(True/False)
4.9/5
(38)
The Trim function can remove only one character from a comma-separated list of characters.
(True/False)
4.9/5
(42)
Each menu element is a separate object with a set of properties including Name and Text properties.
(True/False)
4.8/5
(42)
The ____ method inserts the padded characters at the beginning of the string.
(Multiple Choice)
4.8/5
(38)
What is the result after the execution of the following code segment in Visual Basic .NET? Dim stringIn as String = "Tom Jones" Mid(stringIn, 6, 2) = "am"
(Multiple Choice)
4.9/5
(35)
To remove characters from only the beginning of a string, the method to use is the ____ method.
(Multiple Choice)
4.9/5
(38)
The data for salary is entered with both dollar symbol and space; which instructions will remove the blank space symbol?
(Multiple Choice)
4.9/5
(37)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)