Home Videos Exercises MCQ Q&A Quiz E-Store Services Blog Sign in Appointment Payment

ASP.NET MCQ

Soopro Pathshala provides ASP.NET MCQ(Multiple Choice Questions)


1. File extension used for ASP.NET files.

a) .Web

b) .ASP

c) .ASPX

d) none of the above

View Answer

Answer: (c) .ASPX



2. A web application can contain_______

a) Only one web.config file

b) Only two web.config file

c) more than one web.config file

d) no file

View Answer

Answer: (c) more than one web.config file



3. What is the file extension of web service in ASP.NET?

a) .ascx

b) .asmx

c) .aspx

d) .docx

View Answer

Answer: (b) .asmx



4. Which of the following works on client side?

a) ViewState

b) HiddenField

c) ControlState

d) all of the above

View Answer

Answer: (d) all of the above



5. Which of the following works on server side?

a) ViewState

b) HiddenField

c) Application and session

d) all of the above

View Answer

Answer: (c) Application and session



6. How many classes can a single .NET DLL contain?

a) one

b) two

c) three

d) many

View Answer

Answer: (d) many



7. Choose the form in which Postabk occur.

a) HTMLForms

b) Webforms

c) Winforms

d) none of these

View Answer

Answer: (b) webforms



8. The first event triggers in an aspx page is.

a) Page_Init()

b) Page_Load()

c) Page_click()

d) None of these

View Answer

Answer: (a) Page_Init()



9. Which protocol is used for requesting a web page in ASP.NET from the web server?

a) HTTP

b) TCP

c) SMTP

d) None of the above

View Answer

Answer: (a) HTTP



10. What namespace does the web page belong in the .net framework class hierarchy?

a) System.Web.Page

b) System.Windows.Page

c) System.Web.UI.Page

d) None of these

View Answer

Answer: (c) System.Web.UI.Page