TRIBHUVAN UNIVERSITY
INSTITUTE OF SCIENCE AND TECHNOLOGY
2080 B.S.
Candidates are required to give their answers in their own words as far as practicable.
Group A
Long Answer QuestionsAttempt any Two questions.
- 1How 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. a. Update the Price of those Book to 2000 which are published on 2022. b. Delete the Book which are published in 1981 c. Retrieve the Brand of Book having price greater than 500
- 2How do you manage state on stateless HTTP? How do you validate form using JQuery? Describe with your own assumptions.
- 3What are the needs for partial class and sealed class? How do you relate delegate with events? State the steps to deploy .NET core applications.
Group B
Short Answer QuestionsAttempt any Eight questions.
- 4Describe the importance of MVC pattern in designing web applications.
- 5How do you create controller? Mention some requirements for rendering HTML.
- 6What is the role of adapter class in ADO.NET? List some features of URL routing.
- 7Explain the chances of SQL injection attack with a scenario.
- 8Define claim and policy in terms of authorization. How and when do you create hidden fields?
- 9Mention the two types of services managed by IoC container and how they are registered?
- 10Differentiate between generic and non-generic collections. Write a simple program to create generic class with generic constructor, generic member variable, genericproperty and generic method.
- 11What are tag helpers? What tag helper provides?
- 12Write short notes on (Any TWO) a. Lambda Expression b. Cross Site Request Forgery c. Single Page Application