Professional Documents
Culture Documents
Time : 3 Hours
11)
a)
(ii)
How exceptions are handled in C#? Write c# code for handling DivideByZero
Exception.
(8)
b)
12)
(8).
(OR)
(i) Give an example of method overloading in C#.
(8)
(ii) What are indexers? Give an example of implementation of an indexer. (8)
.
(a) (i) What is inheritance? What are different types?
Write a program to illustrate method overriding.
(ii) What is polymorphism? Illustrate with an example
(8)
(8)
(OR)
b)
(i) What are delegates? Write C# code for creating and implementing a delegate (8)
(ii) What are events?
Illustrate with an example of implementing an even handler in C#. (8)
13. (a) (i) How a linked list is represented in C#? Illustrate with an example the
Implementation of a linked list.
(8)
(ii) What are memory streams? Illustrate with an example
(8)
(OR)
(b) (i) What is multi threading? Illustrate with an example.
(8)
(ii) What is synchronization? Write C# code for illustrating synchronization
14)
15)
(8)
(8)
(8)
(8)
(8)
(8)
(8)
(8)
(8)