JNTU

JNTU B.Tech II JAVA PROGRAMMING Previous Question Paper (December - 2018 - R13)

B.Tech | II | II | R13 | December - 2018

Answer PaperPaper Code: 114CXMaximum 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

What is the significance of Java’s byte code?

2 marks

Answer

Java bytecode is an intermediate, platform-independent representation of Java source code. It allows Java programs to achieve Write Once, Run Anywhere (WORA) capability by enabling the Java Virtual Machine (JVM) to execute the same compiled code on any hardware or operating system.

b

List the applications of object oriented programming.

3 marks

Answer

Object-oriented programming is widely used in:

  • Client-server systems and distributed applications.
  • Graphical User Interface (GUI) development.
  • Simulation and modeling software.
  • Enterprise-level software and web application development.
c

Differentiate class, abstract class and interface.

2 marks

Answer

Sign in to view the complete answer paper.

d

How to create and use a package in Java program?

3 marks

Answer

Sign in to view the complete answer paper.

e

How does Java support inter thread communication?

2 marks

Answer

Sign in to view the complete answer paper.

f

List any four unchecked exception.

3 marks

Answer

Sign in to view the complete answer paper.

g

What is the use of Iterator class?

2 marks

Answer

Sign in to view the complete answer paper.

h

Compare byte streams with character streams.

3 marks

Answer

Sign in to view the complete answer paper.

i

Give the subclasses of JButton class.

2 marks

Answer

Sign in to view the complete answer paper.

j

Differentiate between grid layout and border layout managers.

3 marks

Answer

Sign in to view the complete answer paper.

PART - B

210 marks
a

What are the drawbacks of procedural languages? Explain the need of object oriented programming with suitable program.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss the lexical issues of Java.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

What are the primitive data types in Java? Write about type conversions.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is a constructor? What is its requirement in programming? Explain with program.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

With suitable code segments illustrate various uses of ‘final’ keyword.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss about anonymous inner classes.

5 marks

Answer

Sign in to view the complete answer paper.

OR
5

What are the benefits of inheritance? Explain the various forms of inheritance with suitable code segments.

10 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

With a program illustrate user defined exception handling

5 marks

Answer

Sign in to view the complete answer paper.

b

How to handle multiple catch blocks for a nested try block? Explain with an example.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Describe how to create a thread with an example.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a program to explain thread priorities usage.

5 marks

Answer

Sign in to view the complete answer paper.

8

What support is provided by File class for file management? Illustrate with suitable scenarios.

10 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

Describe different types of JDBC drivers.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the random access file operations with a suitable program.

5 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

What is the role of event listeners in event handling? List the Java event listeners

5 marks

Answer

Sign in to view the complete answer paper.

b

Write an applet to display the mouse cursor position in that applet window.

5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Discuss various AWT containers with examples.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about the adapter class with an example.

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of JAVA PROGRAMMING from JNTU for B.Tech IT II II, December - 2018, R13.

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

Other papers in JAVA PROGRAMMING

Loading Question Papers

Fetching data from database...