0% found this document useful (0 votes)
13 views

Java Old Question Paper

Java old question paper

Uploaded by

deneshivan2
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)
13 views

Java Old Question Paper

Java old question paper

Uploaded by

deneshivan2
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/ 17

MAY 2021 U/ID 46509/UCC4A

Time : Three hours Maximum : 75 marks

PART A — (10 × 2 = 20 marks)

Answer any TEN questions.

1. What is data encapsulation?

2. List some methods in System class.

3. What is static method?

4. What is wrapper class?

5. Mention the role of listener interface.

6. What is JPanel?

7. Mention the use of Border Layout.

8. What is an interface?

9. What is File?

10. What is TCP/IP?

11. What is Datagrams?

12. What is Menus?


PART B — (5 × 5 = 25 marks)

Answer any FIVE questions.

13. Explain the various Datatypes in JAVA.

14. Write a program to show the function of


constructor.

15. Write a program to show the usage of super


keyword.

16. Describe the methods in JTextfield.

17. Describe about font control option in JAVA.

18. How to create thread with Runnable interface?


Explain.

19. Explain about AWT Controls in JAVA.

PART C — (3 × 10 = 30 marks)

Answer any THREE questions.

20. State the characteristics of JAVA. Explain.

21. Write a program to display the customers


electricity bills with overriding methods.

22. Discuss Layout Managers with examples.

2 U/ID 46509/UCC4A
23. Design an interface with any two standards text
tools, menus and frames.

24. Write short notes on Network basics and Socket


Programming.

––————————

3 U/ID 46509/UCC4A
MAY 2023 U/ID 46509/UCC4A

Time : Three hours Maximum : 75 marks

PART A — (10 × 2 = 20 marks)

Answer any TEN questions

1. What is Constant?

2. What is Statement?

3. What are Objects?

4. What is Abstract class?

5. Define Interface.

6. What is Package?

7. Define Applet.

8. What is the use of font class?

9. What is file?

10. Name any two methods in the Thread class.

11. What is Menu?

12. What is AWT?


PART B — (5 × 5 = 25 marks)

Answer any FIVE questions

13. Explain the various types of tokens in Java.

14. Explain the working of do–while statement in


Java with examples.

15. Give a brief account on Method overloading.

16. How packages are created in Java? Explain.

17. Explain the keywords that are used to manage the


exceptions in Java.

18. Write a note on I/O stream classes.

19. Explain color class in Java.

PART C — (3 × 10 = 30 marks)

Answer any THREE questions

20. Explain the basic concepts of OOP.

21. Explain the various types of inheritance in Java.

22. Explain the life cycle of a thread.

23. Explain the life cycle of an Applet.

24. Explain the various layout managers in Java.

———————

2 U/ID 46509/UCC4A
MAY 2022 U/ID 46509/UCC4A

Time : Three hours Maximum : 75 marks

PART A — (10 × 2 = 20 marks)

Answer any TEN questions.

1. What is Variable?

2. What is Array?

3. What is Method overriding?

4. Define – Abstract class.

5. Define – GUI.

6. What is Thread?

7. What is Synchronization?

8. What is Applet?

9. What is AWT?

10. What is Exception?

11. What is File?

12. What are Fonts?


PART B — (5 × 5 = 25 marks)

Answer any FIVE questions.

13. Discuss on the syntax of control statements using


examples.

14. Describe the concept of method overloading with


examples.

15. Describe the importance of Abstract class with


examples.

16. Discuss on Multithreaded techniques using


examples.

17. Discuss on the Exception handling mechanism.

18. Explain the font control mechanism.

19. Explain AWT classes with examples.

PART C — (3 × 10 = 30 marks)

Answer any THREE questions.

20. Explain the features of Java in detail.

21. Discuss on the features of string class.

2 U/ID 46509/UCC4A
22. Describe the method of defining and importing
packages.

23. Explain the features of Layout managers.

24. Discuss on working with colours and fonts.

———————

3 U/ID 46509/UCC4A
DECEMBER 2022 U/ID 46509/UCC4A

