Asp.net Mcq Questions

Asp.net Mcq Questions | Freshers & Experienced

  • Sharad Jaiswal
  • 12th Feb, 2021

We have listed below the best Asp.Net Mcq Questions for your basic knowledge of Asp.Net. This Asp.Net Mcq Test contains 25 multiple Choice Questions. You have to select the right answer to every question.

Asp.Net Mcq Questions

1) We are not using a server when we run our .aspx projects

  • A. True
  • B.False

2) Every server control must have an id.

  • A. True
  • B.False

3) Master pages are used to provide the code and appearance that are the same for a series of

  • A. Base pages
  • B.Content pages
  • C.Both Base & content Pages
  • D.None of the above

4) ........... is the code mixed with the HTML and asp controls.

  • A. bar code
  • B.inline code
  • C.outline code
  • D.None of the above

5) Who developed ASP Net?

  • A. Google
  • B.Microsoft
  • C.IBM
  • D.None of the Above

6) Which of the following is not an ASP.NET page event?

  • A. Load
  • B.Init
  • C.Import
  • D.None of the above

7) In asp.net application dll files are stored in which folder mcq?

  • A. Bin
  • B.App_Data
  • C.App_Code
  • D.App_LocalResources

8) Which of the following is not an asp component?

  • A. Counter
  • B.AdRotator
  • C.LinkCounter
  • D.AdRotator

9) Which is the first event of the asp.net page, when the user requests a web page?

  • A. Init
  • B.Load
  • C.PreInit
  • D.PreLoad

10) Which is the file extension used for an asp.net file?

  • A. .jpeg
  • B..aspx
  • C..docx
  • D.None of the above

11) To create your application on a remote server which option you will choose in ASP.NET?

  • A. FTP
  • B.HTTPS
  • C.File System
  • D.None of the above

12) Which method is used to dynamically register client script from code?

  • A. RegisterScript
  • B.Page.ClientScript
  • C.Page.ClientScript.RegisterClientScriptBlock
  • D.None of the above

13) boolean is the DataType return in IsPostback property.

  • A. True
  • B.False

14) Which of the following is true in asp.net?

  • A. Custom controls are displayed correctly in VS.Net Designer
  • B.User controls are displayed correctly in the Visual Studio .NET Designer
  • C.User and Custom controls are displayed correctly in the Visual Studio .NET Designer.
  • D.None of the above

15) Which of the following Session Mode Serialization is not required to store the data?

  • A. Off
  • B.StateServer
  • C.InProc
  • D.SQLServer

16) A web application can contain ........

  • A. No file
  • B.Only One Web.Config File
  • C.Only Two Web.Config File
  • D.More than one Web.config file

17) Which file contains settings for all .net application types, such as windows, console, classlibrary, and web applications?

  • A. Global.asax
  • B.Web.config
  • C.Web.config
  • D.Machine.config

18) How do you register a user control?

  • A. Add Source, Tag prefix
  • B.Add Tag prefix, Tag name
  • C.Add Src, Tagprefix, Tagname
  • D.None of the above

19) Which kind of authentication ASP.NET supports?

  • A. Forms Authentication
  • B.Windows Authentication.
  • C..NET Passport Authentication.
  • D.All of the above is supported.

20) Every server control must have an id.

  • A. True
  • B.False

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
Feb
React JS MCQ
01st
Feb
Angular Js MCQ
01st
Feb
Angular 2 MCQ
01st
Feb
JSON MCQ
01st
Feb
PHP MCQ