Tribhuvan University
Bachelor of Computer Application
Semester 5 · TU Board 2024
Course Title: Dot Net Technology (CACS302)
Full Marks: 60Pass Marks: 24Time: 3 hours
Candidates are required to answer the question in their own words as far as possible.
Group B
Attempt any SIX question.(6 × 5 = 30)
- 2.5
What is the importance of Garbage collection in .NET framework? Explain .NET Framework architecture with suitable diagram.
- 3.5
What is variable size array? Write a C# program to create multidimensional array to store the marks of three student in different subjects. First student has marks of 3 subjects, Second student has marks of 4 subjects and Third student has marks of 2 subjects. Display the subject marks and average marks for each student.
- 4.5
Explain concept of static class and static constructor with suitable program.
Answer comingAlso asked in 2021
- 5.5
What is named argument? Explain with suitable program, how to create alias for namespace in C#?
- 6.5
What is static binding? Write a C# program to add and subtract two complex number using binary operator overloading.
- 7.5
Why Delegate is used in C#? Write a C# program to select odd and divisible by 3 number from list of number (1-30) using LINQ query.
- 8.5
Write short notes on : (any two) a) Copy constructor b) Indexer c) Lambda Expression
Group C
Attempt any TWO questions(2 × 10 = 20)
- 9.10
Differentiate between struct and enum. Why do we need to handle the exception? Illustrate with an example with your own customized exception.
- 10.10
Define generics. Explain it with proper example. How virtual method is used to achieve dynamic binding in C#? Explain with the help of suitable program.
Answer comingAlso asked in 2020
- 11.10
What are differences 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.
— The End —