Question
Who among the following lives on the floor immediately
above the floor of G? Study the following information carefully to answer the given questions Seven Persons – A, B, C, D, E, F and G – live on separate floors of a seven storeyed building, but not in the same order. The ground floor of the building is numbered 1, the floor above it 2 and so on until the topmost floor is numbered 7.Each person likes different fruits, viz, Papaya, Mango, Apple, Kiwi, Guava, Grapes and Coconut, but not necessarily in the same order. Each person also likes different colours namely viz, Yellow, Orange, Red, Black, Blue, Brown and Purple. More than three persons sit between the one who likes Yellow and the one who likes Orange. The person who likes Kiwi lives on floor numbered 4. Only two persons live between D and the one who likes Kiwi. The persons who live on the ground floor and the topmost floor don’t like Orange. A does not live on the lowermost floor. A lives on any odd numbered floor below the one who likes Kiwi. G lives on an even numbered floor but neither immediately above nor immediately below the floor of A. The person who likes Apple does not like Yellow. Only two persons live between A and the person who likes Coconut. Only one person lives between B and F. The person who likes Orange lives exactly between the persons who like Brown and Blue. F lives on an even numbered floor and does not like Kiwi. Only three persons live between the persons who like Papaya and Apple respectively. The person who likes Papaya live on any floor above the B’s floor. The person who likes Papaya does not live on the topmost floor. C does not like Papaya or Apple. Only two persons live between the one who likes Purple and the one who likes Brown. The person who likes Guava lives on the floor immediately above the floor of the person who likes Grapes. B does not like neither Purple nor Red.Solution
The person who likes Kiwi lives on floor numbered 4. Only two persons live between D and the one who likes Kiwi. The persons who live on the ground floor and the topmost floor don’t like Orange. A does not live on the lowermost floor. A lives on any odd numbered floor below the one who likes Kiwi. G lives on an even numbered floor but neither immediately above nor immediately below the floor of A. A Only one person lives between B and F. The person who likes Papaya live on any floor above the B’s floor. B does not like neither Purple nor Red. Case 1
A control unit in a CPU uses a microprogram to:
In object-oriented programming, what is inheritance?
‘/a’ is used for what in C++
In a public key infrastructure (PKI), what is the primary role of a Certificate Authority (CA)?
What is the primary difference between tuple calculus and domain calculus?
MPLS uses which concept for fast packet forwarding?
Which COCOMO model is used for early-stage estimates with limited project information?
Which protocol is used for secure communication over a network?
Which command is used to append the contents of one file to another file in a Unix/Linux system?
What is the decimal equivalent of the hexadecimal number A5?