Deck 27: Visual Basic 2012 How to Program
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/58
العب
ملء الشاشة (f)
Deck 27: Visual Basic 2012 How to Program
1
A XAML document has exactly one ______ .
A)root element
B)start tag
C)end tag
D)child element
A)root element
B)start tag
C)end tag
D)child element
A
2
WPF uses _________ graphics,which allows graphics to scale without losing quality.
A)bitmap
B)vector
C)raster-based
D)jpeg
A)bitmap
B)vector
C)raster-based
D)jpeg
B
3
_________,a subset of WPF,is used to create Rich Internet Applications.
A)Moonlight
B)XML
C)Mono
D)Silverlight
A)Moonlight
B)XML
C)Mono
D)Silverlight
D
4
Every XAML document must define the presentation XAML namespace and the standard XAML namespace.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
5
Layout of controls refers to the controls' _____.
A)size
B)event handlers
C)position
D)a and b
E)a and c
A)size
B)event handlers
C)position
D)a and b
E)a and c
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
6
A StackPanel has a vertical or horizontal flow,set by its _____ attribute.
A)Order
B)Orientation
C)FlowType
D)Direction
A)Order
B)Orientation
C)FlowType
D)Direction
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
7
XAML is used to describe the ___________ of a WPF application.
A)classes
B)program logic
C)code-behind file
D)GUI
A)classes
B)program logic
C)code-behind file
D)GUI
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
8
WPF GUIs can be created by dragging predefined controls from the Toolbox onto the design surface.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
9
XAML is used to define the application's _________.
A)program logic
B)graphical user interface
C)code behind classes
D)All of the above.
A)program logic
B)graphical user interface
C)code behind classes
D)All of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
10
A XAML document's root element is a ______ .
A)Window
B)Form
C)Grid
D)UserControl
A)Window
B)Form
C)Grid
D)UserControl
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
11
XAML is a specialized vocabulary of ___________.
A)HTML
B)XML
C)ASP.NET
D)WPF
A)HTML
B)XML
C)ASP.NET
D)WPF
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
12
Using XAML gives WPF the benefit of raster-based graphics.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
13
The StartupUri attribute defines which XAML document loads first.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
14
A content control can have text or several child elements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
15
XML elements can be nested,creating parent elements and child elements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
16
A key benefit of WPF is that it provides a single platform to handle GUI,images,animation 2D and 3d graphics,audio and video.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
17
A Grid is a type of layout container.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
18
A major benefit of using XAML is that GUI design can be done separately from programming.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
19
The application's primary code-behind class has filename _______.
A)Application.xaml
B)Application.xaml.vb
C)Window1.xaml
D)Window1.xaml.vb
A)Application.xaml
B)Application.xaml.vb
C)Window1.xaml
D)Window1.xaml.vb
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
20
WPF graphics are resolution-independent,meaning that they are designed to look similar on screens of different sizes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
21
WPF styles require you to explicitly set the individual properties of each control.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
22
A WPF Grid control allows child elements to be positioned using explicit coordinates.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
23
Use the ____________ method to programmatically close an application.
A)Application.Shutdown
B)Application.Exit
C)Application.Current.Exit
D)Application.Current.Shutdown
A)Application.Shutdown
B)Application.Exit
C)Application.Current.Exit
D)Application.Current.Shutdown
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
24
The CanExecute event for a command allows you to implement logic that determines whether a command should be enabled or disabled.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
25
A MouseEventArgs object's GetPosition event always returns a position relative to the top left of the WPF window.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
26
A layout container's ____ property stores a list of its child elements.
A)Children
B)ElementList
C)FlowItems
D)List
A)Children
B)ElementList
C)FlowItems
D)List
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
27
A bubbling event travels down the container hierarchy,and a tunneling event travels up the container hierarchy.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
28
It's a good practice to use ranges for the size and relative location for the position of WPF controls.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
29
A shape can be given an absolute position in a Canvas using the Canvas's methods _____ and _____.
A)SetX,SetY
B)SetLeft,SetTop
C)PositionX,PositionY
D)PadLeft,PadTop
A)SetX,SetY
B)SetLeft,SetTop
C)PositionX,PositionY
D)PadLeft,PadTop
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
30
Flow-based layouts allow the GUI to display correctly when the user resizes the window.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
31
WPF events which behave like Windows Forms events are called ______.
A)expandable events
B)tunneling events
C)bubbling events
D)direct events
A)expandable events
B)tunneling events
C)bubbling events
D)direct events
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
32
A MouseLeftButtonDown event passes information using a MouseButtonEventArgs object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
33
How does the size setting Auto size the control?
A)It uses the maximum possible size to fill the area
B)It uses a relative size
C)It uses the smallest possible size to fit its contents
D)a and b
A)It uses the maximum possible size to fill the area
B)It uses a relative size
C)It uses the smallest possible size to fit its contents
D)a and b
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
34
A control's Background property is a customizable ________ object.
A)Color
B)BackColor
C)GUIcolor
D)None of the above
A)Color
B)BackColor
C)GUIcolor
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
35
The ________ property determines the amount of space around a control's edges.
A)Padding
B)Margin
C)Space
D)Edges
A)Padding
B)Margin
C)Space
D)Edges
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
36
Events which can travel up or down the container hierarchy are called ______.
A)expandable events
B)sourced events
C)bubble events
D)routed events
A)expandable events
B)sourced events
C)bubble events
D)routed events
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
37
The _______ property of an event stores a reference to the control that triggered the event.
A)Target
B)Source
C)SourceControl
D)EventTarget
A)Target
B)Source
C)SourceControl
D)EventTarget
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
38
A routed event is ignored after its Handled property is set to True.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
39
WPF provides the ability to create ____________ -- actions or tasks that may be triggered by many different user interactions.
A)multi-events
B)shared events
C)commands
D)b or c
A)multi-events
B)shared events
C)commands
D)b or c
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
40
A MouseMove event passes information using a MouseMoveEventArgs object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
41
A WPF style is a set of that can be reused for any number of controls.
A)property-value definitions
B)event-handler definitions
C)background images
D)a and b.
A)property-value definitions
B)event-handler definitions
C)background images
D)a and b.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
42
The attribute declares the control modified by a control template.
A)Type
B)TargetType
C)TargetControl
D)Control
A)Type
B)TargetType
C)TargetControl
D)Control
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
43
The ItemsSource property of a ListView must refer to the name of a DataTemplate element.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
44
Static resources and dynamic resources differ because static resources are set at initialization time and dynamic resources can be modified by the application.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
45
Keyword is used for constants whose values cannot be determined at compile time.
A)Const
B)ReadOnly
C)Shared
D)None of the above.
A)Const
B)ReadOnly
C)Shared
D)None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
46
WPF controls are "lookless," meaning that their appearance can be set by any control template.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
47
A routed command declared in the XAML changes a control's appearance when that control enters a certain state.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
48
A CollectionViewSource provides multiple "views" of the same data.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
49
Use the property to bind data to information in another XAML element,and the property to bind to a specific property of that element.
A)Binding,Source
B)Target,Property
C)ElementName,Path
D)Target,Source
A)Binding,Source
B)Target,Property
C)ElementName,Path
D)Target,Source
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
50
Colors are represented by three color values and the alpha value.The alpha value specifies .
A)brightness
B)opacity
C)a blending constant
D)None of the above.
A)brightness
B)opacity
C)a blending constant
D)None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
51
Setting the property to None removes the standard window frame containing the title and buttons to minimize,maximize and close the application.
A)Frame
B)Title
C)WindowStyle
D)WindowFrame
A)Frame
B)Title
C)WindowStyle
D)WindowFrame
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
52
Data members declared as ReadOnly must be initialized in their declaration.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
53
Dependency properties provide built-in change notification.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
54
WPF provides built-in functionality for custom windows.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
55
In addition to GUI appearance,styles can also contain event handlers.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
56
Which of the following is not a data provider for WPF data binding?
A)ObjectDataProvider
B)SqlDataProvider
C)XmlDataProvider
D)None of the above.
A)ObjectDataProvider
B)SqlDataProvider
C)XmlDataProvider
D)None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
57
Custom control templates give you complete control of a control's appearance.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck
58
Resources are similar to Private members.They are accessible only to the controls they are defined in.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 58 في هذه المجموعة.
فتح الحزمة
k this deck