CS304(P) Quiz No 2 Solution 2024

 


CS304(P) Quiz No 2 Solution 2024 (100%)

  1. Which relationship from the list below best sums up the statement above?
    Students in a classroom setting?
    Association

    Inheritance 
    Composition 
    Aggregation
  2. In an object model, which of the following classes cannot exist independently?
    Derived class 
    Friend class
    Abstract class 
    Concern class
  3. Utilizing is one way to hide information.
    Encapsulation, Abstraction

    Abstraction, Overloading
    Encapsulation, Polymorphism
    Abstraction, Inheritance
  4. When parent classes are also descended from the grandparent class, what issue results from multiple inheritance?
    Diamond
    Triangle
    Round
    Loop

Post a Comment

Previous Post Next Post