Tribhuvan University
Bachelor of Science in Computer Science and Information Technology
Semester 6 · Model question
Course Title: NET Centric Computing (CSC367)
Full Marks: 60Pass Marks: 24Time: 3 hours
Candidates are required to give their answers in their own words as far as practicable. The figures in the margin indicate full marks.
Group A
Attempt any TWO questions.(2 × 10 = 20)
- 1.10
What is the difference between abstract class, interface, and sealed class? When would you use each? Write a program demonstrating the use of abstract class with abstract methods and sealed class to prevent inheritance.
- 2.10
What are different Action Result Types in ASP.NET Core MVC? Explain with examples. Design an API Controller that returns JSON response for a Product entity (ProductId, Name, Price, Category) with GET, POST, PUT, and DELETE operations.
- 3.10
Differentiate between .NET, .NET Core, and Mono frameworks. Explain the compilation and execution process of .NET applications covering CLI, MSIL, and CLR. Discuss different hosting models for ASP.NET Core applications: IIS, Nginx, Kestrel, and Docker containerization.
Group B
Attempt any EIGHT questions.(8 × 5 = 40)
- 4.5
What are indexers in C#? How are they different from properties? Explain with an example.
- 5.5
Explain the async/await pattern in C#. Why is asynchronous programming important in web applications? Provide a simple example.
- 6.5
Describe the ASP.NET Core architecture overview. How does it differ from traditional ASP.NET framework architecture?
- 7.5
What is model binding in ASP.NET Core? Explain server-side model validation with data annotations.
- 8.5
Explain the role of Connection, Command, Reader, and Adapter classes in ADO.NET. How do they work together to perform database operations?
- 9.5
What is TempData? How is it different from Session state and ViewData? When would you use TempData over other state management techniques
- 10.5
Explain the use of Cache as a server-side state management strategy. What are the benefits of caching in web applications?
- 11.5
Compare Angular and React frameworks for building Single Page Applications (SPA) with ASP.NET Core backend. What are the advantages and disadvantages of each?
- 12.5
What is ASP.NET Core Identity? Explain the process of adding authentication to an application and configuring identity services.
- 13.5
What is the ASP.NET Core Module? How does it work with IIS to host ASP.NET Core applications?
- 14.5
Write short notes on (any two):
- a. File I/O operations in C#
- b. Method hiding vs Method overriding
- c. Publish ASP.NET Core application to Azure cloud
— The End —