University of Mumbai 2005 B.Sc Information Technology TY-IT C # ( C Sharp ) - Question Paper
Q one is cumplosory
Solve four ques. from Q2 to Q 7
marks 100
Duration three hours
{.J: \ j i yju
; Con. 1533-05. _ N~
. C#- 2*> - r _ DC-6016
, * (3 Hours) "H [Total Marks : 100
. N.B. : (1) Question No. 1 is compulsory. Li~ C - O'C
(2) Solve any four from Question Nos. 2 to 7. v/
(3) All questions carry equal marks.
Ql) Write short notes on the following (any five) : , . ,n
a) Immutable String
b) Difference between Interface & Abstract Glass
c) Data types in c# ' ,
d) Eight differences between Java & c#
e) .NET Framework '
0 Exeption handling in C# ,
g) Operation polymorphism.
Q2) a) Explain four types of method parameters - i 8
b) Write a program that prints the following format ' 6 ' ##### ,
. #### . . . ;
### ' . '
## .
' # '
c) Explain the function of break, continue and goto using examples- 6
-
' Q3) a) Write a program to convert the temperature in Fahrenheit(rtartin ; from 98.5 to . 8
102 in steps of 0.1) to Celsius using the formula C = (F - 32) / 1.3 and display the values in a tabular form .
. b) Explain Method Overriding. Show a program that implement; this concept. 6
. " c) Draw the flow chart and explain the activities ofCLR for executing a program. 6
Q4) a) What is an Array List. Write a program using array list. 5
. b) Explain Mutable strings in brief. g
c) Write a program to show the creation & implementation of delegate, 6
Q5) a) Write a program to print the following Floyds triangle 8
2 3 . -
4 5 6 k ,
' 78 9 10 '
11.........15
79.................91 .
b) What is a property. How do. we declare and use it(show a program). 6
c) Explain the function of the following g . 1. CompareTo() . .
y . 2. Concat()
3. LastlndexOfQ . *
4. Removc()
, 5. Trim() ' . .
6. Substring)
Q6) a) Given a list of marks ranging from OtolOO, write a program to compute and print 8 the number of studentswho have obtained marks.
. (a) in the range 81 to 100
(b) in the range 61 to 80 '
(c) in the range 41 to 60, and .
(d) in the range 0 to 40 '
1 b) i) What arc static methods? When .do we use it 3
j' ii) What is a readonly member? When and why it is used 3-
c) What are interfaces? Write a program to show the implementation of multiple 6
interfaces' '
' ;r' Q7) a) What is operator overloading. Write a program to show the implementation of 8
unary operator.
b) Explain structures? Show how to implement structures in a class. 6 '
c) Explain g
1) abstract methods & classes
___1 _ J____iL. J* n _i !
Attachment: |
Earning: Approval pending. |