[go: up one dir, main page]

0% found this document useful (0 votes)
303 views3 pages

WWW Manaresults Co in

The document provides details of a Java programming exam including instructions, questions, and sections. It includes 10 questions in Part A worth 30 marks total focusing on Java concepts like bytecodes, differences between Java/C++, abstract classes/interfaces, streams, and Applets. Part B includes 5 questions worth 40 marks total requiring explanations and programs related to arrays, inheritance, I/O streams, threads, packages, and Applets. Part C includes 1 question worth 10 marks requiring the design and implementation of a BankAccount class in Java code.

Uploaded by

babudurga700
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
303 views3 pages

WWW Manaresults Co in

The document provides details of a Java programming exam including instructions, questions, and sections. It includes 10 questions in Part A worth 30 marks total focusing on Java concepts like bytecodes, differences between Java/C++, abstract classes/interfaces, streams, and Applets. Part B includes 5 questions worth 40 marks total requiring explanations and programs related to arrays, inheritance, I/O streams, threads, packages, and Applets. Part C includes 1 question worth 10 marks requiring the design and implementation of a BankAccount class in Java code.

Uploaded by

babudurga700
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

7636

C20-CM-WD–502
*
7636
BOARD DIPLOMA EXAMINATION, (C-20)

OCTOBER/NOVEMBER—2023

DCME – FIFTH SEMESTER EXAMINATION

JAVA PROGRAMMING
Time : 3 Hours ] [ Total Marks : 80

1
35
PART—A 3×10=30
Instructions : (1) Answer all questions.
(2) Each question carries three marks.
1
(3) Answers should be brief and straight to the point and shall
not exceed five simple sentences.
35
1. Define bytecode of Java.
1

2. Write any three differences between Java and C++.


35

3. Write any three differences between abstract class and interface.

4. What is the use of ‘super’ keyword?


1

5. Define a stream. List the different types of I/O streams.


*
35

6. List any three constructors for the HashSet class.

7. What is finally block? When is it used?

8. Define deadlock.

9. What is an event?

10. List the different states in life cycle of an Applet.


*
/7636 1 [ Contd...

www.manaresults.co.in
PART—B 8×5=40

*
Instructions : (1) Answer all questions.
(2) Each question carries eight marks.
(3) Answers should be comprehensive and criterion for
valuation is the content but not the length of the answer.

11. (a) Explain the features of Java programming. 8

(OR)

1
(b) Explain one-dimensional array with a program which sorts a list
of numbers. 3+5=8

35
12. (a) Describe the different types of inheritance with examples. 8

(OR)
1
(b) Explain the concept of creating and importing user defined packages.
35
8

13. (a) Write a program to access primitive data types using data input
stream and data output stream. 8
1

(OR)
35

(b) Explain the linkedlist class by writing a program that uses


constructors and methods. 8

14. (a) Describe the complete life cycle of a thread with a neat diagram. 8
1

* (OR)
35

(b) Explain the concept of multi-catch statement with an example


program. 8

15. (a) Discuss the steps involved in designing and executing an Applet. 8

(OR)

(b) List and explain any four event classes. 2+6=8

*
/7636 2 [ Contd...

www.manaresults.co.in
PART—C 10×1=10

Instructions :
*
(1) Answer the following question.
(2) The question carries ten marks.
(3) Answer should be comprehensive and the criterion for
valuation is the content but not the length of the answer.

16. Design a class to represent a bank account. Include the following


members :
(a) Fields :

1
(i) Name of the account holder

35
(ii) Account number
(iii) Balance amount in the account

(b) Constructor : 1
(i) To assign initial values

Methods :
35
(c)
(i) To deposit an amount
(ii) To display name and balance

Write the necessary Java code for the above data.


1
35


1

*
35

*
/7636 3 AA23(048)–PDF

www.manaresults.co.in

You might also like