Question
The question given below consists of three statements
numbered R, II and III given below it. You have to decide whether the data provided in the statements are sufficient to answer the question. Read all the statements and answer the question. There are seven persons D, E, F, G, H, I, and J in a family of three generations. No single person in the family is a parent. How is G related to H? Statement I: D is the wife of J, who is the grandfather of F. F is married to G. Statement II: E is the father-in-law of G. I is the brother of H. Statement III: The gender of H and G is same. I is not the son of J.Solution
From statements I and II together, we get: Case 1:
Case 2:
From statements I and II together, we cannot answer the above question. From statements I and III together, we get:
From statements I and III together, we cannot answer the above question. From statements II and III together, we get:
From statements II and III together, we cannot answer the above question. From statements I, II and III together, we get:
From statements I, II and III together we get, G is the daughter-in-law of H. Therefore, data given in statements I, II and III together is sufficient to answer the question.
Which of the following is the correct definition of 'polymorphism' in Object-Oriented Programming?
Which SQL keyword is used to sort the result set?
Which of the following prevents inheritance in C++?
Which of the following is used to eliminate redundancy and anomalies in a database?
Which OOP principle allows a single interface to represent different underlying forms or data types?
The concept of "data hiding" is primarily achieved through which OOP principle?
Which of the following correctly describes the concept of 'encapsulation' in OOP?
A primary key in a table:
The result of a Cartesian product of two relations R and S will have:
In C++, if a base class has a virtual function, and a derived class overrides that function, which mechanism ensures that the correct derived class func...