Skip to content

// Anna University, Chennai / 2023

Anna University — Object Oriented Programming (CS3391), April/May 2023

Object Oriented Programming · CS3391 · R2021 · B.E. Computer Science and Engineering · Semester 4

Files open in a new tab. Use your browser's download or save option to keep a copy.

Work through the questions

16 questions

No verified answers are available for this paper.

  1. Question 1

    Part ADescriptive2 marks

    Object-Oriented Programming

    What is bytecode?

    No verified answer or solution is available for this question.

  2. Question 2

    Part ADescriptive2 marks

    Object-Oriented Programming

    Write the general form of the for-each version of the for statement.

    No verified answer or solution is available for this question.

  3. Question 3

    Part ADescriptive2 marks

    Object-Oriented Programming

    What is the use of final keyword?

    No verified answer or solution is available for this question.

  4. Question 4

    Part ADescriptive2 marks

    Object-Oriented Programming

    How dynamic method resolution is achieved in Java?

    No verified answer or solution is available for this question.

  5. Question 5

    Part ADescriptive2 marks

    Object-Oriented Programming

    List the values associated with the parameters of setpriority( ) method of Thread class?

    No verified answer or solution is available for this question.

  6. Question 6

    Part ADescriptive2 marks

    Object-Oriented Programming

    Define deadlock.

    No verified answer or solution is available for this question.

  7. Question 7

    Part ADescriptive2 marks

    Object-Oriented Programming

    State the purpose of Valueof( ) method in String class.

    No verified answer or solution is available for this question.

  8. Question 8

    Part ADescriptive2 marks

    Object-Oriented Programming

    List any two methods available in DataOutput Interface.

    No verified answer or solution is available for this question.

  9. Question 9

    Part ADescriptive2 marks

    Object-Oriented Programming

    What is the use of adapter class?

    No verified answer or solution is available for this question.

  10. Question 10

    Part ADescriptive2 marks

    Object-Oriented Programming

    List any two forms of CheckBoxMenuItem constructors.

    No verified answer or solution is available for this question.

  11. Question 11

    Part BDescriptive13 marks

    Object-Oriented Programming

    (a) Explain in detail about Java's iteration statements with example. (OR) (b) What is a Constructor? Explain with example.

    No verified answer or solution is available for this question.

  12. Question 12

    Part BDescriptive13 marks

    Object-Oriented Programming

    (a) What is a package? Explain in detail about how the packages provide access control to various categories of visibility for class members. (OR) (b) Explain in detail about the basics of inheritance and elaborate on any two inheritance mechanisms in Java.

    No verified answer or solution is available for this question.

  13. Question 13

    Part BDescriptive13 marks

    Object-Oriented Programming

    (a) Explain in detail about Java's Built-in Exceptions. Explain any three exceptions. (OR) (b) Discuss in detail about the methods to create a thread in Java.

    No verified answer or solution is available for this question.

  14. Question 14

    Part BDescriptive13 marks

    Object-Oriented Programming

    (a) Discuss in detail about the restrictions and limitations of using generics in Java Programming. (OR) (b) Explain the following statement "StringBuffer class create mutable stings". Explain about StringBuffer class. Compare String class with StringBuffer class.

    No verified answer or solution is available for this question.

  15. Question 15

    Part BDescriptive13 marks

    Object-Oriented Programming

    (a) Explain in detail about the commonly used event listener interfaces with a sample program. (OR) (b) Write a Java Program that demonstrates mouse event handlers.

    No verified answer or solution is available for this question.

  16. Question 16

    Part CDescriptive15 marks

    Object-Oriented Programming

    (a) Write a java program with nested try statements that raises divide by zero exception and out of bound exception, if the program contains a statement with division operator and a divisor as a command line argument. (OR) (b) Write a java Program to copy a text file into another text file and to raise exceptions for all cases.

    No verified answer or solution is available for this question.

Keep preparing

Revisit another year or explore a different paper in the library.

More from this exam