322553(22)
B. E. (Fifth Semester) Examination, 2020-
APR-MAY2022
(New Scheme)
(CSE Engg. Branch)
PROGRAMMING in JAVA
Time Allowed : Three hours
Maximum Marks : 80
Minimum Pass Marks : 28
Note : Attempt all questions. Part (a) is compulsory
of each unit. Solve any two parts from part
(b), (c) and (d).
programing in java summer 2022
(Download Original Question Paper)click on question to view answer...
- Q.1(a)
What is the work of Virtual Machine?
2 - Q.1(b)
Is Java is complete object oriented language? Give your opinion.
7 - Q.1(c)
Differentiate between method overloading and method oversiding with example.
7 - Q.1(d)
Explain the structure of Java program.
7 - Q.2(a)
Write the different use of find keyword in Java (Syntax only).
2 - Q.2(b)
Difference between packages and interfaces in Java. Also give suitable examples.
7 - Q.2(c)
Explain the use of try, catch, throws and finally with proper example.
7 - Q.2(d)
Explain inbuilt and user defined, checked and unchecked exceptions with example.
7 - Q.3(a)
What is the basic difference between process and thread?
2 - Q.3(b)
Draw the life cycle of thread diagram and explain it with example.
7 - Q.3(c)
Define byte stream and character stream. Write a program to read the contents of file.
7 - Q.3(d)
Explain the difference between string and string buffer class and also explain some method of string class with example.
7 - Q.4(a)
Draw applet life cycle diagram.
2 - Q.4(b)
Explain the types jdbc drivers.
7 - Q.4(c)
Explain delegation event model in detail with suitable Java program.
7 - Q.4(d)
Write a Java database connectivity program and explain it.
7 - Q.5(a)
Explain wrapper class with example.
2 - Q.5(b)
Explain RMI with a suitable program.
7 - Q.5(c)
Compare frame and panel. Also give exámple.
7 - Q.5(d)
Why swing is considered as lightweight? Create a program of swing?
7
