Pre-board examination question paper set for DotNet Technology from the year 2082.

Tribhuvan University
Faculty of Humanities & Social Sciences
OFFICE OF THE DEAN
2025
Bachelor in Computer Applications

Paper detail Value
Course DotNet Technology
Code No. CACS302
Semester Vth
Full marks 60
Pass marks 24
Time 3 hours

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

Group B

2. What is variable size array? Write a C# program to create multidimensional array to store the mark of three students in different subjects. First student has marks of three subjects, and second student has marks of four subjects and Third student has marks of two subjects. Display the subject marks and average marks for each student.

3. Explain value types and reference types? Differentiate call by value and call by reference.

4. What do you mean by property? How it can be used to achieve encapsulation? Explain with suitable program.

5. Write a program to create your own custom exception and handle it.

6. What do you mean by delegate? How delegate change into event? Explain with example?

7. Explain the binary operator over loading with suitable example.

8. What do you mean by lambda expression? Why it is important in C#? Explain with suitable example.

Group C

9. a) Difference between LINQ and SQL with example. b) Difference between static binding and dynamic binding with example?

10. a) What do you mean by form validation in ASP.Net? Explain different types of validation control in ASP.Net? b) Write a C# program to store id, name, age, address and salary of 5 employees in a list? Now write the LINQ query for the following: Select name and address of employee whose name start with letter R and age greater than 25 in descending order based on age. Select all records of employee whose salary is maximum.

11. What are difference between Data Adapter and Data Reader in ADO.NET? Suppose you are hired by a reputed software company which is going to design an application for "Employee Management System". Your responsibility is to design a schema named EMS and create a table named Employee (EmpNo, Name, Email, Phone number, Company, Department, Joining Date, and Salary). Write a program to design a ASP.Net form to take input for this table and insert the data into table, after clicking the Save button.