CSC367 NET Centric Computing

NET Centric Computing TU Board 2081 question paper

12 questionsSit this paper (timed)

Tribhuvan University

Bachelor of Science in Computer Science and Information Technology

Semester 6 · TU Board 2081

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.

    Distinguish between collection and generics. What are named and positional attribute parameters? Write a program to create your own exception when the user gives subject name than "C#".

    10
  2. 2.

    How do you create controller? Illustrate with an example. Describe the procedure of rendering HTML with Razor with scenario.

    10
  3. 3.

    List some advantages of Entity Framework over ADO.NET. Assume a database named "IOST" with a table FACULTY(Course_Name, CourseID, No_of_Semester, fee). Insert some records using ADO.NET and retrive the fee of records having name CSIT.

    10

Group B

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

  1. 4.

    Describe the procedure of deploying .NET core application.

    5
  2. 5.

    How does ASP.NET core MVC provides patterns-based way to build dynamic website? Explain.

    5
  3. 6.

    Define state management. Explain the parts of state management on the client side.

    5
  4. 7.

    Write a program to validate the form that takes input user name, password and phone number using JQuery. All fields must be non-empty and phone number must contain exactly 10 digits.

    5
  5. 8.

    Distinguish between roles and policies. Explain about Kestrel web server in ASP.NET core.

    5
  6. 9.

    Describe the life cycle of Dependency Injection container.

    5
  7. 10.

    Create a class named EMPLOYEE as super class and ENGINEER and DOCTOR as sub class. Make your own assumptions as properties and methods.

    5
  8. 11.

    What is the task of ORM? Discuss about open redirect attacks.

    5
  9. 12.

    Write short notes on:

    1. Polymorphism
    2. Hidden Field
    5

— The End —