Loading...
QUIZ

Certification Test

 
Que No. 1 ) What is the purpose of the ValidationSummary control in ASP.NET?

A.) Displaying a summary of all validation errors on a page
B.) Creating a summary of database records
C.) Managing user authentication
D.) Defining page layouts


Que No. 2 ) What does ORM stand for in the context of ASP.NET?

A.) Object-Relational Mapping
B.) Object-Resource Model
C.) Object-Rendering Module
D.) Object-Request Middleware


Que No. 3 ) Which of the following is a valid method for handling exceptions in ASP.NET?

A.) try-catch blocks
B.) errorHandling element in Web.config
C.) Redirecting to a custom error page
D.) All of the above


Que No. 4 ) What is the purpose of the ViewState in ASP.NET Web Forms?

A.) To store user authentication data
B.) To store session data
C.) To maintain the state of server controls between postbacks
D.) To manage routing and URLs


Que No. 5 ) Which of the following is NOT a valid ASP.NET server control for data input?

A.) TextBox
B.) CheckBox
C.) Label
D.) DropDownList


Que No. 6 ) What is the role of the authorization element in the Web.config file?

A.) Defining page layouts
B.) Configuring authentication settings
C.) Managing database connections
D.) Specifying access control rules


Que No. 7 ) Which namespace is commonly used for working with databases in ASP.NET?

A.) System.Web
B.) System.Data
C.) System.IO
D.) System.Xml


Que No. 8 ) What is the purpose of the Page_Load event in ASP.NET Web Forms?

A.) Handling button clicks
B.) Initializing page controls and data
C.) Displaying validation errors
D.) Configuring authentication settings


Que No. 9 ) Which control is used to authenticate users in an ASP.NET application?

A.) TextBox
B.) LoginView
C.) GridView
D.) Label


Que No. 10 ) What is the purpose of the ViewStateUserKey property in ASP.NET?

A.) To store user authentication data
B.) To protect against cross-site request forgery (CSRF) attacks
C.) To manage session data
D.) To define custom error pages