Time : Three hours Maximum : 75 marks

PART A — (10 × 2 = 20 marks)

Answer any TEN questions.

1. What is a Token?

2. What is a variable?

3. List the integer data types in Java.

4. What is a class?

5. Define array.

6. What is a thread?

7. List the two categories of errors.

8. What is stream?

9. What is URL?

10. What is AWT?

11. What is Applet?

12. List any two drawing methods of graphic class.


PART B — (5 × 5 = 25 marks)

Answer any FIVE questions.

13. Explain the features of Java.

14. Explain the branching statements in Java.

15. Describe the method overloading in Java.

16. What is a package? How packages are created in


Java? Explain.

17. How exceptions are handled in Java? Explain.

18. Explain any five methods of thread class.

19. Explain Border layout.

PART C — (3 × 10 = 30 marks)

Answer any THREE questions.

20. Explain the data types in Java.

21. Explain the various abstract classes with


examples.

22. Write a detailed note on Java packages.

2 U/ID 46509/UCC4A
23. Explain the life cycle of an applet program.

24. Briefly explain the fundamentals of exception


handling.

——————–––––—

3 U/ID 46509/UCC4A
DECEMBER 2021 U/ID 46509/UCC4A

Time : Three hours Maximum : 75 marks

PART A — (10 × 2 = 20 marks)

Answer any TEN questions.

1. What are Objects and Classes?

2. Define the term – Array.

3. What is an Abstract Class?

4. Define method overriding.

5. What is Adapter Class?

6. Define GUI.

7. What is JSlider?

8. What are the purpose of Layout managers?

9. What is file stream?

10. Define the term- Interface.

11. What are Frames?

12. Define URL.


PART B — (5 × 5 = 25 marks)

Answer any FIVE questions.

13. Explain the syntax of control statements with


examples.

14. Describe the Input and Output statements in Java


with examples.

15. Discuss the importance of constructors with


examples.

16. Write short notes on inheritance mechanism.

17. Explain the methods of drawing lines, rectangles,


ovals.

18. Write short notes on Graphics context and


Graphics Objects.

19. Explain about working with Colors and Fonts in


JAVA

PART C — (3 × 10 = 30 marks)

Answer any THREE questions.

20. Discuss in detail the features of JAVA.

21. Explain the concept of method overloading with


examples.

2 U/ID 46509/UCC4A
22. Describe the common GUI event types and
Listener interfaces in detail.

23. Discuss on the features of different Layout


managers.

24. Explain the procedure for creating and importing


packages in Java with examples.

———————

3 U/ID 46509/UCC4A
DECEMBER 2020 U/ID 46509/UCC4A

Time : Three hours Maximum : 75 marks

PART A — (10 × 2 = 20 marks)


Answer any TEN questions.

1. List the features of Java.

2. What is a scanner class?

3. What is a constructor?

4. Mention the use of super keyword.

5. What is a wrapper class?

6. Give some Jlist methods

7. What is a exception handling?

8. What is a file stream?

9. How does to import a package?

10. Define Thread.

11. What is a proxy server?

12. What is AWT?


PART B — (5 × 5 = 25 marks)
Answer any FIVE questions.

13. Describe any five concepts of object oriented


programming.

14. Mention primitive and composite data types in


JAVA.

15. Explain any two types of inheritance with


examples.

16. How do GUI components make the interface


effective?

17. What is an interface? How to define and


implement an interface?

18. Write a program for showing the occurrence of any


three exception.

19. Explain Menus and Layout Manager with


examples.

PART C — (3 × 10 = 30 marks)
Answer any THREE questions.

20. Explain the various control statements in JAVA.

21. Write about the wrapper classes for primitive data


types.

2 U/ID 46509/UCC4A
22. Develop an Interface with Jcheckbox JTextarea
and JButton.

23. Develop an application to store the particulars of


employee in a file. And display them on screen by
sequentially retrieving the records.

24. Write a short note on (a) Socket Programming


(b) Working with Fonts.

––————————

3 U/ID 46509/UCC4A

You might also like