VTU Previous Year Question Papers BE CS Seventh Semester C # programming and.Net July 2011
VTU Previous Year Question Papers
BE CS Seventh Semester C # programming and.Net July 2011
Note: Answer FIVE full questions, selecting at least TWO questions from each part.
PART – A
1 a. Explain features and building blocks of *Net framework.
b. Write a note on * Net name space.
c. Explain the role of the common intermediate language.
2 a. Discuss the difference between value type and reference types.
b. Explain how CSC * exe compiler is used to build C# application. Explain any five flags with appropriate examples.
c. Write a C# program to demoustrate use of Static and Read- only variables.
3 a. Explain boxing and unboxing with examples.
b. Explain the functions of system object class. Give overriden definition for Tostring( ) and Equals().
Explain the following terms, with an example, with reference to C #.
i) foreach ii) params iii) verbatim.
4 a. What is inheritance? How is it implemented in C#?
b. State and explain the characteristics of abstract classes.
c. Write a program to describe sealed class and sealed method.
5 a. Explain the different methods of file system. GC type.
b. Explain with examples interface hierarchy.
c. What is an interface in C# and how is it different from polymorphism in C++?
6 a. Define the following keywords with program example :
i) try ii) throw iii) catch iv) finally.
b. Why is proper ordering of catch blocks necessary in C#?
c. Write C# application to illustrate handling multiple exceptions.
7 a. What are the main advantages of C# events?
b. What are delegates? Explain the members of system. Multicast delegates : Give a small program to implement multicasting.
c. What are the differences between private assembly and shared assemblies?
8. Write short notes on :
b. Mutable and immutable strings c Enumeration in C#
d. Garbage collection in * Net.