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

Thursday, 2 May 2013

XML Quiz-3


XML Quiz-3
1.Text inside a CDATA section will be parsed by the parser.
True
False


2.Writing an Internal DTD inside a DOCTYPE is known as:
Declaration
Wrapping
Sequencing
None of above


3.Logical structure of data can be interpreted and used in many ways by various applications due to XML
True
False


4.It is possible to have a property with multiple values
True
False


5.A CDATA section ends with _____.
!>
>
]]>
None of above


6.XML documents should not contain non ASCII characters.True or False?
True
False


7.The XML DOM defines a standard way for accessing and manipulating XML documents.True or False?
True
False


8.What is used to avoid element name conflicts in XML?
DTD
XML Namespaces
Schema
None of above


9.Which attribute is used to define namespace in XML document?
xmlns
ns
resource
using


10.XML specification states that a program should not stop processing an XML document if it finds an error.
True
False

XML Quiz-2


XML Quiz-2
1.XML element's attributes are different from HTML attributes.True or False?
True
False


2."XML Attributes Must be Quoted".True or False?
True
False


3."XML attributes cannot contain multiple values but elements can." True or False?
True
False


4."XML attributes can contain tree structures". True or False?
True
False


5. What do you mean by "Well Formed" XML?
XML validated against a DTD
XML with correct syntax
XML document having a root element
None of above


6. What do you mean by "Valid" XML?
XML document having a root element
XML with correct syntax
XML validated against a DTD
None of above


7."XML documents must have a root element".True or False?
True
False


8.XML documents carry information about how to display the data.True or False?
True
False


9.With XSLT you can transform an XML document into HTML.True or False?
True
False


10.XML tags are case sensitive.True or False?
True
False

XML MCQs Quiz-1


XML Quiz-1
1.Which of the following is correct regarding Embedded Simple Types representing date and time in XML Schema?
xs:date
xs:gMonthYear
xs:timeDate
xs:gDayMonth


2. XML is designed to transport and store data.True or False?
True
False


3.XML is a software- and hardware dependent tool for carrying information.
True
False


4.XML data is stored in....format.
Binary
Unicode
Text
None of these


5.Which of the following is an API for accessing XML documents?
SAX
SOAP
XPath
None of above


6. XML Tags are Case Sensitive.True or False?
True
False


7.<!-- This is a comment --!> is comment in XML.True or False?
True
False


8..Net class for validate xml document?
XmlRangeValidator
RangeValidator
XmlValidatingReader
None of these


9.XML Document can be seen through:
XML Document
XML Source
Transform Source
None of these


10.XML Names can contain letters, numbers, and other characters
True
False

Wednesday, 1 May 2013

AJAX MCQs Quiz-6


AJAX Quiz-6
1.The XMLHttpRequest object is used to exchange data with a server.True or False?
True
False


2. What is the official name of JavaScript?
NetscapeScript
XMLScript
ECMAScript
WebScript


3.Determine whether the following line is correct or not: With AJAX it is possible to work on an image on the client.
no
yes


4.From the provided methods, pick the right one that returns the value of an attribute:
attribute[index].text
attribute()
getAttribute()
All of above


5. Fill in the blank with the proper option from the following: A ________________________ to the JavaScript engine starts all subsequent requests to the server.
XML Document
Function call
HTML page
XHTML Tag


6.In AJAX, the word "Synchronous" describes _______________.
Ability to handle processes independently from other processes
Processes are dependent upon other processes
Processes are not fully dependant on other processes
All the processes can be run independently


7.In Internet Explorer, from the following, which one is the right option to obtain XMLHttpRequest object?
if (window.XMLHttpRequest) { httpReq = new XMLHttpRequest(); }
if (window.ActiveXObject) { httpReq = new ActiveXObject("Microsoft.XMLHTTP"); }
if (window.ActiveXObject) { httpReq = new GetObject("Microsoft XMLHTTPRequest"); }
if (window.XMLHttpRequest) { httpReq = new XMLHttpRequest("IE"); }


8.To get the response from a server, responseText or responseXML property of the XMLHttpRequest object is used.
no
yes


9.The responseText property returns the response as a string format.True or False?
True
False


10.What will be the primary step when you have to send a request using JavaScript to a server?
You will call the connect() method of the XMLHttp object
You will call the execute() method of the XMLHttp object
You will call the open() method of the XMLHttp object
None of above

WCF MCQs Quiz-3


WCF Quiz-3
1.WCF provides the option to handle and convey the error message to client from service using _______.
try...catch
SOAP Fault contract
Data contract
None of these


2. MEP stands for:
Microsoft enterprise presentation
Message embedded Program
Message Exchange Pattern
None of these


3.In which of the following MEP we cannot use FaultContract?
Request / Response
Oneway
Duplex
None of above


4.Which of the following MEP requires CallbackContract?
Request / Response
Oneway
Duplex
None of above


5.Which of the following MEP is used in most cases,as some kind of acknowledgment is required?
Request / Response
Oneway
Duplex
None of above


6. ________ is a mechanism for transmitting large binary attachments with SOAP messages as raw bytes, allowing for smaller messages.
MTOM
MEP
MTOP
None of these


7.Which binding represents an interoperable binding that supports distributed transactions and secure, reliable sessions?
WSHttpContextBinding
WSHttpBinding
WebHttpBinding
BasicHttpBinding


8.Callback service can be enabled by using CallbackContract property in the _________ attribute.
DataContract
ServiceContract
OperationContract
All of above


9.MessageHeaderArray Attribute is applicable only for Array, not for collection.True or False?
True
False


10.Streaming is also available with the Message Queuing (MSMQ) transport.True or False?
True
False

WCF MCQs Quiz-2


WCF Quiz-2
1.Which of the following contract define the return type of operation?
Data
Service
Operation
Message


2.An WCF service is exposed to the world as a collection of_______ .
messages
endpoints
services
None of these


3.Which one is not a class in WCF?
BasicHttpBinding
BasicHttpContextBinding
BasicHttpsBinding
None of above


4.A _______ is a formal agreement between a service and a client that abstractly describes the data to be exchanged.
service contract
data contract
message contract
operation contract


5.______node defines settings for service endpoint, address, bindings and contract.
<Appsettings>
<system.serviceModel>
<services>
None of above


6.______ binding provides secure and reliable binding environment for .Net to .Net cross machine communication.
BasicHttpBinding
WSHttpBinding
NetTcpBinding
WSDualHttpBinding


7.______ binding provides secure binding for peer-to-peer environment and network applications.
NetPeerTcpBinding
NetTcpBinding
BasicHttpBinding
WSDualHttpBinding


8.During runtime of service________ controls how many messages are processed.
Error Behavior
Throttling Behavior
Metadata Behavior
Dispatch Behavior


9.During runtime of service Transaction Behavior enables the rollback of transacted operations if a failure occurs.
True
False


10.During runtime of service Dispatch Behavior controls how a message is processed by the WCF Infrastructure.
True
False