.NET Programming MCQs with answers Page - 17

Here, you will find a collection of MCQ questions on .NET Programming. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 833.24K Points
Coach

Q. Which of the following languages are used to write server side scripting in ASP.NET?

  • (A) C-Sharp
  • (B) VB
  • (C) Both C-Sharp and VB
  • (D) C++

A

Admin • 833.24K Points
Coach

Q. By default, ASP.NET store SessionIDs in _________.

  • (A) Cookies
  • (B) Cache
  • (C) Database
  • (D) Global Variable

A

Admin • 833.24K Points
Coach

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

  • (A) Init
  • (B) Load
  • (C) Import
  • (D) Disposed

A

Admin • 833.24K Points
Coach

Q. What class does the ASP.NET web form class inherit from by default?

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

A

Admin • 833.24K Points
Coach

Q. 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 A and B
  • (D) None of the above

A

Admin • 833.24K Points
Coach

Q. Menus, TreeView and SiteMapPath controls cannot be styled with CSS

  • (A) True
  • (B) False
  • (C) none
  • (D) all

A

Admin • 833.24K Points
Coach

Q. Every Server control must have an Id

  • (A) True
  • (B) False
  • (C) none
  • (D) all

A

Admin • 833.24K Points
Coach

Q. Application_Start event is available in ___________.

  • (A) Web.config
  • (B) Local.asax
  • (C) Global.asax
  • (D) None of the above

A

Admin • 833.24K Points
Coach

Q. Properties and Indexer are used to access which type of data members?

  • (A) Private
  • (B) Publi
  • (C) C Protecte
  • (D) D Internal

A

Admin • 833.24K Points
Coach

Q. Which of the following statements is correct about a namespace in C#.NET?

  • (A) Namespaces help us to control the visibility of the elements present in it.
  • (B) A namespace can contain a class but not another namespace.
  • (C) If not mentioned, then the name 'root' gets assigned to the namespace.
  • (D) It is necessary to use the using statement to be able to use an element of a namespace.