Question
Seven persons A, B, C, D, E, F, and G are sitting in a
straight line, facing North. Only two people sit to the left of A. Only three people sit between A and E. D sits at one of the extreme ends. G sits to the immediate right of D. C sits in the middle of the row. B is not an immediate neighbor of C. What is the position of F from the extreme right end?Solution
As per the given conditions, seven persons are sitting in a linear arrangement, facing the North. ď‚§ D sits at one of the extreme ends. ď‚§ G sits to the immediate right of D, which means D sits at the extreme left end. ď‚§ C sits at the center of the row. ď‚§ Since only two persons sit to the left of A, and only three sit between A and E, this means A must be sitting between G and C while E must be sitting at the extreme right end. ď‚§ Since B is not an immediate neighbor of C, B must be at the second last place from the right end. ď‚§ So, F will be seated at the remaining vacant place. Final arrangement is shown below: From the above arrangement, it is clear that F is at the 3rd position from the right end. Hence, the correct answer is (C).
In dynamic programming, what is memoization?
What is an identifier in C language?
From the following algorithm design techniques which one is used to find all the pairs of shortest distances in a graph?
The dynamic memory allocation is the memory allocation done at the _________.
Which cardinality notation represents a mandatory relationship?
What is the purpose of error control in data communication?
The sum of the probabilities of all possible outcomes in a binomial distribution is equal to:
Any numbered relationship has how many participating entities?
ICMP sends “Destination Unreachable – Fragmentation Needed” when:
3NF is best suitable for designing of the database?