Skip to content

// Anna University, Chennai / 2023

Anna University — Object Oriented Programming (CS3391), November/December 2023

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

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 an array? How multidimensional arrays are implemented in Java?

    No verified answer or solution is available for this question.

  2. Question 2

    Part ADescriptive2 marks

    Object-Oriented Programming

    Name the access modifiers in Java.

    No verified answer or solution is available for this question.

  3. Question 3

    Part ADescriptive2 marks

    Object-Oriented Programming

    Define inheritance.

    No verified answer or solution is available for this question.

  4. Question 4

    Part ADescriptive2 marks

    Object-Oriented Programming

    How can a subclass can call a constructor defined by its superclass?

    No verified answer or solution is available for this question.

  5. Question 5

    Part ADescriptive2 marks

    Object-Oriented Programming

    Outline the difference between unchecked exceptions and checked exceptions.

    No verified answer or solution is available for this question.

  6. Question 6

    Part ADescriptive2 marks

    Object-Oriented Programming

    Name the methods used by Java for interprocess communication to avoid polling.

    No verified answer or solution is available for this question.

  7. Question 7

    Part ADescriptive2 marks

    Object-Oriented Programming

    What are streams?

    No verified answer or solution is available for this question.

  8. Question 8

    Part ADescriptive2 marks

    Object-Oriented Programming

    Why parameterized types are important?

    No verified answer or solution is available for this question.

  9. Question 9

    Part ADescriptive2 marks

    Object-Oriented Programming

    What is JavaFX?

    No verified answer or solution is available for this question.

  10. Question 10

    Part ADescriptive2 marks

    Object-Oriented Programming

    Write a note on HBox and VBox.

    No verified answer or solution is available for this question.

  11. Question 11

    Part BDescriptive13 marks

    Object-Oriented Programming

    (a) (i) List the symbols that are used as separators in Java and present an outline of the same. (7) (ii) Outline the primitive types of data in Java. (6) (OR) (b) (i) Outline the bitwise operators in Java that can be applied to the integer type. (7) (ii) Outline while and do-while iteration statements in Java with its general form. (6)

    No verified answer or solution is available for this question.

  12. Question 12

    Part BDescriptive13 marks

    Object-Oriented Programming

    (a) Outline method overloading and method overriding in Java with code fragments. (13) (OR) (b) What is an interface? How to define an interface? How one or more classes can implement an interface? Outline with code fragments. (13)

    No verified answer or solution is available for this question.

  13. Question 13

    Part BDescriptive13 marks

    Object-Oriented Programming

    (a) (i) What is a Java exception? How Java exception handling is managed? Outline. (7) (ii) Outline Java's checked exceptions defined a java.lang package. (6) (OR) (b) Present an outline of Java's multithreading system. Also outline the two ways to create a thread. (13)

    No verified answer or solution is available for this question.

  14. Question 14

    Part BDescriptive13 marks

    Object-Oriented Programming

    (a) (i) Outline reading console input and writing console output in Java. (8) (ii) Present an outline of FileInputStream and FileOutputStream classes. (5) (OR) (b) What is StringBuffer? Name and outline the constructors defined by StringBuffer with code fragments. (13)

    No verified answer or solution is available for this question.

  15. Question 15

    Part BDescriptive13 marks

    Object-Oriented Programming

    (a) What is a button? Name and outline the types of buttons JavaFX provides with visual representations. (13) (OR) (b) Name and outline the types of panes JavaFX provides for organizing nodes in a container. (13)

    No verified answer or solution is available for this question.

  16. Question 16

    Part CDescriptive15 marks

    Object-Oriented Programming

    (a) Write a Java program to accept 'n' names, store it in an array, sort the names in alphabetic order and display the result. Use classes and methods. (15) (OR) (b) Write a Java program to accept two square matrices, store them in an array, add the matrices and display the result. Use classes and methods. (15)

    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