TY BSC IT Question Papers Mumbai University

You might also like

Download as pdf
Download as pdf
You are on page 1of 1
: BSc CTnformation Tech) (Semi) Con 4141-06, a cH a (3 Bours } ( Total Marks : 100 + NB.: 1, Question No, 1 is compulsory. \¢ oct, 06 2, Solve any four from Q. Nos. 2 To 7 3» All questions carry equal marks. QJ) Write a short note on the following, (Any five) (20) a) What is CLR? List six different types of services orovided by CLR. 'b) Bight shottoomings of C/C++. ¢) Structure of typical C# program. 4) Boxing and Unboxing. ¢) break and continue statements, £) Method Overloading, ) Data Types in CH. Q, 2) a) Write a program to print the following output. : @) - owe . * ‘b) Destructors in Cit behave differently than in C++. Comment. (6) ¢) Explain three pillars of OOP. © Q. 3) 8) Write a Program to implement multiple inheritance. (8) b) Explain Variable parameter Array and output parameter. (6) c) What is Fallthrough? How it is handled in C4? (O} 24) a) Write a method Maxmin() that takes an array a2 an UP parameter and. retums maximum and minimum values to Main(). Write a complete C# 10 test the above method. (8) b) Explain Pass by value and Pass by reference. (6) c) Write six differences between class and interface. © Q.5) a) Define a Time class containing following members. ‘© Two integer data members minutes and hours. «Two overloaded constructors, ‘© Ono method to display the class data members. One of the constructor takes two integer parameters to assign values to = data members and other constructor takes one integer parameter toll no. of minoes and conversit info hours and minutes. Wale a complete ‘program to verify the operation of constructor aztd the method. @) b) What is Inheritance? Explain Classical Inheritance, (6) +) List the overloadable and nonoverioadable opesators, © ‘Q.6) a) Wha is inclusion polymorphism? How is it achieved 7 Explain with example, (8) ‘b) Explain the steps involved in creating and using delegate. 6) c) Explain Mutable and immutable strings. © Q.7) a) Write a program that will read the name from the keyboard and display it con the screen. The program should throw an exception when the length of the name is more than 15 characters. Design your own exception mechanism. ®) b) Attempt the following: 1) Write a program to generate the following triangle. Q)

You might also like