Download .NET and C# question paper. The paper is set by the University of Jammu for session 2021.
Unit 1
- What is a .NET assembly? How to build shared assembly? Explain in detail with a program.
- Discuss how C# and .NET framework play a major role in developing web form and web services.
- Explain the different types of expressions and operators in detail.
Unit 2
- What is the difference between jagged array and two dimensional array? Write a C# program to find the length of the jagged array using predefined functions.
- What is encapsulation? Explain the two ways of enforcing encapsulation with example each.
Unit 3
- Explain the usages of various keywords of exception handling. How events are handled through delegates? Explain with an example.
- What is synchronization? Explain with examples how synchronization is achieved in C#?
Unit 4
- Write a program in C# Sharp to create a file and write an array of strings to the file.
Unit 5
- Explain the architecture of ADO.NET. Which object of ADO.NET has the best performance for retrieving the data?
- Explain briefly about the following features with ADO.NET.
- Updating Databases using Stored Procedures.
- Connecting SQL Server with ADO.NET.
- Explain how a C# code can be compiled and executed. Clearly explain each step.
- Write a window application using C# to display a message box.
- Explain the .NET framework architecture with neat diagram.
- Define C# preprocessor directive. Explain any three directive.
- Difference between throw exception and throw clause.
- Discuss about
- indexes.
- Delegates.
- How does ADO.NET support security?
- What is an interface? List down the features of an interface.
Dr. Sunny is an Assistant Professor in higher education. He has completed his Ph.D. He has a depth of knowledge in the research field and in higher education.