Guru Jambheshwar University 2006 M.C.A C Sharp Programming - Question Paper
i E> JUN 2006
Subject Code4383-X
(Fifth Semester)
(Re-appear)
MS-32
C SHARP CU PROGRAMMING
Time: 3 Hours Maximum Marks : 100
Note : Attempt any Five questions. All questions carry equal marks.
1. What are the key benefits of the .NET Framework and the CLR ? What are the drawbacks ?
2. (a) Write a program that finds all of the
prime numbers between 1 and 100.
(b) What is Garbage Collection and how does it work ? What is a destructor ?
3. (a) What is an Indexer ? In an indexer, what
functions must its get and set assessors pen'orm ?
(b) How does a struct differ from a class ?
4. (a) Using interfaces, we can implement
multiple inheritance characteristic in a class. How ? Give an example.
(b) Explain the role of delegates in C# with example.
5. (a) We can write the Main Method in four
different ways. List them state significance of each of them.
(b) What is an Exception ? Describe the tasks involved in handling exceptions. Give some examples.
6. (a) Distinguish between ref and out
parameters with an example.
(b) What is boxing and unboxing ? Give an example.
7. (a) Write a detailed note on operator
overloading with the help of a program,
(b) With the help of a program explain the inheritance feature in C#.
8. What is Polymorphism ? How is runiime polymorphism achieved ? Explain with example.
J-4383-X 3 1,000
Attachment: |
Earning: Approval pending. |