header1.html

Friday, 3 May 2013

WPF-XAML Quiz-3


WPF-XAML Quiz-3
1.Comments in XAML are marked with the ______ tag.
<!-- -->
<!-- --!>
<%-- --%>
None of above


2.XAML files can be created and edited with visual design tools such as Microsoft Expression Blend, ________, and the hostable Windows Workflow Foundation visual designer.
Microsoft SQL Server
ASP.NET
SQL Server Compact
Microsoft Visual Studio


3.The x:Class attribute references the code-behind for this XAML window.True or False?
True
False


4.The________attribute works for FrameworkElement and FrameworkContentElement used for consistency.
Class
Name
Key
Value


5.All XAML resources should have an________attribute in WPF.
x:Name
x:Class
x:Value
x:Key


6.x:Null specifies null as a value for a property and can be used either for attributes or property element values.True or False?
True
False


7.__________provides a value for a property by deferring that value to be a run-time reference to a resource.
StaticResource
DynamicResource
RelativeSource
Binding


8.___________provides a value for a property by substituting the value of an already defined resource.
StaticResource
DynamicResource
RelativeSource
Binding


9.____________provides source information for a Binding that can navigate several possible relationships in the run-time object tree.
StaticResource
DynamicResource
RelativeSource
Binding


10._________provides a data bound value for a property, using the data context that applies to the parent object at run time.
StaticResource
DynamicResource
RelativeSource
Binding

WPF Quiz-2


WPF Quiz-2
1.Which of the following is routing strategy of Routed events?
Bubbling
Direct
Tunneling
All of above


2. Child controls are virtualized and arranged on a single line that is either horizontally or vertically oriented.Is true about?
DockPanel
VirtualizingStackPanel
WrapPanel
StackPanel


3.Child controls are positioned in left-to-right order and wrapped to the next line when there are more controls on the current line than space allows.Is true about?
WrapPanel
StackPanel
VirtualizingStackPanel
DockPanel


4.In DockPanel Child controls are aligned to the edges of the panel.True or False?>
True
False


5.Which of the following is not WPF model(used to create a new control/custom control)?
User Control Model
Control Model
Framework Element Model
Element Model


6.One of the primary architectural philosophies used in building WPF was a preference for properties over methods or events.
True
False


7.Which of the following class is used to implement Trees in WPF?
LogicalTreeHelper
VisualTreeHelper
AbstractTreeHelper
a & b


8._______class provides the GetChildren, GetParent, and FindLogicalNode methods for logical tree traversal.
LogicalTreeHelper
VisualTreeHelper
AbstractTreeHelper
a & b


9. ________ is a DependencyProperty instance, which is obtained as a return value when registering a dependency property, and then stored as a static member of a class.
Dependency property
Dependency property identifier
CLR "wrapper"
None of above


10.Windows Presentation Foundation (WPF) introduces _______ events that can invoke handlers that exist on various listeners in the element tree of an application.
routed
bubbled
child
None of above

WPF MCQs Quiz-1


WPF Quiz-1
1.WPF separates the appearance of an user interface from its behavior. The appearance is generally specified in the_______.
HTML
XAML
XML
XSLT


2. Which of the following layout is not available in WPF?
StackPanel
Canvas
Grid
Table


3.x:Static and data binding markup extensions are same.True or false?
True
False


4.WPF is a replacement to DirectX.True or False?
True
False


5.which is dependency property in this code:<Rectangle Width="131" Canvas.Left="74" />
Width
Canvas.Left
Canvas
None of above


6.Transformations are available in which namespace?
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Media
None of above


7.Which tool(s)is/are used to develop WPF applications?
Visual Studio
Expression Blend
Both a & b
Only a


8.WrapPanel Class comes under___________ assembly.
PresentationCore
PresentationFramework
milcore
None of above


9.Development is more efficient because designers can implement an application's appearance simultaneously with developers who are implementing the application's behavior.True or false?
True
False


10.A key element of the Trustworthy Computing initiative in WPF is_______.
XAML
SDL
XAP
None of above

Web Services Quiz-2


Web Services Quiz-2
1._________attribute tells that the class contains code for web service.
WebMethod
WebService
Both
None of above


2.The WebMethod attribute specifies the methods which our web service is providing.True or False?
True
False


3.What is extension of web service file?
.asmx
.ascx
.aspx
.html


4._______files are XML based files that contains link in the form of URLs to resources that provides discovery information for a web service.
XML
Discovery
XSL
WSDL


5.________files are dynamic discovery document that are automatically generated by VS.Net during the development phase of a web service.
.Disco
.VsDisco
.WSDL
None of above


6.______is the Web Services Discovery Tool which retrieves discovery information from a server that exposes a web service.
sn.exe
svc.exe
disco.exe
wsdl.exe


7.________tool can take a WSDL file and generate a corresponding proxy class that you can use to invoke the web service.
wsdl.exe
disco.exe
svc.exe
None of above


8.Web Reference automatically generate a proxy classes for a web service by setting a web reference to point to the web service.
True
False


9.WebService Class comes under ________ namespace.
System.Services
System.Web
System.Web.Services
None of above


10.GetService method gets the implementer of the IServiceProvider.True or False?
True
False

Web Services MCQs Quiz-1


Web Services Quiz-1
1.What is the full form of WSDL?
Windows Services Description Language
Web Services Description Language
Web Services Designing Language
None of above


2._________ is XML-based registry intended as on online Internet registry for businesses worldwide.
UDDI
Universal Plug and Play
Uniform Resource Locator
UDF


3.Which of the following is not a Transaction Mode for Webmethod attribute?
Supported
RequiresNew
Required
SupportedNew


4._______is an XML-based interface definition language that provides operational information about a service, such as the service interface, implementation details, access protocol, and contact endpoints.
WSDL
XSL
XHTML
None of above


5.______is XML based lightweight protocol for exchange of information in a decentralized, distributed environment.
HTTP
SOAP
TCP
None of above


6.Web services are based on_______open standards.
HTTP
XML
SOAP
All of above


7._____is the basis for Web services.
HTML
XML
XHTML
XSL


8.Which of the following technology is used to locate Web Services?
SOAP
UDDI
WSDL
XML


9.______is a directory for storing information about web services.
SOAP
UDDI
WSDL
XML


10.______is used to describe Web services.
SOAP
UDDI
WSDL
XML