BCA 5th Semester
Dot Net Technology 2021 Board Question Paper

Views: ...
tribhuvan university logo

Tribhuvan university

Bachelor In Computer Application

Course Title: Dot Net Technology

Code No: CACS 302

Semester:V

2021

Full Marks:60 Pass Marks:24 Time:3 hours

Candidates are required to answer the question in their own words as far as possible.

Group A
Group B
Attempt any SIX question.
[6x5=30]
2.

What is CLR? List and explain the feature of CLR.

3.

What do you mean by value type and reference type? Give an example for each.

4.

What is an interface? How interface is used in multiple inheritance? Explain with example.

5.

Why namespace is used in C#? How to create and use the namespace in C#? Explain with example.

6.

What is an Exception? Write a program to generate divide by zero exception and index out of Range exception and also handle these exception.

7.

What is a Query expression? Write a C# program to select Students who are lived in Kirtipur and studied in Patan Multiple Campus using LINQ.

8.

What do you mean by static class and constructor? Explain with suitable example.

Group C

Attempt any TWO questions

[2x10=20]
9.

What do you mean by Operator Overloading? Write a C# program to demonstrate binary and relational operator overloading.

10.

Explain difference between ExecuteReader and ExecuteNonQuery. Provided that a mysql database named "Company" with table named "Product" with following columns (ProductId as int, ProductName as varchar(20), and UnitPrice as float).
Write a C# program to connect to the database and display product records that have UnitPrice is greater than RS. 1000 and update the product record (such as Unit Price 4500) from ProductId whose ProductId=50.

11.

What is web server control in ASP.NET? List five web server control used in ASP.NET. Write a program to create student registration form in one ASP.NET page and display the filled data within another page.