FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download GTU BE/B.Tech 2019 Winter 5th Sem New 2150704 Object Oriented Programming Using Java Question Paper

Download GTU (Gujarat Technological University) BE/BTech (Bachelor of Engineering / Bachelor of Technology) 2019 Winter 5th Sem New 2150704 Object Oriented Programming Using Java Previous Question Paper

This post was last modified on 20 February 2020

This download link is referred from the post: GTU BE/B.Tech 2019 Winter Question Papers || Gujarat Technological University


FirstRanker.com

Firstranker's choice

Seat No.:

--- Content provided by FirstRanker.com ---

Subject Code: 2150704

GUJARAT TECHNOLOGICAL UNIVERSITY

BE - SEMESTER- V (New) EXAMINATION — WINTER 2019

Subject Name: Object Oriented Programming using JAVA

Time: 10:30 AM TO 01:00 PM

--- Content provided by FirstRanker.com ---

Instructions:

  1. Attempt all questions.
  2. Make suitable assumptions wherever necessary.
  3. Figures to the right indicate full marks.
Q.1 (a) Explain any three features of JAVA. 03
(b) What is a constructor in JAVA? How many types of constructors are there in JAVA? Explain with examples. 04
(c) Write a JAVA program to implement the Fibonacci series using for loop control structure. 07
Q.2 (a) Explain the use of final keyword in JAVA. 03
(b) What is a thread? Describe the complete life cycle of thread. 04
(c) Write a JAVA program to create a super class called figure that stores the dimensions of a two-dimensional object. It also defines a method called area () that computes the area of an object. The program derives two sub classes from figure. The first is rectangle and the second is Triangle. Each of these subclasses overrides area (), so that it returns the area of a rectangle and a triangle respectively. 07
OR
(a) Define exception. List java’s common exceptions. Write a JAVA program to generate and handle division by zero arithmetic exception. 07
(b) Differentiate multithreading and multiprocessing. 03
(c) Differentiate method overloading and method overriding with the help of example. 04
Q.3 (a) Discuss various access modifiers available in JAVA? How access modifier affects the visibility of a member in different access locations? 07
OR
(a) Explain garbage collection and finalization. 03
(b) Explain Super keyword with the help of example. 04
(c) Discuss the role of thread synchronization in inter-thread communication? Explain with example. 07
Q.4 (a) Describe the following methods related to String
  1. replace()
  2. --- Content provided by FirstRanker.com ---

  3. compareTo()
03
(b) How package can be created in JAVA? Explain with suitable example. 04
(c) Prepare a sequence diagram for hotel management system. 07
OR
(a) Explain the following terms with respect to exception handling.
  1. throw
  2. finally
04
(b) Describe dynamic method dispatch with example. 07
Q.5 (a) Explain ‘order’ with diagram. 03
(b) Explain generalization in class diagram with example. 04
(c) Define object orientation. Explain the stages of object orientation methodology. 07
OR
(a) Explain metadata with the help of example. 03
(b) Discuss link and association in UML with diagram. 04
(c) Draw use case diagram for library management system. 07

Date: 02/12/2019

Total Marks: 70

--- Content provided by FirstRanker.com ---

FirstRanker.com

Firstranker's choice



--- Content provided by FirstRanker.com ---

This download link is referred from the post: GTU BE/B.Tech 2019 Winter Question Papers || Gujarat Technological University