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?
- Label
- Textbox
- Hyperlink
- 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?
- Repeater
- GridView
- ListBox
- None of above
Answer: GridView
3. By using which of the following web server control data can be retrieved from a relational database?
- SqlDataSource
- ObjectDataSource
- XmlDataSource
- AccessDataSource
Answer: SqlDataSource
4. Which web server control is used to display advertisements in ASP.NET a webpage?
- Imagemap
- AdRotator
- Image
- Panel
Answer: AdRotator
5. Which of the following webserver control used as container for other server controls in a ASP.NET webpage?
- Panel
- PlaceHolder
- ImageMap
- Table
Answer: Panel
6. By using which of the following attribute, HTML elements are transformed to HTML server control?
- runat=”browser”
- runat=”server”
- runat=”client”
- 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?
- RequiredFieldValidator
- RangeValidator
- CompareValidator
- RegularExpressionValidator
Answer: RequiredFieldValidator
8. AccessDataSource Control work with which of the following file types?
- .mdf file
- .mpd file
- .myd file
- .mdb file
Answer: .mdf file
9. Which type of validation is used to check password and confirm password in a login form?
- RangeValidator
- CompareValidator
- CustomValidator
- RequiredFieldValidator
Answer: CompareValidator
10. Using Custom Validator server control____________
- a developer can sreate pop up menu
- a developer can compell users to fill all the required fields
- a developer can write custom validation function as needed
- 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?
- FTP
- TCP
- HTTP
- UDP
Answer: FTP
12. Which webserver is developed by Microsoft?
- Caudium
- Internet Information Services (IIS)
- Apache Tomcat
- 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?
- Custom Validator
- Range Validator
- Regular Expression Validator
- ValidationS ummary
Answer: Regular Expression Validator
14. In ASP.NET Client-Side validation is possible with____________
- DHTML
- HTML
- XHYML
- HTML5
Answer: DHTML
15. ValidationSummary control in a webpage__________
- shows all the error messages from the validators in one specific spot on the page
- shows all the error messages from the validators via email
- shows all the error messages from the validators in the next page
- 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?
- ValidationSummary
- CustomValidator
- RangeValidator
- None of these
Answer: RangeValidator
17. Which commands are used to specify settings of an .aspx file?
- Directives
- Class
- Validation
- Events
Answer: Directives
18. A module which is a collection of functions and data, designed to be used by another application is called_______
- DLL
- Abandon
- PICS
- LCID
Answer: DLL
19. Using which type of stylesheet we can change the style of an element in the entire website?
- External Stylesheet
- Inline stylesheet
- Internal Stylesheet
- 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?
- Dynamic
- Static
- All of above
- 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?
- @Import
- @Page
- @Reference
- @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?
- RegularExpressionValidator
- DynamicValidator
- RangeValidator
- CustomValidator
Answer: DynamicValidator
23. Which of the following is not an ASP.NET page event?
- Load
- Init
- Disposed
- Import
Answer: Import
24. The method applied to change the styles of the elements in a ASP.NET webpage is called_____
- child page
- master page
- UTF-8
- cascading style sheets
Answer: cascading style sheets
25. Validation control displays error messages using which of the following methods?
- Summary
- Inline
- In place and summary
- 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?
- ToolTip
- skinID
- Accesskey
- TabIndex
Answer: ToolTip
27. In ASP.NET application DLL files are stored in_____________
- App_Data
- App_LocalResources
- App_Code
- Bin
Answer: Bin
28. In ASP.NET web application configuration settings are defined in____________
- machine.config
- System.config
- ProcompiledApp.config
- Web.config
Answer: Web.config
29. In which of the following folder source code such as class, dataset etc. are stored?
- App_Themes
- App_Data
- App_WebReferences
- App_Code
Answer: App_Code
30. The @Implements directive_____________
- assigns a class or virtual path used to type the Master property of a page
- imports a namespace into current page page or user control
- indicates that a page or user control implements a specified .NET Framework interface
- 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.