How To Exam?

a knowledge trading engine...


Other Master Degree-Master of Computer Management (M.C.M) 2nd Sem JAVA PROGRAMMING(University of Pune, Pune-2013)

Monday, 03 November 2014 08:29Nitha

                                            [4377]-2004
                 M. C. M. (Semester - II) Examination - 2013
                                      JAVA PROGRAMMING
                                             (2012 Pattern)

Time : 3 Hours]                                                   [Max. Marks : 70

Instructions :

(1) Q. Nos. 1 and 8 are compulsory.

(2) Solve any five from the remaining.

(3) All questions carry equal marks.

 

Q.1) Solve the following :

(a) What is Adapter Class ?

(b) What stages of Thread Life Cycle ?

(c) What is Null Interface ?

(d) Draw Panel with Border Layout.

(e) List any four Methods of File Class.

 

Q.2) Write application that will accept number from user and find whether it is divisible by 19 or not. If it is not divisible file user defined exception “Number Not Divisible Exception”.

 

Q.3) Write application that will accept two file names from user. Copy first file to second. Do all possible validations. (Use Character Streams)

 

Q.4) Write an application to create following threads :

(a) Display series 1, 1, 2, 3, 5, 8, 13, 21..... (50 terms)

(b) Display series 1, 8, 27, 64, 125..... (50 terms)

[4377]-2004 1 P.T.O.

 

Q.5) Write an interface to define method calculate Temp( ) which takes two arguments, first - “char c or f” specifies whether to convert temperature to Fahrenheit or Celsius and second argument-float temp, temperature to convert. (C = 5/9 F – 32) Implement this interface and show the functionality.

 

Q.6) Write an applet to display mouse position (co-ordinates) on status line.

 

Q.7) Create class books with attributes bookid, title, author, no_of_copies, price. Accept details of 10 books in an array of objects and display the accepted details

 

Q.8) Write notes : (Any Two)

(a) Access Specifier

(b) Differentiate between awt and swing

(c) StringBuffer Class

 


( 0 Votes )

Add comment


Security code
Refresh

Earning:  ₹ 7.05/-
You are here: PAPER Other Master Degree-Master of Computer Management (M.C.M) 2nd Sem JAVA PROGRAMMING(University of Pune, Pune-2013)