Tribhuwan University

Institute of Science and Technology

2081.1

Bachelor Level / Third Year / Sixth Semester / Science

Bachelors in Information Technology (BIT351)

(NET Centric Computing)

Full Marks: 60

Pass Marks: 24

Time: 3 Hours

Candidates are required to give their answers in their own words as for as practicable.

The figures in the margin indicate full marks.

Section A

Long Answers Questions

Attempt any TWO questions.
[2*10=20]
1.
Differentiate between error and exception. Write a program to take the input for any five subjects and throw the exception if the given marks is negative or exceed 100.[10]
2.
What do you mean by dependency injection and IOC container? Describe the methods for creating controller and action with example.[10]
3.
Why do we need reader and adapter class? Using ADO.NET, in a relation BOOK (id, author, name, price), delete the books having price less than 500.[10]
Section B

Short Answers Questions

Attempt any Eight questions.
[8*5=40]
4.
Explain about MSIL and CLR. [5]
5.
Describe the MVC pattern in ASP.NET. [5]
6.
How do you create form using React? Illustrate with an example. [5]
7.
Define cookies. What are the uses of hidden fields? [5]
8.
Why do we need to validate form in client side? Justify with an example. [5]
9.
Illustrate the concept of SQL injection with an example. [5]
10.
What is the use of session state? Discuss about single page application. [5]
11.
Define JSON. What is the use of base keyword? Give an example. [5]
12.
List the uses of docker. How do you secure controller and action methods? [5]