JNTU

JNTU B.Tech III OBJECT ORIENTED PROGRAMMING THROUGH JAVA Previous Question Paper (December - 2018 - R15)

B.Tech | III | II | R15 | December - 2018

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

Note: This question paper contains two parts A and B. 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

‘Java is platform-independent and portable’ – Justify.

2 marks

Answer

Java is platform-independent because it compiles source code into Bytecode, which is an intermediate representation. This Bytecode can be executed on any machine equipped with a Java Virtual Machine (JVM), making it portable across different operating systems without requiring recompilation.

b

List the primitive and non-primitive data types used in Java.

3 marks

Answer

Primitive data types include: byte, short, int, long, float, double, char, and boolean. Non-primitive (reference) data types include Classes, Interfaces, and Arrays.

c

Define the usage of final keyword.

2 marks

Answer

Sign in to view the complete answer paper.

d

Give the differences between class and an interface.

3 marks

Answer

Sign in to view the complete answer paper.

e

Define the term – Exception and Exception Handling.

2 marks

Answer

Sign in to view the complete answer paper.

f

What is the role of Sleep class in multithreading?

3 marks

Answer

Sign in to view the complete answer paper.

g

List out methods of Mouse Listener.

2 marks

Answer

Sign in to view the complete answer paper.

h

Discuss about text component in AWT.

3 marks

Answer

Sign in to view the complete answer paper.

i

Differentiate between applets and application.

2 marks

Answer

Sign in to view the complete answer paper.

j

List down the limitations of AWT.

3 marks

Answer

Sign in to view the complete answer paper.

Part B

2

Define class. How do classes help us to organize our programs? What are the three parts of a simple, empty class?

10 marks

Answer

Sign in to view the complete answer paper.

OR
3

Develop a JAVA program to define overloaded constructor to perform string initialization, string copy and string destruction.

10 marks

Answer

Sign in to view the complete answer paper.

4

Define inheritance. Describe different forms of inheritance.

10 marks

Answer

Sign in to view the complete answer paper.

OR
5

Develop a program to create an interface containing a static inner class. Implement this interface and create an instance of the inner class.

10 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Write a program to implement array index out of bounds exception.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about life cycle of the thread.

5 marks

Answer

Sign in to view the complete answer paper.

OR
7

Explain how multithreading is supported in java using the thread class and the Runnable interface.

10 marks

Answer

Sign in to view the complete answer paper.

8

Develop an event handling program to handle feedback form of JNTUH examination system using your creativity (Give your assumptions clearly).

10 marks

Answer

Sign in to view the complete answer paper.

OR
9

What are the different types of AWT components? How are these components added to the container?

10 marks

Answer

Sign in to view the complete answer paper.

10

Create an applet having a circle which is moving from left to right and reflected back from right to left continuously.

10 marks

Answer

Sign in to view the complete answer paper.

OR
11

Develop a sample java code to explain how buttons and text boxes are added to the container using Swings.

10 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the solved question paper with answers of OBJECT ORIENTED PROGRAMMING THROUGH JAVA from JNTU for B.Tech EIE III II, December - 2018, R15.

For the question paper without answers, switch to the Question Paper tab.

Other papers in OBJECT ORIENTED PROGRAMMING THROUGH JAVA

Loading Question Papers

Fetching data from database...