0% found this document useful (0 votes)
38 views2 pages

Java Programming Using Linux-1

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)
38 views2 pages

Java Programming Using Linux-1

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/ 2

QP CODE: 22102063 Reg No : .....................

22102063
Name : .....................

B.Sc DEGREE (CBCS) SPECIAL SUPPLEMENTARY EXAMINATIONS, MAY 2022


Fifth Semester
CORE COURSE - CS5CRT14 - JAVA PROGRAMMING USING LINUX
Common to B.Sc Computer Applications Model III Triple Main, B.Sc Computer Science Model III,
B.Sc Information Technology Model III & Bachelor of Computer Application
2019 Admission Only
98A6FBC1

Time: 3 Hours Max. Marks : 80


Part A
Answer any ten questions.
Each question carries 2 marks.

1. List out the different branching statements used in Java.

2. Analyse the use of labelled loop.

3. Define classes and objects.

4. How will you access class members using objects?

5. What is static members?

6. What are the methods in String class?

7. What is multi threading?

8. Define an Event Listener.

9. What are the differences between JTextField and JTextArea?

10. Differentiate between Flow layout and Border layout.

11. Write structure of Java applet program.

12. What is JDBC ResultSet?


(10×2=20)
Part B
Answer any six questions.
Each question carries 5 marks.

Page 1/2 Turn Over


13. Is Java platform independent and robust languag? Justify your answer

14. Explain relational and logical operators in Java with examples.

15. Discuss final methods in detail with an example.

16. What is an abstract class? Give example.

17. What is a Package? Differentiate between Java API packages & user defined packages.

18. Explain the purpose of try and catch with syntax & exmples

19. Substantiate Jbutton and Jlabel with examples.

20. How to pass parameters to an applet? Explain with Example.

21. Write an applet that receives three numeric values as input from the user and display the
largest.
(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 constructor overloading? Write a Java program to implement the constructor
overloading mechanism.

24. a)Differentiate between one-dimensional , two-dimensional arrays with appropriate syntax


& examples b)Write a Java program to sort numbers & sort names in 2 different arrays.

25. Differentiate between the following (a) JCheckBox and Jradiobutton (b) Jlist and
JComboBox
(2×15=30)

Page 2/2

You might also like