MCA MAGADH UNIVERSITY QUESTION (2016-2019) (Fourth Semester) Advanced Programming with Java
MCA MAGADH UNIVERSITY QUESTION (2016-2019) (Fourth Semester) Advanced Programming with Java
2016-2019Time: 4 hours
Full marks: 80
Candidates are required to give their answers in their
own words as far as practicable.
The questions are of equal value.
Answer any five questions.
1. Explain multithreading. How java implements its thread model ? Write a program to create two threads, one thread will print odd numbers and second thread.
2. Define Daemon thread. Explain thread synchronization, write a program to implement thread synchronization using synchronization block and synchronization keyword.
3. Explain AWT. Describe Event Delegation Model.
4. Differentiate between window and a frame. Write a program to display some text in the frame using drawstring ( ) method also set background color of the frame, set font, color and font size of the text.
5. What are the common methods available to all components of AWT.
6. Describe JFC and its features and packages provided.
7. Differentiate between AWT and SWING. Discuss some important classes of javax-swing.
8. What is a layout manager? Describe any four layout classes along with their features.
9. Explain the basic components of JDBC. Explain in detail the different drivers of JDBC.
10. Differentiate between prepared statement and callable statement. Give example of each.
Comments
Post a Comment