PREVIOUS YEAR SOLVED PAPERS - July 2016 Paper 3

36. A triangulation of a polygon is a set of T chords that divide the polygon into disjoint triangles. Every triangulation of n-vertex convex polygon has _____ chords and divides the polygon into _____ triangles.

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


37. Implicit return type of a class constructor is:

  • Option : B
  • Explanation :
    Implicit return type of a class constructor is class type itself. Option (B) is correct.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


38. It is possible to define a class within a class termed as nested class. There are _____ types of nested classes.

  • Option : A
  • Explanation :
    It is possible to define a class within a class termed as nested class. There are two types of nested classes. 1 - Outer class will use argument of inner class. 2 - Inner and outer class are independent to each other.(different argument) So, optioin (A) is correct.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


39. Which of the following statements is correct?

  • Option : C
  • Explanation :
    Aggregation is a weak type of association between two classes with partial ownership. All other statement are incorrect. So, option (C) is correct.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


40. Which of the following statements is correct?
(1) Every class containing abstract method must not be declared abstract.
(2) Abstract class cannot be directly initiated with ‘new’ operator.
(3) Abstract class cannot be initiated.
(4) Abstract class contains definition of implementation.

  • Option : C
  • Explanation :
  • Every class containing abstract method must be declared abstract.
  • Abstract class doesn't contains definition of implementation
  • Abstract class cannot be directly initiated with ‘new’ operator and it cannot be initiated. Statement (2) and (3) are correct.
  • So, option (C) is correct.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


Related Quiz.
July 2016 Paper 3