Dot Net Technology — CACS302 (5th Sem)

Tribhuvan University BCA · 5th Semester · CACS302 · 2024

Extracted text (for search)

Plain text pulled from the file — layout, tables and diagrams don't survive extraction. For the real thing, use the viewer above.

¢ ° : i Tribhuvan University XO Faculty of Humanities & Social Sciences LE sof NS OFFICE OF THE DEAN Vv 2024 Bachelor in Computer Applications ks: 60 Course Title: Dot Net Technology Full Ree a Code No: CACS 302 Eee : Semester: V Time: 3 hours ible. Candidates are required to answer the questions in their own words as far as poss! Group B (6x5 = 30] Attempt any SIX questions. : ce, <c ame 2. What is managed code? Give reason to justify the statement DOT NET fr. > = ues 1 platform independent and Language interoperability”. [ : ions, 3. What is optional parameter? Write a C# program which stores values in two enumera : ined i artmen Department and College. It uses two functions to display the data contained in Dep P 1+ and College enumerations. [ a 4. What is difference between value type and reference type in C#? Explain the concept 0 24+3 boxing and unboxing with suitable program. [2+3] a : © 5.. What is interface? Explain with suitable program, how interface can be used to perform multip 5¥ inheritance? [1+4] be 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? f1+4] 7,/What are keyword used in exception handling? Write a C# program to handle IndexOutOfRangeException and InvalidCastException. [1+2+2] 8Y/ What is query syntax in LINQ? Explain the standard query operators "select", "contains", | "orderBy” and "where" in LINQ with suitable example [1+4] Group C Attempt any TWO questions. [2x10 = 20] 9. a) What is an event? Explain with suitable program, how event is handled in C#. [1+4] b) What is Lambda expression? Explain the concept of generic delegates with suitable program. [1+4] 10. How this keyword is used to declare indexer? Write C# program to overload unary (++) and relational (= =) operator. [2444] 11. What are component of ASP.NET? Explain various validation server control in ASP.NET with suitable program. 248)

More 5th Semester

comments