
Seat No.: ________ Enrolment No.___________
GUJARAT TECHNOLOGICAL UNIVERSITY
BE - SEMESTER–IV(NEW) EXAMINATION – WINTER 2022
Subject Code:3140705 Date:20-12-2022
Subject Name:Object Oriented Programming -I
Time:10:30 AM TO 01:00 PM Total Marks:70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Simple and non-programmable scientific calculators are allowed.
Discuss significance of byte code.
Explain Java garbage collection mechanism.
List OOP characteristics and describe inheritance with examples.
Explain constructor with the help of an example.
List out different methods available for String class in java and explain
any two with proper example.
Explain all access modifiers and their visibility as class members.
Compare String with StringBuffer. Also, write a program to count the
occurrence of a character in a string.
What is the final class? Why they are used?
Write exception handling mechanisms in JAVA.
Explain Overloading and Overriding with example.
How can you create packages in Java?
What is Inheritance? List out the different forms of Inheritance and
explain any one with example.
Explain the words super, static, final and this with the help of an
example.
List out various layout panes in JavaFX.
Explain the architecture of JavaFX.
Discuss BufferedInputStream and BufferedOutputStream classes with
an example.
List out JavaFX UI controls and explain any one in detail.
Demonstrate animation effect in JavaFX.
Create a class called Student. Write a student manager program to
manipulate the student information from files by using FileInputStream
and FileOutputStream.
List out methods of Iterator and explain it.
Explain Set and Map in Java with example.
Describe with diagram the life cycle of Thread.
Explain synchronization in Thread with suitable example.
***********