CACS302 Dot Net Technology

Dot Net Technology TU Board 2023 question paper

10 questionsSit this paper (timed)

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)

  1. 2.

    What is managed code? Give reason to justify the statement "DOT NET framework is platform independent and Language interoperability".

    5
  2. 3.

    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.

    5
  3. 4.

    What is difference between value type and reference type in C#? Explain the concept of boxing and unboxing with suitable program.

    5
  4. 5.

    What is interface? Explain with suitable program, how interface can be used to perform multiple inheritance?

    5
  5. 6.

    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?

    5
  6. 7.

    What are keyword used in exception handling? Write a C# program to handle IndexOutOfRangeException and InvalidCastException.

    5
  7. 8.

    What is query syntax in LINQ? Explain the standard query operators "select", "contains", "orderBy" and "where" in LINQ with suitable examples.

    5

Group C

Attempt any TWO questions(2 × 10 = 20)

  1. 9.

    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
  2. 10.

    How this keyword is used to declare indexer? Write C# program to overload unary (++) and relational (==) operator.

    10
  3. 11.

    What are component of ASP.NET? Explain various validation server control in ASP.NET with suitable program.

    10

— The End —