Dot Net MCQ Questions and Answer PDF Download

Dot Net Multiple Choice Questions and Answer | . Net Objective Questions and Answer

Dot Net MCQ Quiz:  Here we have provided 30 important Dot Net question and answers for interview/others exams. Applicant practice these kind of .Net questions daily can easily crack any interview in one attempt. Read the given dot net objective questions clearly then prepare for the interview.  Candidates watch our site to get more general knowledge (GK) MCQ quiz. Candidate use this chance to develop your career as well as enhance your knowledge. Aspirants should download the Dot net questions and answer PDF.

Dot Net MCQ Quiz & Online Test

1.   Which of the following web server control display static text that can change at runtime?

  1. Label
  2. Textbox
  3. Hyperlink
  4. None of above

Answer: Label

2. Which of the following server control shows data in a tabular format and allows sorting, paging, edit, delete each record?

  1. Repeater
  2. GridView
  3. ListBox
  4. None of above

Answer: GridView

3.  By using which of the following web server control data can be retrieved from a relational database?

  1. SqlDataSource
  2. ObjectDataSource
  3. XmlDataSource
  4. AccessDataSource

Answer: SqlDataSource

4.  Which web server control is used to display advertisements in ASP.NET a webpage?

  1. Imagemap
  2. AdRotator
  3. Image
  4. Panel

Answer: AdRotator

5. Which of the following webserver control used as container for other server controls in a ASP.NET webpage?

  1. Panel
  2. PlaceHolder
  3.  ImageMap
  4. Table

Answer: Panel

6. By using which of the following attribute, HTML elements are transformed to HTML server control?

  1. runat=”browser”
  2. runat=”server”
  3. runat=”client”
  4. runat=”host”

Answer: runat=”server”

7. Which of the following validation control is used to ensure that an user does not skip a form entity field?

  1. RequiredFieldValidator
  2.  RangeValidator
  3. CompareValidator
  4. RegularExpressionValidator

Answer: RequiredFieldValidator

8. AccessDataSource Control work with which of the following file types?

  1. .mdf file
  2. .mpd file
  3. .myd file
  4. .mdb file

Answer: .mdf file

9. Which type of validation is used to check password and confirm password in a login form?

  1.  RangeValidator
  2. CompareValidator
  3. CustomValidator
  4. RequiredFieldValidator

Answer: CompareValidator

10. Using Custom Validator server control____________

  1. a developer can sreate pop up menu
  2. a developer can compell users to fill all the required fields
  3. a developer can write custom validation function as needed
  4. none of these above

Answer: a developer can write custom validation function as needed

11. Which protocol is used to transfer files from localhost to remote host?

  1.  FTP
  2. TCP
  3. HTTP
  4. UDP

Answer: FTP

12. Which webserver is developed by Microsoft?

  1. Caudium
  2.  Internet Information Services (IIS)
  3. Apache Tomcat
  4. WEBrick

Answer: Internet Information Services (IIS)

13. Which type of validation is used to check an email address entered by the user is matches to email pattern?

  1. Custom Validator
  2. Range Validator
  3. Regular Expression Validator
  4. ValidationS ummary

Answer: Regular Expression Validator

14. In ASP.NET Client-Side validation is possible with____________

  1. DHTML
  2. HTML
  3. XHYML
  4. HTML5

Answer: DHTML

15. ValidationSummary control in a webpage__________

  1. shows all the error messages from the validators in one specific spot on the page
  2. shows all the error messages from the validators via email
  3. shows all the error messages from the validators in the next page
  4. None of these

Answer: shows all the error messages from the validators in one specific spot on the page

16.  Which type of validation is used to ensure that the value entered by an user is within the specific range?

  1. ValidationSummary
  2. CustomValidator
  3. RangeValidator
  4. None of these

Answer: RangeValidator

17. Which commands are used to specify settings of an .aspx file?

  1. Directives
  2. Class
  3. Validation
  4. Events

Answer: Directives

18.  A module which is a collection of functions and data, designed to be used by another application is called_______

  1. DLL
  2. Abandon
  3. PICS
  4. LCID

Answer: DLL

19. Using which type of stylesheet we can change the style of an element in the entire website?

  1. External Stylesheet
  2. Inline stylesheet
  3. Internal Stylesheet
  4. None of above

Answer: External Stylesheet

20. What are the ways to set Display property of validation controls to display error messages in case of client validation?

  1. Dynamic
  2. Static
  3. All of above
  4. None of above

Answer:  All of above

21. Which of the following directive is used to link an assembly to a page or user control?

  1. @Import
  2. @Page
  3. @Reference
  4. @Assembly

Answer: @Assembly

22. Which type of validation works with exceptions that is thrown if an error occurs when a value is edited or when a new value is inserted into the data model?

  1.  RegularExpressionValidator
  2.  DynamicValidator
  3.  RangeValidator
  4. CustomValidator

Answer: DynamicValidator

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

  1. Load
  2. Init
  3. Disposed
  4. Import

Answer: Import

24. The method applied to change the styles of the elements in a ASP.NET webpage is called_____

  1. child page
  2. master page
  3.  UTF-8
  4. cascading style sheets

Answer: cascading style sheets

25. Validation control displays error messages using which of the following methods?

  1. Summary
  2. Inline
  3. In place and summary
  4. All of above

Answer: All of above

26. Which of the following is the common property of web server controls that assigns a small piece of text when a mouse pointer is held over the control for a short period of time?

  1. ToolTip
  2. skinID
  3. Accesskey
  4. TabIndex

Answer: ToolTip

27. In ASP.NET application DLL files are stored in_____________

  1. App_Data
  2. App_LocalResources
  3. App_Code
  4. Bin

Answer: Bin

28.  In ASP.NET web application configuration settings are defined in____________

  1.  machine.config
  2. System.config
  3. ProcompiledApp.config
  4. Web.config

Answer: Web.config

29. In which of the following folder source code such as class, dataset etc. are stored?

  1. App_Themes
  2. App_Data
  3. App_WebReferences
  4. App_Code

Answer: App_Code

30. The @Implements directive_____________

  1. assigns a class or virtual path used to type the Master property of a page
  2. imports a namespace into current page page or user control
  3. indicates that a page or user control implements a specified .NET Framework interface
  4. None of these above

Answer: indicates that a page or user control implements a specified .NET Framework interface.

Follow our dailyrecruitment site regularly to get more general knowledge (gk), central government jobs/state government jobs/private jobs, previous questions paper etc.