0% found this document useful (0 votes)
65 views

Java Prog

This document contains instructions for a Java programming exam with 8 questions. It asks students to: 1. Explain data organization and abstraction/encapsulation in object-oriented programs with examples. 2. Explain aggregation, polymorphism, static binding, and dynamic binding. 3. Describe dynamic variable initialization, advantages of new over malloc(), and enumerated data types with an example. 4. Briefly describe Java I/O features and write a program to read a file of phone numbers in two columns. 5. Describe features and applications of threads and language packages. 6. Identify classes for a banking system with accounts and draw a class diagram with attributes and operations

Uploaded by

api-3782519
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views

Java Prog

This document contains instructions for a Java programming exam with 8 questions. It asks students to: 1. Explain data organization and abstraction/encapsulation in object-oriented programs with examples. 2. Explain aggregation, polymorphism, static binding, and dynamic binding. 3. Describe dynamic variable initialization, advantages of new over malloc(), and enumerated data types with an example. 4. Briefly describe Java I/O features and write a program to read a file of phone numbers in two columns. 5. Describe features and applications of threads and language packages. 6. Identify classes for a banking system with accounts and draw a class diagram with attributes and operations

Uploaded by

api-3782519
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

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 .'

'"

You might also like