R4RIN
Articles
Java 8
MCQS
ASP.Net MCQ Quiz Hub
ASP.Net Mcq Question Set 9
Choose a topic to test your knowledge and improve your ASP.Net skills
1. Where Do You Store The Information About The User Locale
System.Web.UI.Page.Culture
System.web
System.Drawing
None of the above.
2. What Is The Purpose Of Code Behind ?
To separate different sections of a page in to different files
To merge HTML layout and code in to One file
To separate HTML Layout and code to different file
None of the above.
3. What Is A Satallite Assembly ?
Any DLL file used by an EXE file.
An Assembly containing localized resources for another assembly
None of the above
All of the mentioned
4. Which Of The Following Is Not A Member Of Response Object?
Clear
Write
execute
None of the above.
5. How To Open More Than One Datareader At A Time
Use different datareader variable
Use different datareader and connection variable
Can not be done
None of the above.
6. What Is The Advantage Of Disconnected Mode Of ADO.Net In ASP.Net
Automatically dump data at client PC
Not necessary to connect with server
user data can update and retrieve in dataset and when connection connected, update values with server
None of the above.
7. Which Objects Is Used To Create Foreign Key Between Tables?
DataRelation
DataRelationship
DataConstraint
None of the above.
8. Select The Interface Which Provides Fast, Connected Forward-Only Access To Data
IdataRecord
Idatabase
IdataReader
None of the above.
9. How Do We Delete, Update, Select Data In A Dataset
Using SQLDataAdapter
Using SQLDataReader
None
All of the mentioned
10. Which Of The Following Is Not A Member Of ConnectionObject
Execute
EndTransaction
BeginTransaction
None of the above.
11. Is It Possible To Serialize HashTable With XMLSerializer
Yes
No
None of the above
All of the mentioned
12. What Is The Full Form Of WSDL
Web System Description Language
Web Service Description Language
None
None of the above.
13. What Is The Difference Between Server.Transfer & Response.Redirect
No Difference
Server.Transfer needs a roundtrip, Response.Redirect does not
Response.Redirect needs roundtrip, Server.Transfer does not
None of the above.
14. Which Language Can Support SOAP
VB
JAVA
All of the above
None of the above.
15. What Is The Size Of The Session ID
32 bit long string
32 bit long double
32 bit long integer
None of the above.
16. Which Of The Following Extension Does A Webservice File Will Have
.Asmx
.Aspx
.Ascx
None of the above.
17. What Is A Strong Name?
Public Key
Combination Of both Public,Private key and digital signature
Private Key
None of the above.
18. What Is The Purpose Of Reflection?
For Reading metadata at runtime
For knowing version of assembly
For finding path of an assembly
None of the above.
19. Is It Possible Edit Data In A Repeater Control
No
Yes
None
None of the above.
20. Why Is Global.Asax Is Used For ?
To implement application & Session level events
To store configuration information
To store styling information
None of the above.
21. What Is A Diffgram ?
The one which renders the dataset object contents to XML
Finds the difference in two objects
Finds the difference in two filesq
None of the above.
22. What Is The Lifespan For Items Stored In Viewstate
Exists for the Life of the current page
20 mins
2 mins
None of the above.
23. What Data Types Do A Rangevalidator Supports
Integer
String
All of the above
None of the above.
24. Select The Output Of The Statement < Form Method=Post Action=”Test.Aspx” >
Transfers all the form data to test.aspx with HTTP headers
Transfers all the form data to test.aspx with out HTTP headers
Calls post method on test.aspx
None of the above.
25. What Is The Out Put Of The Following Code Byte A=200; Byte B=100; Byte C=A+B; Response.Write ( C );
Run time Error
Compile Time error
300
none of the mentioned
26. What Is The Out Put Of Following Code String A=”Hello”; String B=”World” String C= A+B Response.Write ( “C “);
Hello world
C
A+b
All of the mentioned
27. Whats The Significance Of Request.MapPath( )
Maps the specified virtual path to a physical path
Maps the specified absolute path to virtual path
None of the above
All of the mentioned
28. Which Of The Following Are Not A Member Of Server Object
Execute
Transfer
Open
None of the above.
29. What Is The Significance Of Server .MapPath
Returns the physical file path that corresponds to virtual specified path
Returns the Virtual Path of the web folder
Maps the specified virtual path to Physical path
none of the mentioned
30. What Is The Server.MachineName Does
Gets the Server’s Machine Name
Gets the Referred Web site name on the server
Gets the Client Machine Name
None of the above.
31. Whats Is The Significance Of Response.ClearHeaders( )
Clears all Headers from the buffer stream
Clears all the section value from rendered HTML File
Clears the content of the Rendered page
none of the mentioned
32. What Is The Significance Of Response.AddHead
Adds HTTP Headers to output stream
Adds Tag to rendered Page
Add Headers to the web site
All of the mentioned
33. What Is The Difference Between HTTP Handlers & HTTP Modules
Httphandler is an class and Httpmodule is an assembly
Httphandler is an event handler and httpmodule is module to do some task
Both of the above.
All of the mentioned
34. Which Namespace Allows Us To Formauthentication ?
System.Web.Ui.Forms.Security
System.Web.Security
System.Web.Configuration
None of the above.
35. Which Method Displays The Custom Control
The Prerender
Render
Page_Load
All of the mentioned
36. When Is The User Controls Code Is Executed
After the webform loads
After the page_init event of webform
Before Page_init event of web form
none of the mentioned
37. Client Sertificate Is A Collection Of
Server
Response
Request
None of the above.
38. What Section Of The Config.Web File Is Used For Storing A List Of Authorized Users?
authorization
authentication
securityPolicy
All of the mentioned
39. How Do You Add ASP.Net 3rd Party Component
By add/Remove items in the project menu
Add reference of dll file and place the code where ever required
Cannot add 3rd party component to asp.net
none of the mentioned
40. Which Of The Following Is FALSE?
ASP.NET applications run without a Web Server
ASP+ and ASP.NET refer to the same thing
None of the Above
All of the mentioned
41. GIVE ONE WORD: In .NET The Operation Of Reading Metadata And Using Its Contents Is Known As
Reflection
Enumeration
Binding
None of the above.
42. Which Method Do You Invoke On The DataAdapter Control To Load Your Generated Dataset With Data?)
Load ( )
Fill( )
DataList
none of the mentioned
43. Give One Word: Common Type System Is Built Into Which Of The Following:
CLR
RCT
RCW
None of the above.
44. The namespace within the Microsoft .NET framework which provides the functionality to implement transaction processing is ……
System.EnterpriseServices
System.Security
System.Diagnostics
System.Data
45. In which of the following format, output will be rendered to browser When an .aspx page is requested from the web server?
JSP
WML
XML
HTML
46. Which of the following is true?
User controls are displayed correctly in the Visual Studio .NET Designer
Custom controls are displayed correctly in VS.Net Designer
User and Custom controls are displayed correctly in the Visual Studio .NET Designer.
none of the mentioned
47. Which of the following does not have any visible interface?
Datagrid
Repeater
DropdownList
Datalist
48. _____ is not a member of ADODBCommand object.
ExecuteReader
ExecuteStream
ExecuteScalar
Open
49. Which class can be used to create an XML document from scratch?
XmlConvert
XmlDocument
XmlNew
XmlSettings
50. Which class can be used to perform data type conversion between .NET data types and XML types?
XmlType
XmlCast
XmlConvert
XmlSettings
Submit