Cisy 310:Advance Programming Question Paper
Cisy 310:Advance Programming
Course:Computer Science
Institution: Kenya Methodist University question papers
Exam Year:2013
KENYA METHODIST UNIVERSITY
END OF 3''RD ''TRIMESTER 2013 (FT) EXAMINATION
FACULTY : COMPUTING & INFORMATICS
DEPARTMENT : COMPUTER SCIENCE AND BUSINESS INFORMATION
UNIT CODE : BBIT 426/CISY 310
UNIT TITLE : ADVANCED PROGRAMMING
TIME : 2 HOURS
Instructions: Answer all questions in section A and two in Section B.
Question One
Describe the purpose of the following java packages in full building. (8mks)
Java.swing *
Java.awt.event.*
Java.sgl.*
Java.io.*
The figure below depicts the three ties architecture for data access in java. Briefly describe it.
(6mks)
Explain how to register a listens objet and how to implement a listener interface.
(4mks)
Differentiate between swing components and AWT components. (4mks)
How do you create a scrollable and updateable results.
(4mks)
Describe the structure dialog boxes created using the joptionpane.
(4mks)
SECTION B
Question Two
Briefly describe any three container classes in swing.
(6mks)
Write the code that gives the toolbar below.
Question Three
With the help of syntax, describes any three layouts managers in java.
(6mks)
Write java code that displays the output below. Add functionality for the radio buttons i.e. on any of the radio buttons, the background color of the text field changes accordingly. (mks)
Question Four
In full what is the importance of
Driver manager class or datasource class
Event adopts class
SQL exception
Write java code that generates the following user interface. (9mks)
More Question Papers