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

ASP.NET Programming Question Bank

Uploaded by

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

ASP.NET Programming Question Bank

Uploaded by

shift2cs22
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

SOKA IKEDA COLLEGE OF ARTS AND SCIENCE FOR WOMEN

DEPARTMENT OF COMPUTER SCIENCE – SHIFT II


QUESTION BANK

COURSE: PROGRAMMING IN [Link] CODE: 325C6A


YEAR: III SEMESTER: VI

UNIT I

PART – A

1. Define .NET Framework.


2. What is Common Language Runtime (CLR)?
3. List any two services provided by CLR.
4. What is Framework Class Library (FCL)?
5. What is Managed code?
6. What is Intermediate Language (IL)?
7. Define Just-In-Time (JIT) compiler.
8. Define C#.
9. What is a class?
10. Define array.
11. What is a string in C#?
12. Mention any two string operations.

PART – B

1. Explain the architecture of .NET Framework.


2. Describe the role of CLR in .NET.
3. Explain the components of CLR.
4. Describe the Framework Class Library (FCL).
5. Explain looping statements in C# with examples.
6. Describe creating and using objects in C#.
7. Explain arrays in C# with example.
8. Describe string operations in C#.

PART – C

1. Explain the .NET Framework architecture in detail with neat diagram.


2. Describe the Common Language Runtime (CLR) and its services.
3. Explain the Framework Class Library (FCL) and its significance.
4. Explain string operations in C# with suitable examples.
5. Write a C# program demonstrating conditional and looping statements.
6. Write a C# program to demonstrate array and string operations.
UNIT II

PART – A

1. Define [Link].
2. What is [Link] IDE?
3. List any two languages supported by [Link].
4. What is a Web Application?
5. Define [Link] components.
6. What is the difference between HTML controls and Web server controls?
7. What are List controls?
8. List any two List controls in [Link].
9. Define DropDownList control.
10. What is ListBox control?
11. Write any two properties of List controls.
12. Write any two events of List controls

PART – B

1. Explain [Link] and its features.


2. Describe the [Link] IDE.
3. Explain the languages supported by [Link].
4. Describe the components of [Link].
5. Explain the working of Web Forms.
6. Explain standard Web Form controls with examples.
7. Describe the properties and events of Web Form controls.
8. Explain Button, Label, and TextBox controls with properties and events.
9. Explain the use of HTML controls in [Link].
10. Explain List controls in [Link].
11. Describe DropDownList and ListBox controls.
12. Explain the properties of List controls.
13. Describe the events of List controls with examples.

PART – C

1. Explain [Link] architecture and components in detail.


2. Describe the IDE of [Link] and explain how to create a Web Form application.
3. Explain the working of Web Forms with neat diagram.
4. Explain Web Form standard controls along with their properties and events.
5. Describe the difference between HTML controls and Web server controls.
6. Explain TextBox, Label, Button, and CheckBox controls with examples.
7. Explain List controls and their properties and events in detail.
8. Describe DropDownList, ListBox, RadioButtonList, and CheckBoxList controls.
9. Develop an [Link] Web Form using List controls and standard controls.
10. Write an [Link] program demonstrating Web Form controls and List controls.
UNIT III

PART – A

1. What are Rich Controls in [Link]?


2. Write any two examples of Rich Controls.
3. What is Calendar control?
4. Define AdRotator control.
5. What is properties of a control?
6. What is FileShare?
7. What is file uploading?
8. Write any two FileMode values.
9. Write any two FileShare options.

PART – B

1. Explain Rich Controls with examples.


2. Describe the properties and events of Calendar control.
3. Explain the properties and events of AdRotator control.
4. Explain the FileStream class with example.
5. Describe FileMode and FileShare options.
6. Explain reading and writing files in [Link].
7. Explain creating, moving, copying, and deleting files.
8. Describe file uploading in [Link].

PART – C

1. Explain Rich Controls in [Link] and discuss their properties and events.
2. Describe the Calendar and AdRotator controls with suitable examples.
3. Explain file operations such as creating, moving, copying, and deleting files.
4. Explain file uploading in [Link] with program.
5. Develop an [Link] application using validation controls and file upload.
6. Write an [Link] program demonstrating Rich Controls and file handling.
UNIT IV

PART – A

1. Define [Link].
2. What is the purpose of [Link]?
3. What is a database connection?
4. Name the .NET data providers.
5. What is Connection string?
6. What are data controls?
7. List any two data controls in [Link].
8. What is GridView control?
9. Define data binding.
10. What is BoundField?
11. What is TemplateField?
12. What is disconnected architecture?
13. What is the difference between DataReader and DataSet?

PART – B

1. Explain the architecture of [Link].


2. Describe database connections in [Link].
3. Explain connection strings with example.
4. Explain data controls in [Link].
5. Describe the properties of GridView control.
6. Explain data binding techniques in [Link].
7. Differentiate connected and disconnected architecture

PART – C

1. Explain [Link] architecture in detail with neat diagram.


