PREVIOUS YEAR SOLVED PAPERS MCQ - August 2016 Paper 3

Correct AnswerOption C
Rate difficulty Rate difficulty:
Choose a difficulty.
Found this useful?
Follow:
  • Prim’s algorithm takes O(E lgV) time.
  • Bellman-Ford algorithm takes O(V2E) time.
  • Floyd-Warshall algorithm takes O(V3) time.
  • Johnson’s algorithm takes O(VE lgV) time.
  • 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 *

    Correct AnswerOption D
    Rate difficulty Rate difficulty:
    Choose a difficulty.

    Constructors have no return type. For more information on constructors Refer:Constructors in C++ Option (D) 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 *

    Correct AnswerOption B
    Rate difficulty Rate difficulty:
    Choose a difficulty.

    Method over-riding can be prevented by using final as a modifier at the start of method declaration. For detailed information and program Refer:Overriding in Java 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 *

    Correct AnswerOption A
    Rate difficulty Rate difficulty:
    Choose a difficulty.
  • Composition is a strong type of association between two classes with full ownership. Correct.
  • Composition is a strong type of association between two classes with partial ownership.Incorrect
  • Composition is a weak type of association between two classes with partial ownership.Incorrect
  • Composition is a weak type of association between two classes with strong ownership.Incorrect
  • So, option (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 *

    Correct AnswerOption B
    Rate difficulty Rate difficulty:
    Choose a difficulty.
    Share this question
    Share:
  • Every class containing abstract method must be declared abstract.Correct Declaration is required.
  • Abstract class can directly be initiated with ‘new’ operator. No it can't be initiated directed by only 'new' operator. So, it is Inorrect
  • Abstract class can be initiated.Correct
  • Abstract class does not contain any definition of implementation.Correct
  • So, 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 *

    Why Practice with Avatto?
    High Quality MCQsExam-focused questions with accurate answers
    Detailed ExplanationsStep-by-step explanations to enhance learning
    Latest Exam PatternBased on updated syllabus and pattern
    Performance AnalyticsTrack performance and improve weak areas
    100% Free PracticePractice unlimited questions for free
    Boost Your PreparationAttempt mock tests, previous year papers and topic-wise quizzes.Explore All Tests →