Solution to 18CS45 OOC Module 5 Question Bank

Solution to 18CS45 OOC Module 5 Solved Question Bank

Here you can find the solution to the 18CS45 OOC Module 5 Question Bank.

Event Handling in Java

1. Explain the delegation event model used to handle events in java with suitable examples. July 17, 6M Jan 18, 8M

2. Write a short note on Event class and explain with syntax. July 19, 8M

3. Explain the delegation event model used to handle events in JAVA. What are events, event listener, and event sources? Jan.-19, Marks 6

4. Write short notes on the Event Listener interface and explain any two interfaces with syntax. July-19, Marks 8

5. Describe the delegation event model and explain what happens internally at a button click.  July-18, Marks 8

6. Explain key event and mouse event class. Jan. 18, Marks 6

7. Explain the adaptor class with an example. July-17, Marks 4

8. Explain inner class with an example. July-17, Marks 5

9. Explain the Adapter class and Inner classes with examples. Jan.-19, Marks 6

10. How inner classes are used in Java? Explain. July-19, Marks 4

Java Applets

1. Briefly explain Applets. July-18, Marks 3

2. What are applets? Explain different stages in the lifecycle of an applet. July-17, Marks 5

3. What is an applet? Explain five main methods of the applet. Jan.-18, Marks 8

See also  17CS71 15CS71 Web Technology and it's Applications

4. What is an applet? Explain the life cycle of an applet. July-19, Marks 10

5. Elucidate lucidly the skeleton of an applet. July-18, Marks 5

6. Design an applet to display three buttons “Red”, “green”, and “blue”. The color of the background changes according to the button pressed by the user.

7. Write a program using an applet that will print “key pressed” on the status window when you press the key. “Key released on the status window when you release the key and when you type the characters it should print “Hello” at coordinates (50,50) on the applet. Jan.-19, Marks 8

8. Develop an applet that receives two numerical values as input from the user and then displays the sum of these numbers on the screen.

9. What are the two types of applets? Explain the skeleton of an apple. Enlist applet tags. July-17, Marks 6

10. What is an applet? Explain the skeleton of an applet. Enlist applet tags. Jan.-19, Marks 8

11. Explain the applet architecture and demonstrate how to pass parameters for font size and font name in applets. July-17, Marks 5

12. Explain passing parameters in Applets. July-19, Marks 10

See also  17CS32 Analog and Digital Electronics Module 3

13. Explain getDocumentbase and getCodebase in Applets. Jan-18, Marks 8

14. Write a Java program to play an audio file using Applets. July-18, Marks 8

Java Swings

1. Write the advantages of swing over AWT. July-18, Marks 4

2. Describe the two key features of swings. Jan.-19, Marks 4

3. Write a brief note on containers in the swing. July-18, Marks 4

4. Explain briefly the components and containers used in swings. July-17, Marks 5

5. Explain JLable and ImageIcon with the program. July-17, Marks 6

6. Explain with syntax the following: JLabel. Jan.-18, Marks 2

7. Explain the following with an example for each and syntax: JLabel. Jan.-19, Marks 3

8. Explain the following with a suitable code: JLabel July-19, Marks 5

9. Explain with syntax the following: JTextField. Jan.-18, Marks 2

10. Explain the following with an example for each and syntax: JTextfield. Jan.-19, Marks 3

11. Explain the following with a suitable code: JTextField. July-19, Marks 5

12. Create a swing applet that has two buttons named beta and gamma. When either of the buttons is pressed, it should display “beta pressed” and “gamma pressed” respectively. Jan.-18, Marks 8

13. Explain with syntax the following: JButton. Jan.-18, Marks 2

14. Explain the following with an example for each and syntax: JButton. Jan.-19, Marks 3

See also  18CS652 Data Structures and Algorithms Notes

15. Explain the following with a suitable code: JList. July-19, Marks 5

16. Write a swing program for displaying any one of the options C, C++, Java, PHP through a selection of Combobox by clicking the show button. June-18, Marks 8

17. Explain the following with an example for each and syntax: JComboBox Jan.-19, Marks 3

18. Write steps to create JTable, also write a program to demonstrate the same. July-17, Marks 5

19. Explain the following with a suitable code: JTable July-19, Marks 5

20. Explain with syntax the following: JCheckBox. Jan.-18, Marks 2

21. Explain with syntax the following: JRadioButton. Jan.-18, Marks 2

The solution to University questions of Semester end Examination

The solution to 18CS45 OOC Module 1 Solved Question Bank

The solution to 18CS45 OOC Module 2 Solved Question Bank

The solution to 18CS45 OOC Module 3 Solved Question Bank

The solution to 18CS45 OOC Module 4 Solved Question Bank

The solution to 18CS45 OOC Module 5 Solved Question Bank

18CS45 Object-Oriented Concepts Notes

Summary:

This article provides the solution to the 18CS45 OOC Module 5 Solved Question Bank. If you like the tutorial share it with your friends. Like the Facebook page for regular updates and YouTube channel for video tutorials.

Leave a Comment

Your email address will not be published. Required fields are marked *