Tribhuvan University
Bachelor of Computer Application
Semester 5 · TU Board 2023
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 managed code? Give reason to justify the statement "DOT NET framework is platform independent and Language interoperability".
- 3.5
What is optional parameter? Write a C# program which stores values in two enumerations, Department and College. It uses two functions to display the data contained in Department and College enumerations.
- 4.5
What is difference between value type and reference type in C#? Explain the concept of boxing and unboxing with suitable program.
- 5.5
What is interface? Explain with suitable program, how interface can be used to perform multiple inheritance?
Answer comingAlso asked in 2021
- 6.5
What are use of finalizer in C#? Explain with suitable program, how base keyword is used to call member function and constructor of parent class?
- 7.5
What are keyword used in exception handling? Write a C# program to handle IndexOutOfRangeException and InvalidCastException.
- 8.5
What is query syntax in LINQ? Explain the standard query operators "select", "contains", "orderBy" and "where" in LINQ with suitable examples.
Group C
Attempt any TWO questions(2 × 10 = 20)
- 9.10
a) What is an event? Explain with suitable program, how event is handled in C#. b) What is Lambda expression? Explain the concept of generic delegates with suitable program.
- 10.10
How this keyword is used to declare indexer? Write C# program to overload unary (++) and relational (==) operator.
- 11.10
What are component of ASP.NET? Explain various validation server control in ASP.NET with suitable program.
Answer comingAlso asked in 2025, 2023
— The End —