You are on page 1of 2

Reg No

B.E. / B.Tech. DEGREE EXAMINATION,Nov/Dec 2011


Fourth Year Seventh Semester
CSE/IT
Elective CS2041 - C# and .NET Framework
Model Question Paper II
(Regulations 2008)
Maximun Marks : 100

Time : 3 Hours

Answer all questions


1)
2)
3)
4)
5)
6)
7)
8)
9)
10)

PART A (10 x 2 = 20 Marks)


Define a)Abstraction b) Encapsultion
Differentiate an interface and its implementation.
What are access modifiers? Explain their purpose.
What are indexers? Give an example.
Write a C# program to illustrate structure.
Define a) Abstract classes b) Sealed classes
What ability is provided by XML functional literacy?
What is Data Grid View class?
What are proxies?
How a web service is discovered and used by a consumed?
PART B - (5 x 16 = 80 Marks)

11)

a)

(i) Write a C# program to print the reverse of a string

(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)

a) (i) What is XSL transformation?


Write C# code to create HTML output using XML Style sheet.
(ii) Explain the techniques available for reading XML Data.
(OR)
b) (i) What is ADO.NET Disconnected model.
Explain the data sets,data tables and disconnected mode.
(ii) Explain briefly data binding with Windows Forms Controls.

15)

(a) (i) Explain Built-in Security permissions available in .NET.


(ii) What are Security policies? How .NET applies security policies?
(OR)
(b) (i) Explain the architecture of web services and its constituent parts.
(ii) Explain with an example for building an XML web service Client.

(8)

(8)
(8)
(8)
(8)
(8)
(8)
(8)
(8)

You might also like