C# Programming & .Net Jan 2016 (2010 Scheme).pdf - Google Drive

1 downloads 213 Views 868KB Size Report
www.pediawikiblog.com. Page 1. C# Programming & .Net Jan 2016 (2010 Scheme).pdf. C# Programming & .Net Jan 2016
For More Question Papers Visit - www.pediawikiblog.com tOCS/IS761

USN

Seventh Semester B.E" Degree Examination, Dee"20lLSiJan"2CI16

G# Programming and .Net Max. &{arks: I00

m

Time: 3 hrs. Note: Answer FIYE fwll questions, selecting at lesst TWO questions from each part" a o

E

I a. b.

o

co

a.

PART: A

Sihat are the building blocks of .Net? With neat diagrarn give the relationship between .Net (trS Marks) nlntime layer and base class library. Define an Assembly? Explain each component of an assembly. Differentiate between single (n0 Marks) file assembly and multiple file assembly.

g.

U !

6)

.-r

3 a"

u{: -E

b.

OU

=i

Ua)

5:

aX ts* o ..i fr.= €C

b. t.

5 a.

lo

ib

(S6 Marks) Explain two different roles of this keyword with examptre. (S6 Marks) Explain with example, Read-oniy properties and Write-only properties" What are the three pillars of object oriented programming in C#, Differentiate between (08 Marks) "is a" Relationship and "has a" Relationship with appropriate examples.

PART _ B What are bugs, effors and exception? List and explain with corle, the core members of

b.

System. Exception type. {tr2 Marks) What is meant by object life time? Explain Garbage Cotrlection Optimization process in C#. (S8 Marksi

w w

6.e >',-

4a.

Explain with an example static keyword. lilhen used with (06 N{arks) i) Variable ii) Method iii) Constructor. With a neat example, explain what happens when reference types is passed by vatrue and passed by reference? {08 Manks} (06 Marks) Explain tsoxing and Unboxing with example.

.p

>! ;=

ik

-O

w

c.

ia

b.

6?

=r)

Explain how csc.exe command is used to build C# appliaation on .Net Framework. Expiain any 5 flags with appropriate example. {08 Marks) Explain the followingC# preprocessor directives (04 Marks) i) # Emor ii) Conditional code cornpilation. What is a Command Line Debugger? List and explain any five cornmand line flags recognized by Command Line Debugger. {08 Marks)

ed

2 a. ,a

^.. e

a

c.1l

o. :j F>

6a.

^d)

Suggest Documents