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.
- Question 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
- Question 2How do you manage state on stateless HTTP? How do you validate form using JQuery? Describe with your own assumptions.
- Question 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.
- Question 4Describe the importance of MVC pattern in designing web applications.
- Question 5How do you create controller? Mention some requirements for rendering HTML.
- Question 6What is the role of adapter class in ADO.NET? List some features of URL routing.
- Question 7Explain the chances of SQL injection attack with a scenario.
- Question 8Define claim and policy in terms of authorization. How and when do you create hidden fields?
- Question 9Mention the two types of services managed by IoC container and how they are registered?
- Question 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.
- Question 11What are tag helpers? What tag helper provides?
- Question 12Write short notes on (Any TWO) a. Lambda Expression b. Cross Site Request Forgery c. Single Page Application