Deck 14: Additional Topics in Visual Basic
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/60
العب
ملء الشاشة (f)
Deck 14: Additional Topics in Visual Basic
1
A StatusStrip control can display date,time,or other informational messages in StatusStripStatusLabel objects.
True
2
The time will update automatically if it is displayed in a status bar label.
False
3
When a toolbar is created using the ToolStrip control,the default number of buttons on the toolbar is 2.
False
4
Setting the Uppercase property of a text box to True will force all of the user's entries to be converted to uppercase.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
5
MDI is an acronym for musical device interface.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
6
A form is made into a child window by using code at run time.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
7
A project that has a form specified as a parent can also have forms that are child forms and forms that operate independently.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
8
The ErrorMessage component can be used to display error messages directly on the form next to the field causing the error.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
9
In VB,it is not possible to have multiple child forms.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
10
MDI projects have a parent form and child forms.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
11
To add a code snippet to a project,you select "Insert Snippet" from the context menu available in the Editor window.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
12
Arranging the layout of child windows is controlled by writing code in a Window Menu on the parent form.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
13
Each button on a ToolStrip control has a separate click event.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
14
The DateTimePicker control has a Value property for the date.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
15
To create an MDI parent form,set the form's MDIParent property to True.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
16
When using a ToolStrip control,the images come from the project's Resources.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
17
The MaxLength property can be used to limit the number of characters the user can enter into a text box.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
18
The WebDisplay control can be used to display Web pages on a Windows Form.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
19
When you add a status bar to a form,the StatusStrip control will display two labels,one for date and one for time.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
20
A special type of form is required in order to use a child form with an MDI parent.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
21
WPF applications are similar to Web applications in that they are created as two files,one for the user interface and one for the programming logic.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
22
To design a toolbar that will have images on the button(s),you need to add a _______ control to the form.
A)ToolBar
B)ToolStrip
C)StatusStrip
D)ToolMenu
A)ToolBar
B)ToolStrip
C)StatusStrip
D)ToolMenu
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
23
WPF controls can only be added to Web Forms,not Windows Forms.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
24
To arrange the layout of multiple child documents,the parent's _______ method is used.
A)MdiLayout
B)LayoutMdi
C)MdiArrange
D)ArrangeMdi
A)MdiLayout
B)LayoutMdi
C)MdiArrange
D)ArrangeMdi
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
25
You can set the CharacterCasing property of a text box to _______ and the user's data entry will appear in uppercase.
A)Upper
B)Uppercase
C)Capitalized
D)ToUpper
A)Upper
B)Uppercase
C)Capitalized
D)ToUpper
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
26
The _______ property of a text box can be used to control the number of characters the user can type into the box.
A)Length
B)InputCharacters
C)CharacterCasing
D)MaxLength
A)Length
B)InputCharacters
C)CharacterCasing
D)MaxLength
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
27
Which of the following actions can the parent's Window menu perform?
A)List the open child windows
B)Allow the user to switch between windows
C)Arrange multiple child windows
D)All of these
A)List the open child windows
B)Allow the user to switch between windows
C)Arrange multiple child windows
D)All of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
28
XML is a platform-independent format that is not tied to a specific language or vendor.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
29
Which of the following statements regarding MDI parent and child forms is correct?
A)When a parent form is closed,all of its child forms close with it.
B)Child forms can be moved outside of the parent's area.
C)A parent form cannot contain menus.
D)A project can contain only one child form.
A)When a parent form is closed,all of its child forms close with it.
B)Child forms can be moved outside of the parent's area.
C)A parent form cannot contain menus.
D)A project can contain only one child form.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
30
MDI is an acronym that stands for _______.
A)Multiple Device Interface
B)Multiple Document Interface
C)Many Document Interlink
D)Match Document Interlink
A)Multiple Device Interface
B)Multiple Document Interface
C)Many Document Interlink
D)Match Document Interlink
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
31
You can check the e (KeyEventArgs)argument of a control's KeyUp event procedure to determine which key was pressed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
32
A WPF application is similar to a Windows Forms application in that all code for a window is stored in a single file.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
33
SDI is an acronym that stands for _______.
A)Single Device Interface
B)Single Document Interface
C)Subset Document Interlink
D)Switch Document Interlink
A)Single Device Interface
B)Single Document Interface
C)Subset Document Interlink
D)Switch Document Interlink
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
34
You can view XML files using Notepad,a text editor that comes with Microsoft Windows.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
35
In order to make a form become a parent form in your project,you must set the _______ property to True.
A)MDI
B)Parent
C)IsMdiContainer
D)IsParent
A)MDI
B)Parent
C)IsMdiContainer
D)IsParent
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
36
The programmer can allow the user to display the open child windows vertically,horizontally,or cascaded by using the parent's _______.
A)Window method
B)Arrange method
C)LayoutMdi method
D)Menu method
A)Window method
B)Arrange method
C)LayoutMdi method
D)Menu method
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
37
If you create a WPF application in Windows XP,the project will run,but the special effects will not appear.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
38
The _______ component can be used to validate user input.It will display a flashing icon and display a tooltip style message to the user.
A)Validation
B)Validate
C)Error
D)ErrorProvider
A)Validation
B)Validate
C)Error
D)ErrorProvider
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
39
The values stored in XML files must be placed in double quotes,not single quotes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
40
_______ are small samples of code that can show you how to accomplish many programming tasks;they are available from the context menu in the Editor window.
A)SDIs
B)ToolStrips
C)Quickcodes
D)Code snippets
A)SDIs
B)ToolStrips
C)Quickcodes
D)Code snippets
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
41
How do you code a button on a toolbar?
A)Create a new event procedure for the button click and write the code in the Click event.
B)Create a new event procedure for the toolbar and write code in the toolbar Click event.
C)Add a ToolStripButton_Click event to the Handles clause for the menu event procedure that matches the button's actions.
D)Both answers,A and C,are correct.
A)Create a new event procedure for the button click and write the code in the Click event.
B)Create a new event procedure for the toolbar and write code in the toolbar Click event.
C)Add a ToolStripButton_Click event to the Handles clause for the menu event procedure that matches the button's actions.
D)Both answers,A and C,are correct.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
42
In Visual Studio,WPF stands for _______.
A)Windows Presentation Foundation
B)Windows Performance Functionality
C)Windows Precise Fluidity
D)Windows Preregistration Facility
A)Windows Presentation Foundation
B)Windows Performance Functionality
C)Windows Precise Fluidity
D)Windows Preregistration Facility
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
43
What are the two calendar controls that can be used to allow the user to select the date from a calendar? Describe each control and define the property that will hold the selected date?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
44
The user interface in WPF uses _______ code rather than HTML.
A)XHTML
B)DHTML
C)XML
D)XAML
A)XHTML
B)DHTML
C)XML
D)XAML
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
45
If a form that you need to design requires a toolbar and a status bar,which controls are needed to build the form?
A)Image control and the ToolBar control
B)ToolStrip control and StatusStrip control
C)Toolbar control and StatusBar control
D)Toolbar control and Resources control
A)Image control and the ToolBar control
B)ToolStrip control and StatusStrip control
C)Toolbar control and StatusBar control
D)Toolbar control and Resources control
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
46
With _______,you can use WPF controls in a Windows Form application.
A)XAML
B)WPF Interoperability
C)DHTML
D)XML
A)XAML
B)WPF Interoperability
C)DHTML
D)XML
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
47
Identify the control that is used to place a WPF control on a Windows form and describe the process of adding the WPF control.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
48
Which of the following objects can be used for loading and displaying the data from an XML file?
A)XDocument
B)XDisplay
C)XMLDocument
D)XMLDisplay
A)XDocument
B)XDisplay
C)XMLDocument
D)XMLDisplay
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
49
By default,the only control in the VB toolbox for the category,WPF Interoperability,is the _______.
A)ElementHost
B)Container
C)WPFHost
D)XML
A)ElementHost
B)Container
C)WPFHost
D)XML
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
50
Identify the control that is used to display a Web page on a Windows Form and write the code that uses the Navigate method at run time to display the Microsoft Web site.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
51
Display information in a StatusStrip control by adding ToolStripStatusLabel objects and then setting the ToolStripStatusLabel's _______ property.
A)Text
B)DisplayText
C)LabelText
D)DisplayLabel
A)Text
B)DisplayText
C)LabelText
D)DisplayLabel
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
52
_______ is a term used to refer to a XAML Browser Application.
A)XAML
B)XBAP
C)XAMLBAP
D)XMLAPP
A)XAML
B)XBAP
C)XAMLBAP
D)XMLAPP
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
53
The _______ control is the calendar control that displays only the current day and date unless the user drops down the calendar.
A)MonthCalendar
B)DropDownCalendar
C)DateTimePicker
D)None of these
A)MonthCalendar
B)DropDownCalendar
C)DateTimePicker
D)None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
54
The _______ can make your form resemble a browser window in Internet Explorer.
A)Web control
B)Browser control
C)Internet control
D)WebBrowser control
A)Web control
B)Browser control
C)Internet control
D)WebBrowser control
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
55
XML files can only have one _______.
A)attribute
B)sibling
C)root node
D)element
A)attribute
B)sibling
C)root node
D)element
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
56
In XML,the contents within a set of tags are referred to as _______.
A)records
B)nodes
C)siblings
D)elements
A)records
B)nodes
C)siblings
D)elements
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
57
Designing a WPF page in Visual Studio is similar to ______________,because ____________
A)designing a Windows form,all controls use absolute positioning.
B)designing a Web form,controls use FlowLayout
C)designing a Web form,controls are HTML controls
D)None of these
A)designing a Windows form,all controls use absolute positioning.
B)designing a Web form,controls use FlowLayout
C)designing a Web form,controls are HTML controls
D)None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
58
You can check the _______ in a control's KeyUp event procedure to determine which key was pressed.
A)e.KeyEventArgs
B)e.PressKeyArgs
C)e.KeyCode
D)e.Key
A)e.KeyEventArgs
B)e.PressKeyArgs
C)e.KeyCode
D)e.Key
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
59
Which of the following lines of code could be used to display the current date as MM/DD/YY in a status bar?
A)DateToolStripStatusLabel.Text = Now.ToShortDateString
B)DateToolStripStatusLabel.Text = Now.ToLongDateString
C)DateToolStripStatusLabel.Text = "MM/DD/YY"
D)DateToolStripStatusLabel.Text = Now.MM/DD/YY
A)DateToolStripStatusLabel.Text = Now.ToShortDateString
B)DateToolStripStatusLabel.Text = Now.ToLongDateString
C)DateToolStripStatusLabel.Text = "MM/DD/YY"
D)DateToolStripStatusLabel.Text = Now.MM/DD/YY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck
60
The _______ control is the calendar control that displays a one-month calendar.
A)MonthCalendar
B)DropDownCalendar
C)DateTimePicker
D)None of these
A)MonthCalendar
B)DropDownCalendar
C)DateTimePicker
D)None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 60 في هذه المجموعة.
فتح الحزمة
k this deck