Blogger Widgets

Total Page visits

Wednesday, March 27, 2013

C# AND .NET FRAMEWORK,ANNA UNIVERSITY OF TECHNOLOGY,NOV/DEC 2011

ANNA UNIVERSITY OF TECHNOLOGY,
B.E/B.TECH. DEGREE EXAMINATIONS: NOV/DEC 2011
REGULATIONS: 2008
SEVENTH SEMESTER: INFORMATION TECHNOLOGY
080250048-C# AND .NET FRAMEWORK
Time: 3 Hours                                                                                 Max Marks: 100
Part –A
(10×2=20 Marks)
ANSWER ALL THE QUESTIONS
1. What is sealed class?
2. Differentiate int and integer in C#.
3. Differentiate arraylist from arrays.
4. Find the error in the program segment
class A
{
static void Method (out int p)
{
p=44;
}
Static void Main()
{
int value;
Method(value);
}
}
5. dsDataset is a dataset object. Give the segment of C# code to access the first row of
Datatable from dsDataset.
6. Does the dataset support constraints? Justify.
7. What is a web service?
8. Write short notes on SOAP.
9. What is metadata?
10. What is the purpose of satellite assemblies?
Part –B
(5×16=80 Marks)
ANSWER ALL THE QUESTIONS
11. (a)(i) Explain the looping constructs in C# with syntax and examples. (10)
          (ii) Discuss about the purpose of the keyword fixed in C#. (6)
(OR)
      (b)(i) Explain the characteristics of .NET architecture in detail. (8)
          (ii) Discuss about indexers in detail. (8)
12. (a)(i) Explain exceptions and error handling in C#. (8)
          (ii) Discuss the advantages of garbage collection in C#. (8)
(OR)
       (b) Write a C# program to evaluate the given expression using postfix notation.(16)
13. (a)(i) How disconnected data architecture is implemented in C#? Explain with sample C# code. (10)
          (ii) Discuss the features of Dataset.(6)
(OR)
      (b) Explain the way of accessing data from database using ADO.NET in C#.(16)
14. (a) Discuss the steps involved in creating web service in .NET. Show how the services is utilized in other  applications.(16)
(OR)
       (b) Discuss the steps involved in creating web services in .NET. Write C# code to use the created web services from another application.(16)
15. (a) Discuss the support for type discovery in .NET with suitable C# code.(16)
(OR)
       (b) Explain reflection in detail.(16)

No comments: