09th
Feb
Asp.Net MCQ

Asp.Net MCQ

  • Admin
  • 09th Feb, 2023
  • 497 Followers

Take Asp.Net Quiz To test your Knowledge

Practice here the best Asp.Net MCQ Questions test that checks your basic knowledge of Asp.Net. This Asp.Net MCQ Test contains around 25+ Multiple Choice Questions, that are mostly asked during asp.net exams or interviews. apart from this, you can also download Asp.Net MCQ PDF, completely free.

Also, Read Best Asp.Net interview questions.

Asp.Net MCQ

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

  • A. True
  • B.False

2) The file extension an ASP.NET web form is -

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

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

  • A. content pages
  • B.base pages
  • C.both 1 & 2
  • D.None of the above

4) The term for the pages that depend upon a master page is called-

  • A. master pages
  • B.content pages
  • C.Web page
  • D.All of the above

5) menus, treeview and sitemappath controls cannot be styled with CSS -

  • A. True
  • B.False
Download Free : Asp.Net MCQ PDF

6) _________________ is the code mixed with the HTML and asp controls called?

  • A. inline code
  • B.bar code
  • C.both 1 & 2

7) Every server control must have an id

  • A. True
  • B.False

8) Application_Start event is available in ________ .

  • A. Web.config
  • B.Local.asax
  • C.Global.asax
  • D.none of these

9) Can you use ASPX pages in MVC?

  • A. YES
  • B.NO

10) ____________ is not an ASP.NET page event.

  • A. Load
  • B.Init
  • C.Import
  • D.All of the mentioned

11) In ASP.NET application DLL files are stored in _______________ folder

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

12) boolean is the DataType return in IsPostback property.

  • A. True
  • B.false

13) ASP.NET was first released in

  • A. January 2003
  • B.January 2002
  • C.Feb 2002
  • D.January 2001

14) ASP.NET was developed by

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

15) Which of the following method is used to dynamically register client script from code?

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

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

  • A. InProc
  • B.SQLServer
  • C.StateServer
  • D.None of the above

17) In a SQL Statement while working with SqlCommand it returns a single value, at that time .................... method of Command Object will be used.

  • A. ExecuteScalar
  • B.ExecuteReader
  • C.ExecuteNonQuery
  • D.None of the above

18) Which of the following is the first event of the ASP.NET page, when the user requests a web page?

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

19) ........ is not an ASP component.

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

20) How can we create a FileSystemObject in Asp.net?

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

21) What does asp stand for?

  • A. Access Server Pages
  • B.Active Server Pages
  • C.Active Server Platform
  • D.None of the above

22) Asp.NET allows us to build dynamic ....................

  • A. Websites
  • B.Applications
  • C.Services
  • D.All of the above

23) Asp.NET supports which of the following operating system?

  • A. Windows
  • B.Linux
  • C.macOS
  • D.All of the above

24) The ASP.NET pages are generally written in .............

  • A. code-behind file
  • B.content file or the markup file
  • C.Both option 1 & option 2
  • D.None of the above

25) Which of the following ASP object is used to retrieve user-information from forms?

  • A. The Session object
  • B.The Request object
  • C.The Response object
  • D.None of the above

26) Select the request processing technique, that follows the ASP.NET?

  • A. Pipeline
  • B.Down-Up
  • C.Top-Down
  • D.None of the above

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
Feb
Linux MCQ
01st
Nov
SEO MCQ
01st
Feb
MongoDB MCQ
01st
Feb
iOS MCQ
01st
Mar
IOT MCQ