Note: - Attempt all questions. All Questions carry equal marks. In case of any ambiguity or missing data, the same may be assumed and state the assumption made in the answer. .NET Framework and Programming Q 1. Answer any four parts of the following. 5x4=20 a) What is .NET framework? Explain various components of .NET framework. SUBJECT: Human Computer Interfacing b) What do you understand about CLR, CTS, and CLS? Explain relationship between CTS and CLS. c) what is enumeration in C# .Net and defining custom namespaces? d) What is the difference between for loop and foreach loop e) What is the code behind and inline code? f) List out the various value and reference types supported in C#.
Q 2. Answer any four parts of the following. 5x4=20
a) What is a delegate? Illustrate how to define a delegate type in C#. b) Write a C# program to demonstrate hierarchical inheritance. c) What is polymorphism? Explain runtime polymorphism in C# d) Explain how garbage collection works in .NET e) Write ASP.NET code to display selected elements from the Check Box List on a Label control. Elements on the label must be separated by a whitespace. f) Compare ASP with ASP.NET. Q 3. Answer any two parts of the following. 10x2= 20 a) What is indexers? indexer can be overloaded justify your statement with an example. b) How to create a window forms? Discuss various forms events and controls with example. c) Write ASP.NET code to send data entered in two textboxes from one web page to another web page. Display the data on two separate labels. And also explain the authentication modes in ASP.NET for security?
Q 4. Answer any two parts of the following. 10x2= 20
(a) (i) Explain switch statement. What is fallthrough in switch? Is fallthrough permitted in C#? (ii) How to create and use external style sheet using visual studio developer? b) what are errors and exception handling in C# .Net? Explain exception handling with example. c) write a program to implement the concept of inheritance in C#? Q 5. Answer any two parts of the following. 10x2= 20 a) write a program in Visual Basic .Net using C# language to demonstrate multiple catch statements. b) Write short on the following i) Oledbconnection ii) Sql connection iii) Data grid iv) OleDbcommand v) Data Adapter class c) (i) How do you hide a method and override a method? Explain with suitable examples. (ii) Compare abstract and sealed classes