JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA 2023 JAVA PROGRAMMING Previous Question Paper (March/April - 2023 - R17)

MCA | 2023 | III | R17 | March/April - 2023

Answer PaperPaper Code: 843AEMaximum 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

Discuss about various data types in Java.

5 marks

Answer

Java data types are categorized into two groups: primitive and non-primitive. Primitive types are predefined and include: byte (8-bit), short (16-bit), int (32-bit), long (64-bit), float (32-bit), double (64-bit), char (16-bit Unicode), and boolean (true/false). Non-primitive types, or reference types, include classes, interfaces, and arrays, which store references to objects rather than the actual values.

b

Explain about using final with inheritance.

5 marks

Answer

The final keyword in Java restricts inheritance and method overriding. When applied to a class, it prevents the class from being subclassed (e.g., public final class A {}). When applied to a method, it prevents subclasses from overriding that specific method, ensuring the implementation remains constant throughout the inheritance hierarchy.

c

Describe exception hierarchy.

5 marks

Answer

Sign in to view the complete answer paper.

d

Explain about CheckboxGroup.

5 marks

Answer

Sign in to view the complete answer paper.

e

Discuss about the swing buttons.

5 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

Illustrate various control statements in JAVA.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about overloading methods and constructors with examples.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Write a Java program to generate Fibonacci series using recursion concept.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about string classes with examples.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Distinguish between specialization and specification.

5 marks

Answer

Sign in to view the complete answer paper.

b

Describe the differences between classes and interfaces with examples.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

What is an interface? Explain about implementing interfaces in detail.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss about method overriding and abstract classes.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

What are built-in exceptions? Explain.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about interthread communication in detail.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Discuss about thread life cycle and creating threads.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is the use of try, catch, throw, throws and finally statements in JAVA?

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Explain about GridBagLayout class.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss about handling mouse and keyboard events.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

What are constructors of TextField? Explain.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about the AWT class hierarchy in detail.

5 marks

Answer

Sign in to view the complete answer paper.

10

Explain the following:

10 marks
a

Components and containers

5 marks

Answer

Sign in to view the complete answer paper.

b

Limitations of AWT.

5 marks

Answer

Sign in to view the complete answer paper.

OR
11

Explain the following:

10 marks
a

Creating applets

5 marks

Answer

Sign in to view the complete answer paper.

b

Trees and JTable.

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of JAVA PROGRAMMING from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for MCA 2023 III, March/April - 2023, R17.

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