BCA 5th Semester
Dot Net Technology 2025 Board Question Paper - Tribhuvan University (TU) 2025

Views: ...
Get $5 FREE AI Credits
Tribhuvan University official logo

Tribhuvan University

Faculty of Humanities & Social Science
OFFICE OF THE DEAN
TUpapers.com TUpapers.com

Bachelor In Computer Application

Course Title: Dot Net Technology

Code No: CACS 302

Semester: V

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 B
Attempt any SIX question.
[6x5=30]
2.

What are services provided by CLR? Write a C# program to implement any four method of Console class. [2+3]

3.

Explain the difference between static and instance constructors with suitable example. [5]

4.

What is compile-time polymorphism? Write a C# program to implement method overloading concept by computing area of square and circle. [1+4]

5.

What is parameter? Write a C# program to demonstrate the difference between call by value and call by reference by modifying an integer variable using two separate methods. [1+4]

6.

Differentiate between abstract class and interface in C#? Write a C# program to develop console calculator application (only for addition, subtraction and division) using multiple inheritance. [2+3]

7.

What is indexer? Write a C# program to display the BCA 5th semester subject name using indexer. [1+4]

8.

What are pre-built generic delegate? Write a C# program that reads a list of numbers from the user (comma-separated). Convert the inputs into integers and calculate their sum. Use exception handling to catch FormatException for invalid numbers and OverflowException for numbers too large. Display meaningful messages for each exception. [1+4]

Group C

Attempt any TWO questions

[2x10=20]
9.

Explain why operator overloading methods in C# must be declared as static. What happens if you try to declare them as instance methods? Write a C# program to create a class Box with properties Length, Width, and Height. It should have constructor to initialize Length, Width, and Height and methods volume(), surfaceArea() to compute volume and area of box. overload following operators
• < (To compare two boxes based on their volumes.)
• == (To check if two boxes have exactly the same dimensions.)
• & (To perform bitwise AND operation of box area.) [1+1+8]

10.

Which namespace is used for accessing data? Explain method of each key components of ADO.NET. Assume a database name CompanyDB containing Employee table(Eid, Name, Department, Salary).Write a c# program to connect to the database and insert 5 employee records and display the employee record from CompanyDB database having highest and lowest salary. [1+4+5]

11.

What is validation control in web development? Explain various control for validation in ASP.NET with suitable program [2+8]