MCA MAGADH UNIVERSITY QUESTION (2013-2016) (fourth Semester) Advanced Programming with Java

MCA MAGADH UNIVERSITY QUESTION (2013-2016) (fourth Semester) Advanced Programming with Java
MCA MAGADH UNIVERSITY QUESTION (2013-2016) (fourth Semester) Advanced Programming with Java

                                                                        Time: 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. What do you mean by thread and multithreading? Write the process for creating thread in Java.

2. (a) What is synchronization and why is it important? How does thread synchronization occurs inside a monitor?
    (b) What will happen to the created thread when the following code segment is executed?
           Thread t = new thread ( );
           t.start ( );
           t=null;

3. Describe the different types of layout managers in java.

4. What do you understand by event handing in java? Give example of mouse event, keyboard event and window event.

5. What do you mean by stream? What are the types of stream and classes of the stream?

6. (a) What do you mean by the Java Beans? Also mention some advantages of Java Beans.
    (b) How to create a JAK file.

7. What do you mean by JDBC? What are the components of JDBC? Give the steps for using JDBC to access a database.

8. Using applet, create a well page which displays the following information of an employee.
    (i) Employee Code
    (ii) Employee Name
    (iii) Employee Designation
    (iv) Employee Data of Joining
    (v) Employee Basic Pay

9. What is Applet? Differentiate between Applet and application.  Explain the life cycle of Java applet.

10. Write short notes on any three of the following:
      (a) Multithreading
      (b) Insets
      (c) Synchronization
      (d) URL
      (e) Socket Programming

Comments

Popular posts from this blog

MCA MAGADH UNIVERSITY QUESTION (2015-2018) (Semester-iii) Database Management Systems

MCA MAGADH UNIVERSITY QUESTION (2010-2013) (Fifth Semester) Artificial Intelligence and Application

BCA MAGADH UNIVERSITY QUESTION (2011)