11th
Aug
Asp.Net Mcq

Asp.Net Mcq

  • Admin
  • 11th Aug, 2020
  • 628 Followers

Asp.Net MCQ Quiz

1) What tags one need to add within the asp:datagrid tags to bind columns manually?

  • A. It is not possible to do the operation
  • B. Set AutoGenerateColumns Property to true on the datagrid tag
  • C. Set AutoGenerateColumns Property to false on the datagrid tag
  • D. Set AutomaunalColumns Property to true on the datagrid tag

2) Response.Output.Write() allows you to stream output

  • A. Assemblyname
  • B. All of the above
  • C. TagPrefix
  • D. Name space of the dll that is referenced

3) Which method do you invoke on the DataAdapter control to load your generated dataset with data?

  • A. DataList
  • B. Load ( )
  • C. DataBind
  • D. Fill( )

4) Caching type supported by ASP.Net

  • A. Output Caching
  • B. DataCaching
  • C. none of the above
  • D. a and b

5) Which of the following method is used to obtain details about information types of assembly?

  • A. None of the Above
  • B. GetType
  • C. GetTypes
  • D. Both A. and B.
Download Free : Asp.Net Mcq PDF

6) Which property of the session object is used to set the local identifier?

  • A. Item
  • B. LCID
  • C. SessionId
  • D. Key

7) File extension used for ASP.NET files.

  • A. .Web
  • B. .ASPX
  • C. None of the above
  • D. .ASP

8) The number of forms that can be added to a aspx page is.

  • A. 2
  • B. 1
  • C. More than 3
  • D. 3

9) How do we create a FileSystemObject?

  • A. Create("FileSystemObject")
  • B. Create Object:"Scripting.FileSystemObject"
  • C. Server.CreateObject("FileSystemObject")
  • D. Server.CreateObject("Scripting.FileSystemObject")

10) Which of the following tool is used to manage the GAC?

  • A. RegSvr.exe
  • B. GacSvr32.exe
  • C. GacMgr.exe
  • D. GacUtil.exe

11) Which of the following is not a member of ADODBCommand object?

  • A. ExecuteScalar
  • B. ExecuteStream
  • C. ExecuteReader
  • D. Open

12) What's the difference between Response.Write() andResponse.Output.Write()?

  • A. Response.Output.Write() allows you to flush output
  • B. Response.Output.Write() allows you to write formatted output
  • C. Response.Output.Write() allows you to stream output
  • D. Response.Output.Write() allows you to buffer output

13) Default Session data is stored in ASP.Net.

  • A. StateServer
  • B. Session Object
  • C. all of the above
  • D. InProcess

14) Which of the following languages can be used to write server side scripting in ASP.NET?

  • A. C-sharp
  • B. VB
  • C. C++
  • D. A and B

15) The technique that allow code to make function calls to .NET applications on other processes and on other machines is

  • A. .NET Remoting
  • B. .NET RMT
  • C. None of the above
  • D. .NET Threading

16) In ASP.NET the sessions can be dumped by using

  • A. Session.Dump
  • B. Session.Exit
  • C. None of the Above
  • D. Session.Abandon

17) How do you manage states in asp.net application

  • A. Application Objects
  • B. Viewstate
  • C. All of the above
  • D. Session Objects

18) An alternative way of displaying text on web page using

  • A. asp:listitem
  • B. asp:button
  • C. none of the above
  • D. asp:label

19) Which DLL translate XML to SQL in IIS?

  • A. SQLXML.dll
  • B. LISXML.dll
  • C. SQLIIS.dll
  • D. SQLISAPI.dll

20) Default scripting language in ASP.

  • A. EcmaScript
  • B. PERL
  • C. JavaScript
  • D. VBScript

21) Suppose a .NET programmer wants to convert an object into a stream of bytes then the process is called ______________ ?

  • A. Threading
  • B. RCW
  • C. AppDomain
  • D. Serialization

22) Attribute must be set on a validator control for the validation to work.

  • A. ControlToBind
  • B. ValidateControl
  • C. Validate
  • D. ControlToValidate

23) What is used to validate complex string patterns like an e-mail address?

  • A. Extended expressions
  • B. Basic expressions
  • C. Irregular expressions
  • D. Regular expressions

24) What class does the ASP.NET Web Form class inherit from by default?

  • A. System.Web.UI.Form
  • B. System.Web.GUI.Page
  • C. System.Web.Form
  • D. System.Web.UI.Page

25) We can manage states in asp.net application using

  • A. Viewstate
  • B. Application Objects
  • C. Session Objects
  • D. All of the above

26) Difference between Response.Write() andResponse.Output.Write().

  • A. Response.Output.Write() allows you to buffer output
  • B. Response.Output.Write() allows you to flush output
  • C. Response.Output.Write() allows you to stream output
  • D. Response.Output.Write() allows you to write formatted output

27) The namespace within the Microsoft .NET framework which provides the functionality to implement transaction processing is ....................

  • A. System.Security
  • B. System.Diagnostics
  • C. System.Data
  • D. System.EnterpriseServices

28) Which of the following is TRUE about Windows Authentication in ASP.NET?

  • A. Role membership determined only by user programming
  • B. ASP.NET does not support Windows Authentication
  • C. None of the Above
  • D. Automatically determines role membership

29) When an .aspx page is requested from the web server, the out put will be rendered to browser in following format.

  • A. WML
  • B. XML
  • C. JSP
  • D. HTML

30) Which of the following method must be overridden in a custom control?

  • A. The Paint() method
  • B. The Control_Build() method
  • C. The default constructor
  • D. The Render() method

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
Dec
Laravel MCQ
01st
Dec
React JS MCQ
01st
Jan
AngularJs MCQ
01st
Jul
Node js MCQ
01st
Jul
Angular 2 MCQ
01st
Jul
JSON MCQ