You are on page 1of 2

www.vidyarthiplus.

com

C# and .NET Framework - CS 1010

B.E/B.Tech Degree Examinations APRIL / MAY 2010

Eighth Semester

Information Technology

CS 1010- C# AND .NET FRAMEWORK

Regulation 2004

(Common to seventh semester Computer Science and Engineering)

Part A

1) Write a C# program to find square of a given integer.

2) Compare value type and reference type.

3) What is the use of new keyword in C# inheritance.

4) Name any four system defined exceptions.

5) Write a window based application to display a message.

6) What is a dataset?

7) Describe the features of web.config file.

8) What are the advantages of using server controls?

9) What are attributes? Highlight the features of any two attributes.

10) What is the difference between singlecall and singleton?

Part B

11 (a) (i) Write a C# code to find the sum of all the elements of a jagged array.

(ii) Write a C# code to compare two strings using "Equals" method.

or

(b) (i) How does C# implement enumerations? Give an example.

www.vidyarthiplus.com
www.vidyarthiplus.com

(ii) Explain the silent features of .NET framework.

12) (a) (i) Consider a student class with feet and inches as attributes which describes the height of the
student. Write a C# program to overload the + operator and to find the average of N students.

(ii) Explain user defined exceptions with an example.

or

(b) (i) What are delegates? Explain its uses with an example.

(ii) Explain the process of handing events through delegates.

13) (a) (i) Compare the features of ADO.NET with ADO.

(ii) Explain the process of creating menus in a windows-based application.

or

(b) Build a windows based applications to accept the reservation details of a train ticket and to store the
details in a database table. Use drop down list box to choose the train number and name. Accept source
and destinations in text boxes. Allow the user to enter the date of journey one month in advance.
Assume that in each train, there are thirty tickets and every booking should have a unique number.

14) (a) (i) List the different object models associated with ASP.NET and highlight the features of each
object.

(ii) Summarize the validator controls and their applications in ASP.NET.

or

(b) (i) Compare the features of ASP.NET with ASP.

(ii) Explain the steps involved in teh creation of web services.

15) (a) (i) What is a metadata? How is it viewed in C# code? Explain with an example.

(ii) Explain the process of executing a thread in C#.

or

(b) How are distributed applications implemented in C# on the .NET framework? Explain its architecture
and implementation issues.

www.vidyarthiplus.com

You might also like