2. Describe database connections and commands in [Link] with examples.
3. Explain data controls and their properties in [Link].
4. Describe GridView, DetailsView, and FormView controls.
5. Explain data binding in [Link] with example.
6. Develop an [Link] application using [Link] to display data.
7. Write an [Link] program to connect database and retrieve data using DataReader and
DataSet.
UNIT V

PART – A

1. What is a GridView control?


2. What is paging in GridView?
3. Define sorting in GridView.
4. What is XML?
5. Name any two XML classes in .NET.
6. What is website security?
7. Define authentication.

PART – B

1. Explain the GridView control and its features.


2. Describe editing and deleting records in GridView.
3. Explain sorting and paging in GridView with example.
4. Describe the important properties and events of GridView.
5. Explain website security in [Link].
6. Describe authentication mechanisms in [Link].
7. Explain authorization techniques in [Link].
8. Describe the steps to create a Web application.

PART – C

1. Explain the GridView control and demonstrate editing, deleting, sorting, and paging operations.
2. Describe the properties, methods, and events of GridView control in detail.
3. Explain website security in [Link] with authentication and authorization.
4. Describe Forms Authentication and role-based authorization in detail.
5. Explain the steps involved in creating a secure Web application.
6. Develop an [Link] Web application using GridView and XML.
7. Write an [Link] application demonstrating authentication, authorization, and GridView
operations.

Common questions

Powered by AI

Key considerations for implementing security in ASP.NET include understanding the differences between various authentication methods, such as Windows, Forms, and Passport authentication, and choosing the appropriate one based on application requirements. Authorization strategies involve determining user roles and permissions, supporting role-based access control to ensure users only access allowed resources. Secure transmission of data using SSL, managing session states securely, and consistently updating security patches are also essential practices. Each decision impacts application performance, user experience, and security .

HTML controls are standard controls found in HTML and are client-side, meaning they run in the user's browser and do not possess any server-side capabilities. They are simple but limited in functionality. On the other hand, Web server controls are part of the ASP.NET framework and run on the server. These controls can maintain state across HTTP requests and have rich functionality like data binding and automatic event handling, making them more powerful and dynamic for building robust web applications .

Integration of XML with ASP.NET optimizes data handling by providing a standardized format for data interchange, which enhances application interoperability. XML is supported by .NET through classes like XmlDocument and XmlReader, offering comprehensive methods for parsing, validating, and transforming XML data. This integration facilitates seamless exchange of structured data between different systems and environments, enabling robust web applications that can interact with a variety of data sources while maintaining data integrity and consistency .

List controls in ASP.NET, such as DropDownList and ListBox, provide a user-friendly interface for selecting items from a list. They are server-side controls that support data binding, allowing dynamic data display and manipulation. Unlike standard controls like TextBox or Label, List controls can present multiple options and provide functionality for selection and processing of selected values. These controls are integral in scenarios where user selection from preset options is needed .

ADO.NET's connected model relies on a persistent database connection to access and manipulate data directly, typically using Connection and Command objects. This model is beneficial for real-time data retrieval but requires robust connection management. In contrast, the disconnected model uses DataSets and DataAdapters, allowing applications to access data independently of the database connection, making it suitable for applications where constant connectivity is impractical. The disconnected model promotes scalability and concurrency while the connected model offers immediate data consistency .

The CLR is essential to the .NET Framework as it provides several key services such as memory management, type safety, exception handling, garbage collection, and security. It enables the execution of code written in different languages by converting it to Intermediate Language (IL), which is then compiled to native code using the Just-In-Time (JIT) compiler. This architecture supports language interoperability and seamless execution of code in the .NET environment .

The FCL enhances .NET applications by providing a comprehensive set of libraries that include pre-coded solutions for many common programming challenges. It offers a broad range of functionalities, from handling data structures to performing I/O operations, supporting connectivity, and enabling the development of Web services and ASP.NET applications. This extensive library simplifies application development and enhances productivity by reducing the need to write repetitive code .

File operations in ASP.NET are managed through classes like FileStream for reading and writing files, facilitating the handling of files directly from the application. The FileUpload control simplifies uploading tasks by integrating client-side interaction with server-side processing, allowing users to upload files seamlessly. These operations are crucial for applications requiring data import/export capabilities or user file submissions, augmenting the application's data interaction potential while ensuring security and performance .

Arrays in C# are collections of items of the same type that are accessible by index, whereas strings represent sequences of characters. The FCL provides extensive support for both types; for arrays, it offers functions for creating, sorting, and manipulating multiple data elements, whereas for strings, it provides a rich set of methods for string operations such as concatenation, comparison, and format manipulation. Arrays can store any data type, whereas strings specifically store text data, offering different methods and properties for handling and processing .

GridView is a powerful ASP.NET control designed for data presentation and manipulation, offering features such as dynamic sorting, paging, editing, and deleting records. Its effectiveness lies in its ability to bind to various data sources easily and provide a comprehensive interface for displaying tabular data. The integrated functionalities of GridView enhance user interaction and data management, making it highly effective for applications that require robust data grid support .

You might also like