NALANDA OPEN UNIVERSITY QUESTION, 2012, M.C.A, Part-II, Paper-XIX (Object Oriented Technologies and Java programming)

NALANDA OPEN UNIVERSITY QUESTION, 2012, M.C.A, Part-II, Paper-XIX (Object Oriented Technologies and Java programming)
NALANDA OPEN UNIVERSITY QUESTION, 2012, M.C.A, Part-II, Paper-XIX (Object Oriented Technologies and Java programming)

                                                                               2012
                                                                        Time: 3 hours
                                                                         Full marks: 80
                                        Answer any five questions. All questions carry equal marks.

1. What is an object oriented Paradigm? Explain two differences between the object oriented paradigm of programming languages and the structured paradigm of programming languages.

2. What is message passing? Explain the need of message passing in object oriented programming with an example. What is a TCP/IP socket? Explain the use of a TCP/ IP socket through an example of a program written in java.

3. What is a constructor? Write a java program to explain the need of a constructor in problem solving. What is a package? Explain the different access controls for packages in Java.

4. Write a program in Java which reads two real numbers, finds the sum of these two numbers and prints the real and imaginary part of this sum separately.

5. What is multithreading? Explain two advantages of multithreaded programs. Write a program in Java to explain how different priorities can be assigned to different threads.

6. What is method overloading? What are the important points which should be taken care of while overloading methods? Write a java program to explain the working of overloaded methods.

7. Explain two situations when string buffer would be used for string handling . Also write a program which appends the string " Programming", to the string " Java".Print the final content of the appended string.

8. What is an event? Explain different components of an event. What is Border layout? Write a java program which creates Border layout and adds two text boxes to it.

9. What is a servlet? Explain the use of GET and POST methods.What is unicode? Explain the advantages of using unicode.

10. What is a session? How does URL rewriting store session details.? Explain this with an example. What is an exception? Explain, With an example, how exceptions are handled in java.

Comments

Popular posts from this blog

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

M.C.A MAGADH UNIVERSITY QUESTION, (2013-2016) (Third semester) JAVA

MCA MAGADH UNIVERSITY QUESTION Fifth semester (2003-2006) Internet and Web Designing