MCQOPTIONS
Saved Bookmarks
This section includes 5 Mcqs, each offering curated multiple-choice questions to sharpen your Visual Basic Questions and Answers knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
‘e’ parameter’s __________ property is used to cancel the key if not accepted in the text area. |
| A. | Remove |
| B. | RemoveChar |
| C. | Handled |
| D. | handled |
| Answer» D. handled | |
| 2. |
‘e’ parameter’s __________ property is used to determine the pressed key. |
| A. | Keypress |
| B. | KeyChar |
| C. | Keychar |
| D. | Key.Char |
| Answer» C. Keychar | |
| 3. |
A control’s KeyPress event occurs every time __________ |
| A. | The user selects the text area |
| B. | The user submits the information in the text area |
| C. | The user types a character in the text area |
| D. | The user taps the enter key |
| Answer» D. The user taps the enter key | |
| 4. |
The text box’s __________ event procedure prevents user from entering a specified character. |
| A. | KeyPress |
| B. | check |
| C. | checkchar |
| D. | checkinput |
| Answer» B. check | |
| 5. |
When referring to the method’s return value in code, one should use the __________ value rather than the integer. |
| A. | DoubleReturn |
| B. | BooleanResults |
| C. | charResult |
| D. | DialogResult |
| Answer» E. | |