header1.html

Thursday 18 April 2013

SilverLight Quiz-1


SilverLight Quiz-1
1.Microsoft Silverlight is a cross-browser, cross-platform implementation of the .NET Framework for building and delivering the next generation of media experiences and rich interactive applications (RIA) for the Web.
True
False


2. Silverlight uses.....to ease UI development
XSL
XML
HTML
XAML


3.XAML provides a declarative markup syntax for creating elements.
True
False


4.Silverlight platform as a whole consists of 3 major parts Core presentation framework,.NET Framework for Silverlight and Installer & updater.
True
False


5. which of the following is used to Support the dynamic compilation and execution of scripting languages such as JavaScript and IronPython to program Silverlight-based applications.
CLR
JIT
DLR
All of above


6. Which feature enables developers to query XML data directly within .NET Framework programming languages?
XmlReader and XmlWriter
LINQ
XLinq
None of above


7.To run a Silverlight web application, users require a small plug-in in their browser.
True
False


8.What is namespace of Brush class?
System.Windows
System.Windows.Media
System.Windows.Controls
System.Windows.UIElement


9.A XAML namescope stores relationships between the XAML-defined names of objects and their instance equivalents.
True
False


10.In relationship to WPF XAML, Silverlight XAML uses a shared default XAML namespace, and has an approximate WPF-subset relationship for its XAML vocabulary.
True
False

ASP.NET Quiz-5


ASP.NET Quiz-5
1.Which database is the ADO.NET SqlConnection object designed for?
Access
Microsoft SQL Server
MySQL
Oracle


2.The first step of configuring a DataAdapter is to select:
a connection object
an adapter object.
a database object
a dataset object


3.Which DataAdapter Query Type can be used with the Access database?
Use SQL statements
Create new stored procedure
Use existing stored procedure.
Both a and b.


4.Which is not an ADO.NET DataAdapter Object?
OleDbDataAdapter
SQLDataAdapter
QueryDataAdapter
None of above


5.Which type of object has the Generate Dataset method?
Adapter object
Connection object
Dataset object
Database object


6.Which object does the data-aware control bind to?
Dataset
DataAdapter
Connection
Both a and b


7.What is the proper code to put data into the dataset called CustomerDataset using the CustomerDataAdapter object?
CustomerDataset.Fill(CustomerDataAdapter)
CustomerDataAdapter.Fill(CustomerDataset)
CustomerDataset.Load(CustomerDataAdapter)
CustomerDataAdapter.Load(CustomerDataset)


8.Which object contains the Position property of the current record in a dataset?
BindingContext
BindingData
DataBinding
DataContext


9.The first record in a dataset has a position property of:
zero
one
any value defined by the programmer
Both a and b.


10.Which below is specified by the DataMember Property?
Connection object
DataAdapter object
Database field
Database table

ASP.NET Quiz-4


ASP.NET Quiz-4
1.Client-side state management techniques are appropriate when using:
sensitive information
critical applications.
an intranet
Both a and b


2.Where does the query string store information?
HTML source
Text file
URL
server


3. Where do cookies store information?
HTML source
Text file
URL
server


4.Which client-side technique is specific to ASP.NET?
Cookies
QueryString
ViewState
All of above


5.What symbol specifies the beginning of a query string?
@
#
$
?


6.Which server-side technique is available in ASP.NET?
Application states
Session states
Database support
Both a and b.


7.An Application variable is created:
when the application is first placed on a web server.
when the web server is first started.
when the first client requests a URL resource
every time a client requests a URL resource


8.A Session variable is created:
when the application is first placed on a web server.
every time a new client interacts with the web application.
every time a client requests a URL resource
when the first client requests a URL resource.


9.Which is not a reason for using a database to store state information?
The capacity to store high volumes of information
The ability to use data mining techniques on the stored information
The ability to use application and session variables
Security from unauthorized use


10.Properties are used to represent
actions
classes
data
events

ASP.NET Quiz-3


This quiz is continuation of My previous Quiz- ASP.NET Quiz-2 which was on basic attributes and events of ASP.NET controls

