CSC367 NET Centric Computing

NET Centric Computing Model question question paper

14 questionsSit this paper (timed)

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. 1.

    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.

    10
  2. 2.

    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.

    10
  3. 3.

    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.

    10

Group B

Attempt any EIGHT questions.(8 × 5 = 40)

  1. 4.

    What are indexers in C#? How are they different from properties? Explain with an example.

    5
  2. 5.

    Explain the async/await pattern in C#. Why is asynchronous programming important in web applications? Provide a simple example.

    5
  3. 6.

    Describe the ASP.NET Core architecture overview. How does it differ from traditional ASP.NET framework architecture?

    5
  4. 7.

    What is model binding in ASP.NET Core? Explain server-side model validation with data annotations.

    5
  5. 8.

    Explain the role of Connection, Command, Reader, and Adapter classes in ADO.NET. How do they work together to perform database operations?

    5
  6. 9.

    What is TempData? How is it different from Session state and ViewData? When would you use TempData over other state management techniques

    5
  7. 10.

    Explain the use of Cache as a server-side state management strategy. What are the benefits of caching in web applications?

    5
  8. 11.

    Compare Angular and React frameworks for building Single Page Applications (SPA) with ASP.NET Core backend. What are the advantages and disadvantages of each?

    5
  9. 12.

    What is ASP.NET Core Identity? Explain the process of adding authentication to an application and configuring identity services.

    5
  10. 13.

    What is the ASP.NET Core Module? How does it work with IIS to host ASP.NET Core applications?

    5
  11. 14.

    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
    5

— The End —