Java
Java
) CS
Model Paper Third Year B.E. of the Four- Year Integrated Degree Course Examination, 2009-2010 (Computer Science & Engineering)
Semester I JAVA PROGRAMMING Time: Three Hours Maximum Marks: 50 Do not write anything on question paper except Roll Number otherwise it shall be deemed as an act of indulging in use of unfair means and action shall be taken as per rules. Attempt any five questions. The question paper has four units. Each unit has two questions. Attempt at least one question from each unit. Answer should be to the point. All questions carry equal marks.
1.
(a) (b)
UNITI Describe all primitive data type of java and Explain the Type conversion in java. How can we achieve Runtime polymorphism in java? Explain With Example. Describe the class and creation of object in the java? Difference between method overloading and Overriding with suitable Example? How is java strongly associated with Internet? UNITII Discuss the various level of access protection available for package and their implication. What is Delegation event Model? Give an Example where interface can be used to support multiple inheritance. Develop a standalone java program for the example. What is abstract classes? Explain with suitable Example.
(a) (b)
3.
(a) (b)
4.
(a) (b)
5.
(a) (b)
UNITIII Explain the applet life cycle. How an applet is different from application program. Explain the User interface component. Create a try block that is likely to generate three types of exceptions and then incorporate necessary catch block . Explain different type of layout manager. UNITIV Write statement to create data streams for the following operation : (a) Reading primitive data from file. (b) Writing primitive data to a file . Write short note on any Two: (a) J2EE Architecture. (b) Java beans. (c) Multithreading.
6.
(a) (b)
7.
(5+5)
8.
(5+5)