VTU Computer Science (Semester 7)
C# Programming and .NET
June 2012
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


1 (a) What are the building blocks of .Net? With neat diagram given the relationship between .Net runtime layer and base class library?
10 M
1 (b) Define an Assembly? Explain each component of an assembly. Differentiate between single file assembly and multiple file assembly,
10 M

2 (a) Explain how csc.exe command is used to build C# application on .Net Framework. Explain any 5 flags with appropriate example.
8 M
2 (b) Explain the following C# preprocessor directives
(i) #Error (ii) Conditional code compilation
4 M
2 (c) What is a Command Line Debugger? List and explain any five command line flags recognized by Command Line Debugger.
8 M

3 (a) Explain with an example static keyword. When used with
i) Variable ii) Method iii) Constructor
6 M
3 (b) With a neat example, explain what happens when reference types is passed by value and passed by reference?
8 M
3 (c) Explain Boxing and Unboxing with example.
6 M

4 (a) Explain two different roles of this keyword with example.
6 M
4 (b) Explain with example, Read-only properties and Write-only properties.
6 M
4 (c) What are the three pillars of object oriented programming in C#. Differentiate between 'is a' Relationship and 'has a' Relationship with appropriate examples.
8 M

5 (a) What are bugs, errors and exception? List and explain with code, that core members of System Exception type.
12 M
5 (b) What is meant by object life time? Explain Garbage Collection Optimization process in C#.
8 M

6 (a) Explain three different ways of obtaining interface references with neat examples.
10 M
6 (b) List and explain in detail the different System.Collections Interface types.
5 M
6 (c) Explain in class types of System.Collection.
5 M

7 (a) What is delegate? Differentiate between Synchronous and Asynchronous delegate with example.
10 M
7 (b) Illustrate the use of Callback Interface with a C# program.
10 M

8 (a) Explain the two conceptual views of .Net Assembly, with a neat diagram, What are the benefits of this?
10 M
8 (b) Write short notes on: i) Cross Languages Inheritance ii) Shared Assembly.
10 M



More question papers from C# Programming and .NET
SPONSORED ADVERTISEMENTS