Tribhuvan University
Bachelor of Science in Computer Science and Information Technology
Semester 6 · TU Board 2080
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
How do you cache the information of the client and what are its uses? Create a table named BAG(ID, Brand, Price, Date). Perform the following operations using Entity Framework Core.
- Update the Price of those Book to 2000 which are published on 2022.
- Delete the Book which are published in 1981
- Retrieve the Brand of Book having price greater than 500
- 2.10
How do you manage state on stateless HTTP? How do you validate form using JQuery? Describe with your own assumptions.
- 3.10
What are the needs for partial class and sealed class? How do you relate delegate with events? State the steps to depl0y .NET core application.
Group B
Attempt any eight questions.(8 × 5 = 40)
- 4.5
Desribe the importance of MVC pattern in designing web applications.
- 5.5
How do you create controller? Mention some requirements for rendering HTML.
- 6.5
What is the role of adapter class in ADO.NET? List some features of URL routing.
- 7.5
Explain the chances of SQL injection attack with a scenario.
- 8.5
Define claim and policy in terms of authorization. How and when do you create hidden fields?
- 9.5
Mention the two types of services managed by IoC container and how they are registered?
- 10.5
Differentiate between generic and non-generic collections. Write a simple program to create generic class with generic constructor, generic member variable, generic property and generic method.
- 11.5
What are tag helpers? What tag helper provides?
- 12.5
Write short notes on (any two)
- Lambda Expression
- Cross Site Request Forgery
- Single Page Application
— The End —