Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

Validation Controls - ASP.NET Information Technology Questions with Answers

Questions
1 Which of the following validation control is used to ensure that an user does not skip a form entity field?
A CompareValidator
B RequiredFieldValidator
C RangeValidator
D RegularExpressionValidator

Answer: Option [B]
2 Which type of validation is used to check password and confirm password in a login form?
A CustomValidator
B RangeValidator
C CompareValidator
D RequiredFieldValidator

Answer: Option [C]
3 Which type of validation is used to check an email address entered by the user is matches to email pattern?
A RegularExpressionValidator
B RangeValidator
C CustomValidator
D ValidationSummary

Answer: Option [A]
4 Which type of validation is used to ensure that the value entered by an user is within the specific range?
A CustomValidator
B ValidationSummary
C RangeValidator
D None of these above

Answer: Option [C]
5 ValidationSummary control in a webpage
A shows all the error messages from the validators via email
B shows all the error messages from the validators in one specific spot on the page
C shows all the error messages from the validators in the next page
D none of these above

Answer: Option [B]

Computer Science Books

Chapters

Please Like Us
Brand