0% found this document useful (0 votes)
74 views1 page

C Sharp Jun 2011

This document contains exam questions for a 7th semester C# programming and .NET exam. It has two parts: Part A focuses on C# programming concepts like .NET framework features, common intermediate language, value types vs reference types, static and read-only variables, boxing and unboxing, inheritance and abstract classes. Part B focuses on more advanced .NET topics like file systems, garbage collection, interfaces, exception handling with try/throw/catch/finally, events, delegates, private vs shared assemblies. It provides multiple choice and descriptive questions to assess students' understanding of key C# and .NET concepts. Students must answer 5 questions total, selecting at least 2 from each part.

Uploaded by

Hemanth Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views1 page

C Sharp Jun 2011

This document contains exam questions for a 7th semester C# programming and .NET exam. It has two parts: Part A focuses on C# programming concepts like .NET framework features, common intermediate language, value types vs reference types, static and read-only variables, boxing and unboxing, inheritance and abstract classes. Part B focuses on more advanced .NET topics like file systems, garbage collection, interfaces, exception handling with try/throw/catch/finally, events, delegates, private vs shared assemblies. It provides multiple choice and descriptive questions to assess students' understanding of key C# and .NET concepts. Students must answer 5 questions total, selecting at least 2 from each part.

Uploaded by

Hemanth Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

USN

06CS/IS761

Seventh Semester B.E. Degree Examinationo June/July 20Ll

C # Programming and "Net


Time:3 hrs. Note: Answer FIVE full questions, selecting at least TWO qaestions from each part.
ci

Max. Marks:100

PART

-A
(10 Marks) (04 Marks) (06 Marks)

o
(n
C)

la.
b.
c.

Explain features and building blocks of . Net framework. Write a note on. Net name space. Explain the role of the common intermediate language.

d
L

c)

E9
d9

2a.
b
c.

-o

bo" doo '=+

;,'

(06 Marks) Discuss the difference between value type and reference types. Explain how CSC . exe compiler is used to build C# application. Explain any five flags with (06 Marks) appropriate examples. (08 Marks) Write a C# program to demoustrate use of Static and Read- only variables. (06 Marks) Explain boxing and unboxing with examples. Explain the functions of system object class. Give overriden definition for Tostring( ) and (08 Marks) Equals( ). an example, with reference to C #. Explain the following terms, with (06 Marks) i) foreach ii) params iii) verbatim.

.= c.l cBs

b ()tr -co o;
6=

3a.
b.
c.

9.0

3s
bu
do o.o bOc
-o >!
a6 or

4a.
b.
c.

What is inheritance? How is it implemented in C#? State and explain the characteristics ofabstract classes. Write a program to describe sealed class and sealed method.

(06 Marks) (08 Marls) (06 Marks)

PART

B
(05 Marks) (07 Marks) (08 Marks)

9=

6rJ

^= tro.
o'i to alE

a. b. c. a. b. c. a. b. c. a. b. c d.

Explain the different methods of file system. GC type. Explain with examples interface hierarchy. What is an interface in C# and how is it different from polymorphir* i1Q++? Define the following keywords with program example : i) try ii) throw iii) catch iv) finally. Why is proper ordering of catch blocks necessary in C#? Write C# application to illustrate handling multiple exceptions. What are the main advantages of C# events? What are delegates? Explain the members of system. Multicast delegates program to implement multicasting. What are the differences between private assembly and shared assemblies?

^.= >\q
ooo
0= *o

3fi

(10 Marks) (05 Marks) (05 Marks) (05 Marks)


:

trbo

tr>
=o o
(..)

<

Give a small
(10 Marks) (05 Marks)

-.1 6i
6.)

Z Write short notes on


:

o.

lndexers Mutable and immutable strings Enumeration in C# Garbage collection in . Net.


{(*tN.t{(

(20 Marks)

You might also like