JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech III OBJECT ORIENTED PROGRAMMING THROUGH JAVA Previous Question Paper (February - 2023 - R18)

B.Tech | III | III-II | R18 | February - 2023

Answer PaperPaper Code: 156CCMaximum Marks: 75Time: 3 Hours

Note: i) Question paper consists of Part A, Part B. ii) Part A is compulsory, which carries 25 marks. In Part A, Answer all questions. iii) In Part B, Answer any one question from each unit. Each question carries 10 marks and may have a, b as sub questions.

Part A

125 marks
a

Define a class.

2 marks

Answer

A class is a user-defined blueprint or prototype from which objects are created. It represents a set of properties or methods that are common to all objects of one type.

b

What is the significance of Java byte code?

3 marks

Answer

Java byte code is the intermediate representation of Java source code generated by the compiler. Its primary significance is platform independence, as it allows the same compiled code to run on any device equipped with a Java Virtual Machine (JVM), fulfilling the 'Write Once, Run Anywhere' principle.

c

Define polymorphism.

2 marks

Answer

Sign in to view the complete answer paper.

d

How to declare an interface in Java?

3 marks

Answer

Sign in to view the complete answer paper.

e

Define a thread. How is it different from a process?

2 marks

Answer

Sign in to view the complete answer paper.

f

What is the need of auto boxing?

3 marks

Answer

Sign in to view the complete answer paper.

g

What is an event?

2 marks

Answer

Sign in to view the complete answer paper.

h

What is the importance of an adapter class?

3 marks

Answer

Sign in to view the complete answer paper.

i

List the types of applets.

2 marks

Answer

Sign in to view the complete answer paper.

j

What are the limitations of AWT?

3 marks

Answer

Sign in to view the complete answer paper.

Part B

2

Describe the features of object oriented programming.

10 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Does Java support bit-wise operators? Justify your answer.

5 marks

Answer

Sign in to view the complete answer paper.

b

Demonstrate constructor overloading with an example Java program.

5 marks

Answer

Sign in to view the complete answer paper.

4

Explain the benefits and various forms of inheritance implemented in Java.

10 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Differentiate between an abstract class and an interface.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss the access control privileges among packages.

5 marks

Answer

Sign in to view the complete answer paper.

6

How are exceptions handled in Java programming? Demonstrate with suitable code segments.

10 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Discuss the built-in functions used in inter thread communication.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a Java program to count number of words in a given sentence.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Briefly explain event delegation model.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss any three listener interfaces frequently used in event handling.

5 marks

Answer

Sign in to view the complete answer paper.

OR
9

Construct an user interface form for student registration to a hackathon using AWT components and event handling concept.

10 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Write the code to create an applet to draw a smiley.

5 marks

Answer

Sign in to view the complete answer paper.

b

How to pass parameters to an applet? Present an example code.

5 marks

Answer

Sign in to view the complete answer paper.

OR
11

Describe in detail about Model-View-Controller (MVC) architecture with relevant Java program.

10 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 ECE III III-II, February - 2023, R18.

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...