bection A. Single choice (please write your answer for each question. Total 30 p
ID: 3877764 • Letter: B
Question
bection A. Single choice (please write your answer for each question. Total 30 points for 15 questions, 2 points per question). When you name an object, which of the following rules is correct? A. An object name can begin with a digit. B. An object name can include a space. C. An object name can be a VB reserved word. D. An object name can contain a VB reserved word. 2. Which of the following descriptions is incorrect for Text property? A. Used to display text values on a control. B. The text property of a form displays the words that displayed in the form' s title bar. C. The text property for a button displays the words on the button. D. The text property for a text box cannot be used to display the actual words typed into the text box. 3, Which of the following descriptions is incorrect for Toolbox? A. Contains objects that are used to build the interface of a form. B. Used to add objects to a form by double-clicking. C. Used to add objects to a form by single-clicking. D. Used to add objects to a form by dragging and dropping. 4 Which of the following objects is a special form of TextBox object with special properties to format the data entered by an application user? A. MaskedTextBox B. CheckBox C. GroupBox D. RadioButon 5 Which of the following descriptions is incorrect for RadioButton? A. Only one RadioButton in a group can be selected. B. In a group, selecting a new RadioButton causes the other RadioButtons to be unselecte C. In a group, user can select zero, one, or more than one RadioButtons. D. If a RadioButton' Checked property to be true, then this RadioButton is selected 6 How to output a string of “I Love Visual Basic” ? “I ” ControlChars. Newline "Love" ControlChars. NewLine “1” & "Love” & “VisualBasic" "1 ” & "Love" Contro!Chars. NewLine "Visual Basic- "Visual Basic” B. D. c. “1 ” & "Love ” & "Visual Basic”Explanation / Answer
1 Answer is "D"
Explanation:
rules for nameing an obect :
A. an obect name can't begin with a digit .
(Can include any combination of letters, numbers, spaces, and special characters except a period (.), an exclamation point (!), an accent grave (`), and brackets ([ ]).)
B. In an obect name we can't incluude a space
(No leading or trailing spaces allowed in an object name, although you can embed spaces within a name. Leading and trailing spaces are implicitly trimmed. This applies to both the Name and ID of an object.)
C. An obect name can't be a VB reserved word.
(vb reserve words that are already used by the syntax of the programming language.ex of key words Int,break,long,float)
D. An obect name can contain VB reserved word
for example : esint,qlong
so answer is D.
2. Answer is B
The Text property of the control is used differently by each derived class. For example the Text property of a Form is displayed in the title bar at the top of the form, is fairly small in character count, and usually displays the application or document name. However, the Text property of a RichTextBox can be large and can include numerous nonvisual characters used to format the text. For example, the text displayed in a RichTextBox can be formatted by adjusting the Font properties, or by the addition of spaces or tab characters to align the text.
3. Answer is D
(Drag-and-drop operations with the Windows Forms RichTextBox control are done by handling the DragEnter and DragDrop events. Thus, drag-and-drop operations are extremely simple with the RichTextBox control.so we hv to enable drag operations in a RichTextBox control)
4. Answer is A
(Uses a mask to distinguish between proper and improper user input.)
5. Answer is C
6. Annswer is B
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.