ASP.NET Quiz-3
1.A postback occurs when
a browser posts a form to the server.
a user’s action activates the handling of a server event.
a server posts a form to the client.
Both a and b.


2.When does a “round trip” start in a web application?
The server requests an action from the user.
The user activates a server control event
The browser posts a form to the server.
The server processes a control event.


3.When an ASP.NET file is placed on an IIS server and viewed through a browser, the resulting HTML page contains:
all ASP.NET code
as much ASP.NET code as is in the ASP.NET file
a mix of ASP.NET and HTML code.
all HTML code.


4. What is the extension for a Visual Basic web form code file?
.asp
.aspx
.aspx.vb
.asp.vb.net


5. Which user action will not generate a server-side event?
Mouse Move
Text Change
Button Click
Both a and b


6.Because of the latency of a round-trip on the internet:
the interface and code of a web form are stored in separate files
only some user actions, such as button clicks, will generate events.
it is best to use server-side control
web applications should be coded in Visual Basic


7.Which layer is exemplified by the use of ADO.NET?
Application
Logical
Data
Presentation


8.How will using a middle tier typically affect the number of connections to a database?
Increase the number
Have no effect on the number
Decrease the number
It depends on the type of client


9.Which is a valid type of state management for the creation of web pages?
Client side
Server side
Data side
Both a and b


10.The stateless HTTP protocol refers to web pages created:
on a web server
without information from a database
without knowledge of previous web pages.
before a request from a client.
Please Have look on Simple ASP.NET Quiz

ASP.NET Quiz-2


ASP.NET Quiz-2
1.Which property allows ASP.NET controls to maintain their values when a page is posted to itself.
AutoPostBack
SaveValue
MaintainValue
EnableViewState


2.Which property determines whether a control is displayed to the user?
Hide
Show
Visible
Enabled


3. The Button control can be activated
programmatically through the click event.
by clicking the button with the mouse.
with the form’s DefaultButton property.
Both a and b.


4.In event-driven programming an event is generated by.....
the system
a user’s action
the program itself.
All of the above


5.Which is not a common control event?
Click
SingleClick
DoubleClick
MouseMove


6.The Tick event is found only in which object?
Form
Button
Timer
TextBox


7.The Activated event is found only in which object?
Form
Button
Timer
TextBox


8.Which is not a valid value for the ListBox SectionMode Property?
None
One
MultiSimple
All of the above


9.Setting the SelectedIndex property of a ListBox to -1 will...
cause an error
de-select any selected item.
cannot be done.
select first item.


10.Which method of a ListBox will remove just one item at a time?
Items.RemoveAt
Item.RemoveAt
Items.ClearAt
Item.ClearAt

SilverLight Quiz-2


SilverLight Quiz-2
1."Silverlight applications operate within security sandbox." True or False?
True
False


2.What is the root element of AppManifest.xaml file?
Assemblies
Deployment
AppManifest
None of above


3.When .xap file get created?
After debugging silverlight application
After compiling silverlight application
After building silverlight application
None of above


4.The AppManifest.xaml file contains the deployment details needed to run the Silverlight application.True or False?
True
False


5. A basic xap file will have.....
Only dlls of application
dlls and resources
an application manifest file and dlls
None of above


6. How can I create silverlight application?
XAML
Visual Studio
Expression Blend
All of above


7.......enable you to animate using more than two target values, and control an animation's interpolation method.
Graphics
Key-frame animations
DoubleAnimation
None of above


8.Which of following is not layout in silverlight?
GridLayout
StackPanel
Canvas
Table


9.Application hosting does not require configuration settings on the host Web server and within the host Web page.True or False?
True
False


10......Configures XAML markup compilation to join partial classes between markup and code-behind.
x:Name
x:Key
x:Class
All of above

AJAX Quiz-5


AJAX Quiz-5
1. WebCrawler does not execute JavaScript code,so you should not use AJAX in commercial sites.
True
False


2.Choose the server-side JavaScript object?
FileUpLoad
Function
File
Date


3.Choose the client-side JavaScript object?
Database
FileUpLoad
File
Cursor


4.Is it possible cancel an Asynchronous postback?
Yes
No


