23121378
QP CODE: 23121378 Reg No : .....................
Name : .....................
[Link] DEGREE (CBCS ) SPECIAL SUPPLEMENTARY EXAMINATIONS, APRIL 2023
Fifth Semester
CORE COURSE - CS5CRT14 - JAVA PROGRAMMING USING LINUX
Common to [Link] Computer Applications Model III Triple Main, [Link] Computer Science Model III,
[Link] Information Technology Model III & Bachelor of Computer Application
2020 Admission Only
640314A8
Time: 3 Hours Max. Marks : 80
Part A
Answer any ten questions.
Each question carries 2 marks.
1. Define the term polymorphism.
2. Explain the use of continue statement.
3. State the uses of super keyword in Java.
4. What are static variables?
5. What are interfaces?
6. List down the Java API packages.
7. Write any four methods of Thread class.
8. What are differences between Swing and AWT?
9. List the components of a Swing.
10. Define JTextField.
11. Write notes ontag.
12. Describe the arguments used in the method drawRoundRect().
(10×2=20)
Part B
Answer any six questions.
Each question carries 5 marks.
Page 1/2 Turn Over
13. Explain the data types used in Java.
14. Write a Java program to print the score card of a student using else if ladder structure.
15. How will you declare metnods in Java?
16. With example illustrate the usages of the keyword final.
17. How do you create & initialize a one dimensional array in Java?
18. What are different ways to create String Object?
19. Substantiate GridLayout and FlowLayout with the help of diagrams.
20. Write an applet that receives to integer values as input and display the sum.
21. Briefly explain JDBC Architecture.
(6×5=30)
Part C
Answer any two questions.
Each question carries 15 marks.
22. Define token of a language. Explain the different tokens used in Java.
23. What is method overloading? Write a Java program to implement the method overloading
mechanism.
24. Explain in detail about the excepion handling mechanism with approprite syntax &
examples.
25. Explain the Event handling mechanism of java. Name a few Event handling classes.
(2×15=30)
Page 2/2