Roll N o.
Total No. of Questions : 13]
[Total N o. of Pages : 02
Time : 03 Hours Maximum
Marks : 75
Instruction to Candidates:
1) Section - A is compulsory.
2) Attempt any Nine questions from Section - B.
Q1 ) (15 X 2 = 30)
a) Write the characteristics of C#.
b) Using example explain how are we adding comments.
c) What is use of # pragma directive explain with example.
(1) Explain the compile time error.
e) What are special & bitwise operator.
f) How we write mathematical function C#.
g) What is the function of sizeoff operator.
h) What is the advantage of nesting in methods.
i) How does the for-each loop differ from other loops.
j) Explain the structures used in C#.
k) Describe the definition of nesting of classes?
1) How do we implement interfaces?
In) Define a subclass and visibility control.
n) Write about comparison overloaded operator.
0) Explain general catch handler.
(9 X 5 = 45)
Q2) Compare the features of C# and Java. How do they differ from each other?
Q3) How we initialize & declare variable in C#. Give example.
Q4)What are two different categories of data types? Distinguish between them.
Q5)Discuss the different types of loop statement used in C#. Illustrate with
Q6) Describe the definition of an array class and array list class?
Q7) Write the procedure to format a string?
Q8) Differentiate between classes and structures.
Distinguish between overloaded constructor and static constructor.
Q8) How we define a class and then adding: variables, methods, modifiers and
further accessing class members?
Q9)Compare and write about classical inheritance and containment inheritance.
Discuss about unary and binary overloading operators.
Q10)Write about checked and unchecked operators.