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
The HR department has decided to change the Finance department number from 04 to 09.Which of the following statements correctly changes the contents of the strEmpCode?
(Multiple Choice)
5.0/5
(30)
You can use the ____ method to search a string to determine whether it contains a specific sequence of characters.
(Multiple Choice)
4.9/5
(40)
Programmers use the ____ property of the menu element to refer to the menu element in code.
(Multiple Choice)
4.7/5
(26)
Write a Visual Basic statement that will access each character in the strNumber variable to determine if the variable contains a comma and then removes any comma that is found.
(Essay)
4.9/5
(36)
The method that removes characters from only the right end of a string is the ____ method.
(Multiple Choice)
4.9/5
(27)
The users of the HR application have entered some employee Social Security numbers (SSNs)with dashes (such as 222-33-4444)and some without dashes (such as 222334444).You need to remove all dashes from any SSN that contains dashes.You will use the ____ method to edit the code so that only numeric characters are stored.
(Multiple Choice)
4.8/5
(36)
The ____ method pads the string on the right,which inserts the padded characters at the end of the string and left-aligns the characters within the string.
(Multiple Choice)
4.8/5
(31)
Menu title captions should be one word only and entered using uppercase letters.
(True/False)
4.8/5
(33)
Which of the following shortcut keys should not be used in Windows applications that have an EDIT menu for menu items not on the EDIT menu?
(Multiple Choice)
4.9/5
(30)
The txtGrade control contains the string "95%".Write the Visual Basic statement to remove the percent sign from the txtGrade control as well as convert the contents of the control to a Decimal number.Assign the result to the decGrade variable.Use the TrimEnd method.
(Essay)
4.7/5
(34)
The ____ allows you to use pattern-matching characters to determine whether one string is equal to another string.
(Multiple Choice)
4.7/5
(33)
Write a Visual Basic statement that removes the last four digits of the credit card number and assigns it to the strCCLastFour variable.
strCCNum = "4456778996352852"
(Short Answer)
4.8/5
(32)
To remove characters from the left of,the right of,or within a string variable,you should use the ____ function.
(Multiple Choice)
4.9/5
(32)
In Visual Basic 2012,you use a(n)____ to include one or more menus in an application.
(Multiple Choice)
4.8/5
(29)
Neither the Trim method nor the Remove method removes any characters from the original string.
(True/False)
4.8/5
(36)
A literal type character forces a literal constant to assume a data type other than the one its form indicates.
(True/False)
4.9/5
(29)
A character's ____ is an integer that indicates the character's position in the string.
(Multiple Choice)
4.7/5
(29)
The application needs to process benefits for full-time employees only.Which of the following statements determines whether the strEmpCode variable contains an employee code for a full-time employee?
(Multiple Choice)
4.8/5
(32)
The ____ operator evaluates to True when the string matches the pattern;otherwise,it evaluates to False.
(Multiple Choice)
4.7/5
(34)
Showing 21 - 40 of 57
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)