5.which tool is used to debug ASP.NET AJAX applications ?
Fiddler
Firebug
Both
None of these


6.Is it possible to use FileUpload control within the update panel?
Yes
No


7.Is it compulsory to have Script manager on the page when you are using any control of ajax control tool kit?
Yes
No
No need


8.Is there any property names “IsNavigating”?
Yes
No


9.Uninitialized state of XMLHttpRequest object refers to the state when the object has not been initialized.
True
False


10.Sent state of XMLHttpRequest object refers to the state when the object has been created; however, the send function has not been invoked.
True
False

AJAX Quiz-4


AJAX Quiz-4
1.__________ JavaScript is also called server-side JavaScript.
Microsoft
LiveWire
Navigator
Native


2. Is the AjaxControlToolkit.dll file installed in the Global Assembly Cache?
Yes
No


3.Extensible HTML (XHTML) is a markup language that provides....
the mixture expressions of HTML and Javascript.
the mixture expressions of HTML and XSL.
the mixture expressions of HTML and XML.
All of above


4.If you want to create a secure application you should not use AJAX.
True
False


5. If you want the page to show in a search engine, you must use AJAX.
True
False


6.Which of following has AJAX is a built-in functionality?
.NET Framework 3.5
.NET Framework 2.0
.NET Framework 3.0
.NET Framework 4.0


7._____ JavaScript statements embedded in an HTML page can respond to user events such as mouse-clicks, form input, and page navigation.
Client-side
Server-side
Local
Native


8.Which of the following is not a valid JavaScript variable name?
21abc
abc21
_abc
None of above


9.Which of the following attribute can hold the JavaScript version?
SCRIPT
LANGUAGE
VERSION
None of above


10.What is the correct syntax for referring to an external script called " myScript.js"?
<script href=" myScript.js">
<script name=" myScript.js">
<script src=" myScript.js">
None of above

AJAX Quiz-3


AJAX Quiz-3
1.The.....property holds the status of the XMLHttpRequest.
onreadystatechange
readyState
status
done


2. .....stores a function (or the name of a function) to be called automatically each time the readyState property changes.
onreadystatechange
readyState
status
All of above


3.A callback function is a function passed as a parameter to another function.True or False?
True
False


4.AJAX can not be used for interactive communication with an XML file.
True
False


5.AJAX is not a new programming language, but a new way to use existing standards.
True
False


6.JSON is not a safe data interchange format in JavaScript, which is also difficult to understand.
True
False


7. (a)It is difficult to bookmark a particular state of the application.(b)Response time may be slow because different controls of a page are loaded at different time. What is true about AJAX?
a
b
a & b
both are false


8.Can we call server-side code from JavaScript?
Yes
No
Can't say


9.Can we nest the UpdatePanel controls?
Yes
No


10.Is it possible to use multiple ScriptManager controls on a Web page?
Yes
No

AJAX Quiz-2


AJAX Quiz-2
1.Ajax uses XML for coding and transferring formatted information between server and client.True or False?
True
False


2. Sending a Ajax request to web server
Push & pop
Open & send
Demand & get
Req & receive


3.Control that group of server control and monitored their post back and rendering process
UpdateControl
UpdatePanel
UpdateControlPanel
Iframe


4.__________ajax control enables you to place scripts and service into your content page.
ScriptManager
Panel
ScriptManagerProxy
Timer


5. In ajax how the request will be processed?
HttpXmlRequest
Httprequest
XMLHttpRequest
None of these


6. _____________ control includes downloading Microsoft Ajax Library scripts to the browser and coordinating partial-page updates that are enabled by using updatepanel controls.
ScriptManager
UpdatePanel
Timer
UpdateProgress


7.The XMLHttpRequest object can be used on subdomain1.mysite.com to request a page located at subdomain2.mysite.com according to the specification.
True
False


8.JavaScript/DOM is used to display/interact with the information.True or False?
True
False


9.setRequestHeader()method adds HTTP headers to the request.
True
False


10.If the response from the server is not XML, use the.....property.
responseXML
responseText
innerHTML
None of above