Jawaharlal Nehru Technological University Hyderabad

Jawaharlal Nehru Technological University Hyderabad B.Tech III OBJECT ORIENTED PROGRAMMING THROUGH JAVA Previous Question Paper (May - 2019 - R15)

B.Tech | III | II | R15 | May - 2019

Answer PaperPaper Code: 126ZYMaximum Marks: 75Time: 3 hours

Part A is compulsory which carries 25 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 10 marks and may have a, b, c as sub questions.

Part A

125 marks
a

Discuss the major difference between an Array and a Vector.

2 marks

Answer

An Array is a fixed-size data structure that holds elements of the same type, whereas a Vector is a dynamic array that can grow or shrink in size automatically as elements are added or removed.

b

How do JAVA programs maintain platform independency using JVM?

3 marks

Answer

Java achieves platform independence by compiling source code into Bytecode, an intermediate representation. The JVM (Java Virtual Machine) acts as an interpreter or JIT compiler that translates this bytecode into machine-specific instructions for the underlying hardware, allowing the same program to run on any system with a compatible JVM.

c

What are the advantages of using interfaces in JAVA?

2 marks

Answer

Sign in to view the complete answer paper.

d

How packages are created in JAVA?

3 marks

Answer

Sign in to view the complete answer paper.

e

Mention the importance of exception handling mechanism in Java?

2 marks

Answer

Sign in to view the complete answer paper.

f

What is the difference among final, finally and finalize?

3 marks

Answer

Sign in to view the complete answer paper.

g

Define Event and EventListener.

2 marks

Answer

Sign in to view the complete answer paper.

h

State the importance of JFrame and JLable in AWT.

3 marks

Answer

Sign in to view the complete answer paper.

i

How are swings different from an applet?

2 marks

Answer

Sign in to view the complete answer paper.

j

What are the limitations of AWT classes? How swings are used to overcome them?

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

Explain various type casting and conversion operators in JAVA.

5 marks

Answer

Sign in to view the complete answer paper.

b

Give a brief note on nested classes.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

How to create classes and instances in JAVA? Give an example.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the need for objected oriented programming concepts.

5 marks

Answer

Sign in to view the complete answer paper.

4

Discuss the various levels of access protection available for packages and their implications. What is static import? Give an example.

10 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Illustrate the need of super keyword in method overriding with an example.

5 marks

Answer

Sign in to view the complete answer paper.

b

How to implement interfaces in JAVA? Explain.

5 marks

Answer

Sign in to view the complete answer paper.

6

What is multithreading? What are the two different ways to create multithreaded program in JAVA? Explain them briefly.

10 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Briefly explain about checked exceptions and unchecked exceptions.

5 marks

Answer

Sign in to view the complete answer paper.

b

Give the benefits of exception handling mechanism.

5 marks

Answer

Sign in to view the complete answer paper.

8

Explain in details about event sources and event listeners in JAVA.

10 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

How to handle Scrollbars using AWT classes and methods in JAVA? Explain.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a brief note on Adapter classes.

5 marks

Answer

Sign in to view the complete answer paper.

10

How to create and implement tabbed panes and Scroll panes? Explain in detail.

10 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

What is the purpose of JPassword field? How is it useful in designing login screens?

5 marks

Answer

Sign in to view the complete answer paper.

b

Give a brief note on MVC architecture.

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of OBJECT ORIENTED PROGRAMMING THROUGH JAVA from Jawaharlal Nehru Technological University Hyderabad for B.Tech EIE III II, May - 2019, R15.

For the solved question paper with answers, switch to the Answer Paper tab.

Other papers in OBJECT ORIENTED PROGRAMMING THROUGH JAVA

Loading Question Papers

Fetching data from database...