Are you preparing for an ASP.NET university exam? This complete ASP.NET Question Bank includes a systematic collection of MCQs, 1-mark, 2-mark, 3-mark, 4-mark and 5-mark questions categorized by syllabus topics and Bloom’s Taxonomy.
The question bank is intended to help students revise ASP.NET concepts, practice different levels of questions and prepare for university examinations.
The questions cover important topics like ASP.NET Framework, server controls, C# programming, validation controls, state management, Master Pages, Themes and site navigation.
According to Microsoft’s ASP.NET documentation, server controls provide a structured programming model, including server-side events and state management.
Topics Covered
What You’ll Find in This ASP.NET Question Bank
this question bank includes:
- ASP.NET MCQs
- 1-mark questions
- 2-mark questions
- 3-mark questions
- 4-mark questions
- 5-mark questions
- Application-based questions
- Scenario-based questions
- Higher-order thinking questions
- Bloom’s Taxonomy-based questions
- Unit-wise question banks
- ASP.NET practical-oriented questions
- Important revision questions
The higher-mark questions focus increasingly on application, analysis, evaluation and creation, rather than only asking students to recall definitions.
ASP.NET Question Bank – Unit-wise
Let us begin this ASP.Net question bank from Unit 1 – Introduction to .NET. This unit consists of questions from these topics:
- ASP.NET Framework
- Origin of .NET Technology
- Common Language Runtime (CLR)
- Managed and Unmanaged Code
- Common Type System (CTS)
- Common Language Specification (CLS)
- Microsoft Intermediate Language (MSIL)
- Just-in-Time (JIT) Compiler
- Framework Base Classes
- Assemblies – Private Assemblies, Shared Assemblies
- Garbage Collection
Here we go!
Below is a structured question bank.
Unit 1 – Introduction to .NET
Bloom’s Taxonomy Keywords to Use:
| Level | Useful Keywords |
|---|---|
| Remember | Define, List, Name, Identify, State, Recall, Mention |
| Understand | Explain, Describe, Summarize, Discuss, Differentiate |
| Apply | Apply, Demonstrate, Implement, Use, Solve, Illustrate |
| Analyze | Analyze, Compare, Contrast, Examine, Differentiate, Classify |
| Evaluate | Evaluate, Justify, Critique, Assess, Defend, Recommend |
| Create | Design, Develop, Construct, Propose, Formulate, Create |
Multiple Choice Questions – 30
Blooms taxonomy keyword: Remember / Understand
1. What does CLR stand for?
A. Common Language Runtime
B. Common Language Resource
C. Common Level Runtime
D. Common Language Repository
2. Which component is responsible for executing managed code in .NET?
A. CTS
B. CLR
C. CLS
D. MSIL
3. What does CTS stand for?
4. What does CLS stand for?
5. MSIL stands for _____________
6. Which component converts MSIL into native machine code?
A. CLR
B. CTS
C. JIT Compiler
D. CLS
7. Which of the following is a characteristic of managed code?
8. Which component provides automatic memory management?
9. What is an assembly in .NET?
10. Which assembly is intended for use by multiple applications?
11. Which assembly is generally associated with a single application?
12. What is Garbage Collection?
13. Which component provides a common type system for .NET languages?
14. Which component defines language interoperability rules?
15. What is the primary purpose of the .NET Framework?
16. Which language-independent intermediate code is generated by .NET compilers?
17. What happens to MSIL before execution?
18. Which of the following is associated with memory management?
19. What is unmanaged code?
20. Which feature allows different .NET languages to work together?
Understanding/Application-oriented MCQs
21. A C# program is compiled into MSIL. What happens next?
22. If an application needs automatic memory management, which .NET feature provides it?
23. If a developer wants an assembly to be shared by several applications, which type should be considered?
24. Which component enables different programming languages to use common data types?
25. Which component ensures that languages follow a common set of specifications for interoperability?
26. A developer wants code to execute on different platforms supported by the .NET implementation. Which concept is most relevant?
27. Which sequence correctly represents .NET program execution?
28. Which component is most directly involved in converting intermediate code into native code at execution time?
29. Why is Garbage Collection useful in .NET?
30. Which statement best distinguishes managed code from unmanaged code?
1-Mark Questions – 20
Remember – Keywords: Define, State, List, Identify, Name
- Define the .NET Framework.
- State the main objective of the .NET Framework.
- Define CLR.
- State the role of CLR.
- Define managed code.
- Define unmanaged code.
- Expand CTS.
- Expand CLS.
- Expand MSIL.
- What is JIT Compiler?
- What is an assembly?
- Name the two types of assemblies discussed in the syllabus.
- Define Garbage Collection.
- Name the component responsible for executing managed code.
- State the purpose of MSIL.
2-Mark Questions – 15
Understand – Keywords: Explain, Describe, Differentiate, Summarize
- Explain the concept of the .NET Framework.
- Describe the origin and evolution of .NET technology.
- Explain the role of CLR in .NET.
- Differentiate between managed and unmanaged code.
- Explain CTS with a suitable example.
- Explain CLS and its importance.
- Describe MSIL and explain why it is generated.
- Explain the role of the JIT Compiler.
- Differentiate CTS and CLS.
- Explain the concept of an assembly.
- Differentiate private and shared assemblies.
- Explain the purpose of Garbage Collection.
- Describe how CLR supports multiple .NET programming languages.
- Explain how MSIL and JIT work together.
- Summarize the major features of the .NET Framework.
3-Mark Questions – 15
Apply / Analyze – Keywords: Demonstrate, Illustrate, Compare, Analyze, Classify
- Illustrate the execution process of a C# program from source code to machine code.
- Demonstrate the role of CLR in executing a .NET application.
- Compare managed and unmanaged code with suitable examples.
- Analyze the relationship between CTS and CLS.
- Illustrate the role of MSIL in language interoperability.
- Explain and demonstrate how JIT compilation takes place.
- Compare private and shared assemblies.
- Analyze why Garbage Collection is required in managed environments.
- Classify the major responsibilities of CLR.
- Compare the roles of CLR, CTS and CLS.
- Illustrate the complete .NET compilation and execution process.
- Analyze how .NET supports multiple programming languages.
- Demonstrate why MSIL is considered intermediate code.
- Compare automatic memory management with manual memory management.
- Analyze the importance of assemblies in deploying .NET applications.
4-Mark Questions – 15
Analyze / Evaluate – Keywords: Analyze, Compare, Examine, Assess, Justify
- Analyze the architecture of the .NET Framework and explain the role of its major components.
- Compare and analyze CLR, CTS and CLS based on their responsibilities.
- Explain and analyze the complete journey of source code from compilation to execution in .NET.
- Compare managed and unmanaged code with respect to execution, memory management and security.
- Analyze the importance of MSIL and JIT compilation in .NET.
- Examine the role of CLR in providing language interoperability.
- Compare and analyze private and shared assemblies with suitable use cases.
- Assess the importance of Garbage Collection in .NET applications.
- Analyze how CTS helps different .NET languages communicate with each other.
- Examine the relationship between CLS and language interoperability.
- Analyze the advantages of automatic memory management provided by .NET.
- Compare traditional native-code execution with managed-code execution.
- Analyze the role of assemblies in application deployment and version management.
- Assess why MSIL is important for .NET’s language-independent execution model.
- Examine the major features that distinguish the .NET Framework from traditional programming environments.
5-Mark Questions – 15
Evaluate / Create – Keywords: Evaluate, Justify, Design, Develop, Propose
- Explain and analyze the architecture of the .NET Framework with a neat diagram.
- Explain and evaluate the role of CLR, CTS, CLS, MSIL and JIT in the execution of a .NET application.
- Analyze and justify how .NET provides language interoperability using CTS, CLS and CLR.
- Compare and evaluate managed and unmanaged code with suitable examples and use cases.
- Explain and evaluate the complete compilation and execution process of a .NET application.
- Analyze and justify the importance of JIT compilation in the .NET execution environment.
- Compare and evaluate private and shared assemblies. Recommend a suitable assembly type for a reusable component used by multiple applications.
- Explain and analyze Garbage Collection in .NET and evaluate its advantages over manual memory management.
- Design a conceptual flow diagram showing how a C# program is converted into executable machine code in the .NET environment.
- Evaluate the importance of CLR in providing a common execution environment for different .NET languages.
- Analyze and justify why MSIL is generated instead of directly compiling every .NET language into machine code.
- Develop a comparison table showing CLR, CTS, CLS, MSIL and JIT based on their purpose, role and relationship.
- Evaluate the role of assemblies in application deployment, reuse and version management.
- Propose a suitable .NET execution architecture for an application developed using multiple .NET programming languages. Justify your proposal.
- Design and explain a complete conceptual model showing the relationship among managed code, CLR, MSIL, JIT and Garbage Collection.
Scenario-Based / Higher-Order Questions
These are particularly useful because they move students beyond memorization.
Apply
1. A developer writes an application in C#. The compiler generates MSIL. Explain what should happen next for the program to execute.
2. An application needs to automatically manage unused memory. Identify the appropriate .NET mechanism and explain how it helps.
Analyze
3. Two applications need to use the same .NET component. Analyze whether a private or shared assembly would be more appropriate.
4. A developer claims that CTS and CLS perform exactly the same function. Examine this statement and explain whether it is correct.
Evaluate
5. A programmer prefers unmanaged code because it provides direct memory control. Evaluate the advantages and disadvantages of this approach compared with managed code.
6. A developer suggests removing JIT from the .NET execution process. Assess the impact of this decision.
Create
7. Design a diagram showing the complete flow:
C# Source Code → Compiler → MSIL → CLR/JIT → Native Code → Execution
8. Develop a real-world example demonstrating why a shared assembly may be useful in an organization.
Unit 2 – ASP.NET Controls, UI Design & Coding
This question bank is based on the Unit 2: ASP.NET Controls, UI Design & Coding includes following topics:
ASP.NET server controls: Controls, Buttons, TextBoxes, Labels, CheckBoxes, RadioButtons, List Controls, ImageMap Control, Web.config, Global.asax; Programming ASP.NET Web Pages: Web Pages, Data Types and Variables, Statements, Organizing Code, Object-Oriented Programming Basics of C#.
The questions use Bloom’s Taxonomy keywords so that the bank covers Remember, Understand, Apply, Analyze, Evaluate, and Create.
Multiple Choice Questions – 30
Remember / Understand
1. Which ASP.NET control is used to display text on a web page?
A. TextBox
B. Label
C. Button
D. CheckBox
2. Which control is used to accept text input from the user?
A. Label
B. TextBox
C. ImageMap
D. RadioButton
3. Which control is generally used to submit information to the server?
A. Label
B. Button
C. CheckBox
D. ListBox
4. Which control allows the user to select or deselect an option?
A. CheckBox
B. Label
C. TextBox
D. ImageMap
5. Which control is suitable when the user must select one option from a group of options?
A. CheckBox
B. RadioButton
C. TextBox
D. Label
6. Which control displays a list of selectable items?
7. Which ASP.NET control is used to create clickable regions on an image?
8. What is the purpose of the Web.config file?
9. What is the purpose of Global.asax?
10. Which property of a TextBox is commonly used to access the entered text?
11. Which property of a Button specifies the text displayed on it?
12. Which control is appropriate for selecting multiple independent options?
13. What is a data type?
14. What is a variable?
15. Which C# data type is used to store whole numbers?
16. Which C# data type is used to store true or false values?
17. What is a statement in C#?
18. Which programming concept combines data and methods into a single unit?
19. What is a class in C#?
20. What is an object?
Application-Oriented MCQs
21. A registration form needs a field for the student’s name. Which control would be most appropriate?
22. A form asks students to select Male or Female, where only one option should be selected. Which control is appropriate?
23. A form asks students to select multiple hobbies. Which control is appropriate?
24. A developer wants to provide a list of courses from which the user can select one course. Which control is suitable?
25. A website needs different parts of an image to act as hyperlinks. Which control can be used?
26. A developer wants to store application configuration information. Which file should be considered?
27. A developer wants to handle application-level events. Which ASP.NET file is relevant?
28. A program needs to store the age of a student. Which C# data type would normally be suitable?
29. A program needs to execute a group of statements repeatedly. Which programming construct should be considered?
30. A developer wants to create multiple objects with common properties and behavior. Which OOP concept should be used?
1-Mark Questions – 20
Bloom’s Level: Remember
Keywords: Define, State, Name, Identify, List
- Define an ASP.NET server control.
- What is a Button control?
- What is a Label control?
- What is a TextBox control?
- State the purpose of a CheckBox control.
- State the purpose of a RadioButton control.
- Name any two list controls available in ASP.NET.
- What is an ImageMap control?
- State the purpose of
Web.config. - What is
Global.asax? - Define a variable in C#.
- Define a data type.
- Name any four C# data types.
- What is a statement in C#?
- Define a class.
- Define an object.
- What is encapsulation?
- What is inheritance?
- What is polymorphism?
- State the purpose of organizing code in an ASP.NET application.
2-Mark Questions – 20
Bloom’s Level: Understand
Keywords: Explain, Describe, Differentiate, Identify
- Explain the purpose of ASP.NET server controls.
- Explain the use of the Button and Label controls.
- Differentiate between a Label and TextBox control.
- Explain the purpose of a TextBox control with an example.
- Differentiate between CheckBox and RadioButton controls.
- Explain the use of RadioButton controls in a form.
- Explain the purpose of list controls.
- Differentiate between a DropDownList and ListBox.
- Explain the purpose of the ImageMap control.
- Describe the role of
Web.configin an ASP.NET application. - Explain the purpose of
Global.asax. - Differentiate between
Web.configandGlobal.asax. - Explain the concept of data types in C#.
- Explain variables with a suitable C# example.
- Describe different types of statements in C#.
- Explain the importance of organizing code in an ASP.NET application.
- Define a class and object with an example.
- Explain encapsulation in C#.
- Explain inheritance in C#.
- Explain polymorphism in object-oriented programming.
3-Mark Questions – 20
Bloom’s Level: Apply / Analyze
Keywords: Apply, Demonstrate, Illustrate, Compare, Analyze
- Demonstrate how a TextBox and Button can be used to accept and process user input.
- Illustrate the use of Label, TextBox and Button controls in a simple registration form.
- Compare CheckBox and RadioButton controls using suitable real-world examples.
- Demonstrate how a DropDownList can be used to allow a student to select a course.
- Illustrate the use of a ListBox in an ASP.NET application.
- Analyze the difference between single-selection and multiple-selection controls.
- Demonstrate a suitable application of the ImageMap control.
- Analyze the purpose of
Web.configand identify the type of information that can be maintained in it. - Analyze the role of
Global.asaxin an ASP.NET application. - Compare
Web.configandGlobal.asaxbased on their purpose. - Apply suitable C# data types to represent a student’s name, age, percentage, and pass/fail status.
- Demonstrate variable declaration and initialization using C#.
- Illustrate the use of conditional statements in a C# program.
- Apply an appropriate looping statement to display numbers from 1 to 10.
- Analyze the importance of proper code organization in a web application.
- Demonstrate how a class can be used to represent a Student.
- Illustrate the relationship between a class and an object.
- Analyze how encapsulation improves the design of a C# program.
- Compare class and object with a real-world example.
- Demonstrate the use of an object to access members of a C# class.
4-Mark Questions – 20
Bloom’s Level: Analyze / Evaluate
Keywords: Analyze, Compare, Examine, Assess, Differentiate, Justify
- Analyze the major ASP.NET server controls and explain their appropriate use in web forms.
- Compare TextBox, Label and Button controls with respect to their purpose and common properties.
- Compare and analyze CheckBox and RadioButton controls with suitable scenarios.
- Analyze the different list controls and recommend an appropriate control for different user requirements.
- Examine the purpose and working of the ImageMap control.
- Analyze the role of
Web.configin configuring an ASP.NET application. - Examine the role of
Global.asaxin handling application-level events. - Compare and analyze
Web.configandGlobal.asax. - Analyze how different ASP.NET controls can be combined to design a student registration form.
- Assess the importance of server controls in developing interactive ASP.NET web pages.
- Analyze C# data types and variables with suitable examples.
- Compare different categories of C# statements and explain where they are used.
- Analyze how conditional and looping statements help in developing ASP.NET applications.
- Examine the importance of proper code organization in maintaining large applications.
- Compare a class and an object using a real-world example and C# representation.
- Analyze the role of encapsulation in object-oriented programming.
- Examine inheritance and explain how it promotes code reuse.
- Analyze polymorphism and explain its significance in object-oriented programming.
- Compare procedural programming and object-oriented programming in the context of C#.
- Assess the importance of OOP concepts in developing maintainable ASP.NET applications.
5-Mark Questions – 20
Bloom’s Level: Evaluate / Create
Keywords: Evaluate, Justify, Design, Develop, Propose, Construct
- Design an ASP.NET student registration form using appropriate server controls. Explain the purpose of each control.
- Develop a conceptual ASP.NET form using Label, TextBox, RadioButton, CheckBox, DropDownList and Button controls. Explain the purpose of each control.
- Compare and evaluate CheckBox and RadioButton controls and justify their selection for different real-world applications.
- Design an ASP.NET form for employee information and select appropriate controls for name, gender, department, skills and submission.
- Explain and evaluate different ASP.NET list controls and recommend suitable controls for different requirements.
- Explain and analyze the ImageMap control and design a suitable real-world application for it.
- Explain and evaluate the role of
Web.configandGlobal.asaxin an ASP.NET application. - Design a conceptual ASP.NET application architecture showing where
Web.configandGlobal.asaxare used. - Develop a C# program that uses appropriate data types and variables to store and display student information.
- Design a C# program using conditional and looping statements to process student marks and display an appropriate result.
- Analyze and evaluate the importance of data types, variables and statements in developing ASP.NET applications.
- Design a C# class named
Studentcontaining suitable data members and methods. Explain how objects of the class can be created. - Develop a conceptual example demonstrating the relationship between class, object, properties and methods.
- Explain and evaluate the four major OOP concepts—encapsulation, abstraction, inheritance and polymorphism—with suitable C# examples.
- Design a simple object-oriented model for a Student Management System using appropriate classes and objects.
- Evaluate the advantages of using OOP concepts while developing large ASP.NET applications.
- Construct a conceptual ASP.NET page that accepts student details, processes the input and displays the result.
- Design and explain an ASP.NET application in which multiple server controls work together to collect user information.
- Propose an appropriate set of ASP.NET controls for an online course-registration form and justify each selection.
- Develop and explain a complete conceptual solution for an ASP.NET student registration page using controls, C# variables, statements and OOP concepts.
Scenario-Based / Higher-Order Questions
These are valuable for Apply, Analyze, Evaluate and Create levels.
Apply
1. You are developing a student registration form. The form requires Name, Gender, Course, Hobbies and Submit. Select appropriate ASP.NET controls for each field and justify your selection.
2. A user must select exactly one course from ten available courses. Identify and apply the most appropriate ASP.NET control.
3. A user can select several programming languages that they know. Select an appropriate control and explain why.
4. A webpage contains an image of a college campus, and different areas of the image should open different pages. Identify the appropriate ASP.NET control.
Analyze
5. A developer has used CheckBox controls where RadioButtons were required. Analyze the problem and recommend a suitable solution.
6. An application contains configuration information directly inside several ASP.NET pages. Analyze the problem and explain how Web.config can improve the design.
7. An ASP.NET application has become difficult to maintain because all code is placed in one large file. Analyze the problem and suggest suitable code-organization practices.
Evaluate
8. A developer wants to use TextBox controls for every input, including gender and course selection. Evaluate this design and recommend better controls.
9. A developer claims that OOP is unnecessary for small ASP.NET applications. Evaluate this statement with suitable arguments.
10. A programmer has to decide whether to represent a Student as a collection of unrelated variables or as a class. Evaluate both approaches and recommend one.
Create
11. Design a Student Registration System interface using at least five different ASP.NET controls.
12. Develop a conceptual C# class model for a Library Management System containing suitable classes, objects, properties and methods.
13. Design an ASP.NET page that accepts marks of a student, processes them using C# statements and displays the result.
14. Construct a conceptual Employee Registration application using suitable ASP.NET controls and C# OOP concepts.
15. Propose a suitable control layout for an online examination registration form and explain your design choices.
Unit 3 – ASP.NET Validation Controls, State Management & Navigation
Based on the Unit 3 syllabus the topics are as follows:
Validation Controls: Controls, Basic Validation Controls, Validation Techniques, Advanced Validation Controls
State Management: ViewState, Session State, Application State, Cookies, URL Encoding
Master Pages: Creating Master Pages, Content Pages, Nesting Master Pages, Accessing Master Page Controls from Content Pages
Themes: Skin File and CSS
Navigation: Site Navigation, Site Navigation Controls
The questions below deliberately use Bloom’s Taxonomy keywords and cover the complete syllabus.
Multiple Choice Questions – 30
Remember / Understand
1. What is the primary purpose of ASP.NET validation controls?
A. Database management
B. Input validation
C. Page navigation
D. Session creation
2. Which validation control ensures that a required field is not left empty?
A. CompareValidator
B. RequiredFieldValidator
C. RangeValidator
D. CustomValidator
3. Which validation control checks whether a value falls within a specified range?
A. RangeValidator
B. RegularExpressionValidator
C. RequiredFieldValidator
D. ValidationSummary
4. Which validation control compares the value entered in one control with another value or control?
A. RangeValidator
B. CompareValidator
C. CustomValidator
D. RequiredFieldValidator
5. Which validation control is commonly used to validate an email address using a pattern?
A. RangeValidator
B. RegularExpressionValidator
C. CompareValidator
D. ValidationSummary
6. Which control allows developers to implement custom validation logic?
A. CustomValidator
B. RequiredFieldValidator
C. RangeValidator
D. CompareValidator
7. What is the purpose of ValidationSummary?
8. What is state management in ASP.NET?
9. Which state management technique stores information in the page itself?
10. Which state management technique is associated with an individual user’s session?
11. Which state management technique can store information accessible to all users of an application?
12. What is a cookie?
13. What is URL encoding?
14. Which state management technique is generally maintained on the server?
15. Which state management technique is stored on the client side?
16. What is a Master Page?
17. What is a Content Page?
18. What is a nested Master Page?
19. What is a Theme in ASP.NET?
20. What is a Skin File?
Application-Oriented MCQs
21. A registration form must ensure that the user’s name is entered. Which validator should be used?
22. A student must enter marks between 0 and 100. Which validation control is appropriate?
23. A password and confirm-password field must contain the same value. Which validator is appropriate?
24. A website wants to validate an email address according to a specific pattern. Which validator should be considered?
25. A website needs to preserve a control’s value after a postback. Which state-management technique is appropriate?
26. A shopping cart needs to maintain information for an individual user during a visit. Which state-management technique is most appropriate?
27. A website needs to maintain a value that is common to all users. Which state-management technique should be considered?
28. Several pages of a website need the same header, footer and navigation. Which ASP.NET feature is most appropriate?
29. A developer wants to apply a common visual design to several ASP.NET pages. Which feature should be considered?
30. A website needs a structured hierarchy of pages and navigation links. Which ASP.NET feature is appropriate?
1-Mark Questions – 20
Bloom’s Level: Remember
Keywords: Define, State, Name, Identify, List
- Define validation in ASP.NET.
- What is a validation control?
- Name any four ASP.NET validation controls.
- State the purpose of RequiredFieldValidator.
- What is RangeValidator?
- What is CompareValidator?
- State the purpose of RegularExpressionValidator.
- What is CustomValidator?
- What is ValidationSummary?
- Define state management.
- What is ViewState?
- What is Session State?
- What is Application State?
- Define a cookie.
- What is URL encoding?
- Define a Master Page.
- What is a Content Page?
- Define a Theme.
- What is a Skin File?
- What is site navigation?
2-Mark Questions – 20
Bloom’s Level: Understand
Keywords: Explain, Describe, Differentiate, Summarize
- Explain the purpose of validation controls in ASP.NET.
- Explain the working of RequiredFieldValidator.
- Differentiate between RangeValidator and CompareValidator.
- Explain the purpose of RegularExpressionValidator.
- Explain the use of CustomValidator.
- Describe the purpose of ValidationSummary.
- Explain the concept of state management.
- Differentiate between client-side and server-side state management.
- Explain ViewState with a suitable example.
- Explain Session State and its purpose.
- Differentiate between Session State and Application State.
- Explain the purpose of cookies in ASP.NET.
- Explain URL encoding and its purpose.
- Explain the concept of Master Pages.
- Differentiate between Master Page and Content Page.
- Explain nested Master Pages.
- Explain the purpose of Themes in ASP.NET.
- Differentiate between a Skin File and CSS.
- Explain site navigation in ASP.NET.
- Describe the purpose of site navigation controls.
3-Mark Questions – 20
Bloom’s Level: Apply / Analyze
Keywords: Apply, Demonstrate, Illustrate, Compare, Analyze, Classify
- Demonstrate how RequiredFieldValidator can be used in a registration form.
- Apply RangeValidator to validate student marks between 0 and 100.
- Illustrate the use of CompareValidator for password and confirm-password fields.
- Demonstrate how RegularExpressionValidator can be used to validate an email address.
- Compare basic and advanced validation techniques in ASP.NET.
- Analyze the need for server-side validation even when client-side validation is available.
- Illustrate the difference between ViewState and Session State using suitable scenarios.
- Apply Session State to maintain a user’s shopping-cart information.
- Analyze when Application State should be preferred over Session State.
- Demonstrate how cookies can be used to remember a user’s preference.
- Illustrate a situation where URL encoding is required.
- Compare ViewState, Session, Application State and Cookies.
- Demonstrate how a Master Page can provide a common layout for multiple Content Pages.
- Illustrate the relationship between a Master Page and a Content Page.
- Analyze the benefits of using nested Master Pages.
- Demonstrate how a Content Page can access a control placed on a Master Page.
- Apply a Theme to provide a consistent appearance across multiple pages.
- Illustrate the role of Skin Files in ASP.NET Themes.
- Analyze the importance of site navigation in a multi-page web application.
- Demonstrate how navigation controls can be used to create a structured website menu.
4-Mark Questions – 20
Bloom’s Level: Analyze / Evaluate
Keywords: Analyze, Compare, Examine, Assess, Justify, Differentiate
- Analyze the different ASP.NET validation controls and explain their appropriate use.
- Compare and analyze RequiredFieldValidator, RangeValidator and CompareValidator.
- Examine the role of RegularExpressionValidator in validating structured input.
- Analyze the advantages and limitations of CustomValidator.
- Assess the importance of validation in preventing incorrect user input.
- Analyze client-side and server-side validation techniques.
- Compare and analyze ViewState, Session State, Application State and Cookies.
- Analyze the advantages and limitations of ViewState.
- Compare Session State and Application State with suitable real-world scenarios.
- Examine the advantages and limitations of cookies for state management.
- Analyze the role of URL encoding in transferring information through URLs.
- Assess how appropriate state-management selection can affect an ASP.NET application’s performance and behavior.
- Analyze the architecture and purpose of Master Pages and Content Pages.
- Compare Master Pages and Themes based on their purpose.
- Examine the advantages of nested Master Pages in large websites.
- Analyze how a Content Page can access controls defined in a Master Page.
- Compare and analyze Skin Files and CSS in ASP.NET website design.
- Assess the importance of consistent Themes in web application design.
- Analyze the role of site navigation controls in a multi-page ASP.NET application.
- Examine how Master Pages, Themes and Navigation can work together to create a consistent website.
5-Mark Questions – 20
Bloom’s Level: Evaluate / Create
Keywords: Evaluate, Justify, Design, Develop, Construct, Propose
- Explain and analyze the different ASP.NET validation controls with suitable examples and use cases.
- Design an ASP.NET registration form using RequiredFieldValidator, RangeValidator, CompareValidator and RegularExpressionValidator. Explain the purpose of each validator.
- Evaluate the importance of input validation in web applications and justify the use of different validation controls for different input requirements.
- Design a validation strategy for an online examination registration form and select appropriate validators for each field.
- Compare and evaluate client-side and server-side validation and justify when each approach should be used.
- Explain and evaluate ViewState, Session State, Application State and Cookies with suitable scenarios.
- Design a state-management strategy for an online shopping application. Justify which technique should be used for user preferences, shopping cart information and application-wide data.
- Evaluate the advantages and limitations of ViewState and Session State in ASP.NET applications.
- Analyze and justify the use of Cookies and URL encoding in web applications.
- Design a conceptual ASP.NET application demonstrating the use of ViewState, Session and Application State for different requirements.
- Design a Master Page containing a common header, navigation menu and footer, and explain how Content Pages can use it.
- Develop a conceptual website structure using a Master Page and multiple Content Pages. Explain the relationship between them.
- Design and explain a nested Master Page structure for a college website having common university-level and department-level layouts.
- Evaluate the advantages of Master Pages over designing the same layout independently on every page.
- Design an ASP.NET Theme using Skin Files and CSS for maintaining a consistent website appearance.
- Compare and evaluate Skin Files and CSS and justify their appropriate use in ASP.NET applications.
- Design a site-navigation structure for a college website containing Home, About, Courses, Faculty, Admissions and Contact pages.
- Explain and evaluate the role of site navigation controls in improving the usability of an ASP.NET website.
- Develop a conceptual design combining Master Pages, Themes and Navigation Controls for a multi-page ASP.NET website.
- Design and explain a complete ASP.NET website architecture that uses validation controls, state management, Master Pages, Themes and navigation features.
Scenario-Based / Higher-Order Questions
These are especially useful for Apply, Analyze, Evaluate and Create levels.
Apply
1. A registration form contains Name, Age, Email, Password and Confirm Password. Select an appropriate validation control for each field and justify your selection.
2. A student enters marks that must be between 0 and 100. Apply a suitable validation technique.
3. A user enters a password and must enter it again for confirmation. Identify and apply the appropriate validator.
4. A shopping website needs to remember items selected by a user during the current visit. Select an appropriate state-management technique.
5. A website wants to remember a user’s preferred language even after the browser is reopened. Identify an appropriate state-management approach.
Analyze
6. A developer uses Application State to store every user’s shopping cart. Analyze whether this is an appropriate choice.
7. A developer stores a large amount of information in ViewState. Analyze the possible impact on the application.
8. A website has ten pages, each containing a separately designed header and footer. Analyze the maintenance problem and recommend an ASP.NET feature.
9. A website has a common college layout but each department needs its own additional layout. Analyze how nested Master Pages could solve the problem.
10. A website has different colors and fonts on every page. Analyze how Themes, Skin Files and CSS could improve consistency.
Evaluate
11. A developer argues that cookies should always be used instead of Session State because cookies are simpler. Evaluate this statement.
12. A developer wants to rely only on client-side validation. Evaluate this approach and justify whether additional validation is required.
13. A website developer proposes creating a separate header and navigation menu for every page. Evaluate the proposal and recommend a better design.
14. A developer uses ViewState to store application-wide information. Evaluate this approach and recommend a suitable alternative.
15. A website has no structured navigation because every page links randomly to other pages. Evaluate the impact on usability and propose a solution.
Create
16. Design a complete validation plan for an online student registration system.
17. Design a state-management model for an e-commerce application showing where ViewState, Session, Application State and Cookies could be used.
18. Construct a Master Page and Content Page hierarchy for a university website.
19. Design a Theme containing common styling requirements for a college website using Skin Files and CSS.
20. Develop a conceptual navigation structure for a five-section educational website using ASP.NET navigation features.
ASP.NET Study Resources
For technical reference, Microsoft’s documentation remains a useful authoritative source for ASP.NET Web Forms concepts, including server controls, validation, Master Pages and navigation.
Follow this link: Microsoft Learn – ASP.NET
What is an ASP.NET Question Bank?
An ASP.NET question bank is a structured collection of questions covering ASP.NET concepts, programming, controls, validation, state management and other syllabus topics.
How many questions are included?
The planned question bank contains 500+ questions across five units, including MCQs, 1-mark, 2-mark, 3-mark, 4-mark, 5-mark and application-based questions.
Are the questions based on Bloom’s Taxonomy?
Yes. Questions are organized using Bloom’s Taxonomy levels such as Remember, Understand, Apply, Analyze, Evaluate and Create.
Does the question bank contain 5-mark questions?
Yes. Each unit will contain a dedicated collection of 5-mark and higher-order questions.
Is the question bank useful for university examinations?
It is designed for syllabus-based examination preparation, revision and practice. However, no question bank can guarantee the exact questions appearing in an examination.