592
B. E. 6th Semester Information Tech. Examination
£
'
JAVA PROGRAMMING
Paper-IT-302-C
Time allowed: 3 Maximum marks: 100
hours
Note: Attempt any five questions. All questions carry £qual
marks.
1. (a) How are data and functions organised in an object
•..
oriented program? Explain with example.
, '
(b) Write. difference between data abstraction and data .
, .
encapsubition with example of each,_
2. Explain the f~owiIig :
(a) Aggregation
(b) Polymorphism
(c) Static binding
(d) Dynamic' binding;
3. (a) What do you .meanby dyn'amic initialization of a
variable ? Write one example.
(b) What are the advantages of using" new operator as
compar~d to function Malloc ( ) ?
(c) Describe uses of enumerated data type with an
example.
4. (a) 'Describe briefly the features ofIlO system supported
by JAVA.
592-1,260-P-3 (Q-8) (06)
P.T.O.
e (2) 592 (3) 592
I-'--~
(b) . A file cont~n~ ~ list of telephone numbers as : 8. For a Client Server Architecture system. Explain:
t - , r' ;'- \t~~-::;· ! '," 'r:\
Anil 2273~,; (i) Telnet·
'J',"
Suresh 220487 (ii) ftp (file transfer protocol)
i "' - , (iii) Remote Procedure Calls (RPCs)
~e ~esand telephone numbers are separated by
white spaces. Write a program to read this file and (iv) Data Migration.
output the list in two columns.
5. Describe features and. applications of:
(i) Thread progratlUJling
(ii) Lang package.,
6. A bank is having accounts Le., savings aceounts, current_·
..
accounts and fixed deposits. A fixed dep08itc~'~ s~o~.
term, mid-term or ~ong-term periods. The bank needs a
system to manage these accounts. Identify classes fOJ:. the
system. Draw a class diagram, add atleast 3 attributes and
3 operations in all the classes. Explain the associations, if
any.
7. (a) Using object modelling techniques, 'accept four
numberic values and find the 'smallest of them.
(b) Explain, with an example, how afunctional model is
related to:
(i) An object model .
(ii) A dynamic model.
592 592-1,260 .'
'"