0% found this document useful (0 votes)
20 views5 pages

ASP NET Units 1 To 4 Questions

The document is a question bank for ASP.NET covering Units 1 to 4, including topics such as introduction to ASP.NET, web controls and validation, database access, and state management. Each unit contains knowledge-level, understanding-level, application-level, analysis & evaluation-level, and creation/project-level questions. The questions aim to assess both theoretical understanding and practical application of ASP.NET concepts.

Uploaded by

g93758762
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views5 pages

ASP NET Units 1 To 4 Questions

The document is a question bank for ASP.NET covering Units 1 to 4, including topics such as introduction to ASP.NET, web controls and validation, database access, and state management. Each unit contains knowledge-level, understanding-level, application-level, analysis & evaluation-level, and creation/project-level questions. The questions aim to assess both theoretical understanding and practical application of ASP.NET concepts.

Uploaded by

g93758762
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

ASP.

NET Unit 1 to 4 - Question Bank

Unit 1: Introduction to ASP.NET - Knowledge-Level Questions

1. What is ASP.NET?

2. List the features of ASP.NET.

3. Define the .NET framework.

4. What are the advantages of using ASP.NET over classic ASP?

5. What is the role of CLR in ASP.NET?

Unit 1: Introduction to ASP.NET - Understanding-Level Questions

1. Explain the architecture of ASP.NET.

2. Differentiate between ASP and ASP.NET.

3. Describe the life cycle of an ASP.NET web page.

4. What is the role of IIS in ASP.NET applications?

Unit 1: Introduction to ASP.NET - Application-Level Questions

1. Create a simple ASP.NET web page that displays 'Hello World'.

2. Write a program to demonstrate the use of server controls in ASP.NET.

3. Design a web form to accept user details and display them.

Unit 2: Web Controls and Validation - Knowledge-Level Questions

1. What are web controls in ASP.NET?

2. List different types of web controls.

3. What is a validation control in ASP.NET?

4. Define AutoPostBack property.

5. What is the use of ViewState?

Unit 2: Web Controls and Validation - Understanding-Level Questions


1. Explain the difference between server controls and HTML controls.

2. Describe the use of different validation controls in ASP.NET.

3. How does the DropDownList control work in ASP.NET?

4. What are the advantages of using validation controls?

Unit 2: Web Controls and Validation - Application-Level Questions

1. Create a registration form using validation controls in ASP.NET.

2. Write ASP.NET code to demonstrate the use of CheckBoxList.

3. Design a form with required field validation and compare validator.

Unit 3: Database Access in ASP.NET - Knowledge-Level Questions

1. What is ADO.NET?

2. Define the role of a Data Provider in ADO.NET.

3. What is a DataSet in ADO.NET?

4. List the components of ADO.NET architecture.

5. What is a DataAdapter in ADO.NET?

6. What is the use of a Command object in ADO.NET?

7. Define a DataReader and its advantages.

Unit 3: Database Access in ASP.NET - Understanding-Level Questions

1. Explain how ADO.NET supports disconnected data access.

2. Differentiate between DataReader and DataAdapter.

3. Describe the steps to connect to a database using ADO.NET.

4. What is the use of CommandBuilder in ADO.NET?

5. Explain how to execute a stored procedure using ADO.NET.

6. Discuss the role of connection string in database connectivity.

Unit 3: Database Access in ASP.NET - Application-Level Questions


1. Write code to insert a record into a SQL Server database using ADO.NET.

2. Demonstrate how to use a DataReader to read data from a database.

3. Create an application that displays data using DataAdapter and DataSet.

4. Show how to update and delete records using ADO.NET.

5. Write code to retrieve data using a stored procedure with parameters.

Unit 3: Database Access in ASP.NET - Analysis & Evaluation-Level Questions

1. Compare connected and disconnected architecture in ADO.NET.

2. Analyze the role of DataSet in handling multiple tables from a database.

3. Evaluate the performance of DataReader vs. DataAdapter for data retrieval.

4. Discuss the limitations of ADO.NET in enterprise-level applications.

Unit 3: Database Access in ASP.NET - Creation/Project-Level Questions

1. Design a student management system using ADO.NET with CRUD operations.

2. Create an ASP.NET application that retrieves and updates employee records using ADO.NET.

3. Develop a web form that displays data in a GridView using ADO.NET and allows editing.

4. Build a database-driven application using CommandBuilder for automatic SQL command

generation.

Unit 4: State Management & Configuration - Knowledge-Level Questions

1. What is state management in ASP.NET?

2. Define cookies. How are they used in ASP.NET?

3. What is a session in ASP.NET?

4. Explain the purpose of the web.config file.

5. What is a query string? Give an example.

6. What is the scope of session variables in ASP.NET?

7. Name different types of error handling available in ASP.NET.

8. Define sitemap and its role in website navigation.


Unit 4: State Management & Configuration - Understanding-Level Questions

1. Explain the difference between client-side and server-side state management.

2. Describe how session management works in a web application.

3. How does the ViewState maintain data between postbacks?

4. What are the advantages and disadvantages of using cookies for state management?

5. Differentiate between Application state and Session state.

6. Explain how configuration settings are applied using web.config.

7. What is the use of <customErrors> in web.config?

Unit 4: State Management & Configuration - Application-Level Questions

1. Write ASP.NET code to store and retrieve a user's name using session variables.

2. Create a login form that uses cookies to remember the user.

3. Design a sitemap file for a website with "Home", "About Us", and "Contact" pages.

4. Create a simple application that stores a user's language preference using ViewState.

5. Demonstrate how to handle runtime exceptions using Try-Catch blocks in ASP.NET.

Unit 4: State Management & Configuration - Analysis & Evaluation-Level Questions

1. Compare ViewState, Session, and Cookies in terms of storage location, lifespan, and use cases.

2. Analyze the pros and cons of storing session state InProc vs. SQLServer.

3. Evaluate the impact of improper session handling in web applications.

4. Discuss the security risks associated with query strings and how to mitigate them.

5. Analyze the difference between web.config and machine.config files.

Unit 4: State Management & Configuration - Creation/Project-Level Questions

1. Design a shopping cart application that uses session to store selected products.

2. Create an ASP.NET application with error logging and custom error messages.

3. Develop a user profile form that maintains state using ViewState and Session.

4. Create a dynamic navigation menu using Sitemap and SiteMapPath controls.


5. Build a multilingual website interface where language selection is stored using cookies.

You might also like