Question
R likes which of the following
actor? Read the following information carefully and answer the questions that follow.   Eight girls M, N, O, P, Q, R, S and T are standing in two concentric circles in such a manner that each member of the inner circle stands exactly opposite to the members of the outer circle. The members standing in the outer circles are Q, R, S and M and all of them are facing towards the centre while the members of the inner circle are T, N, O, P and they are facing away from the centre. Each of them likes a different Actor viz. E, F, G, H, I, J , K, L but not necessarily in the same order. The girls who like J and L are immediate neighbours and one of them faces N, who likes F. T who likes H faces the immediate neighbour of the girl who likes G. S stands second to the left of M. P likes neither F nor I and faces S, who likes neither J nor L. The girl who likes K faces the girl who likes E. The girls who like I and E are in separate circles. The girl who likes J stands on the immediate left of M. R who does not like G does not face T. The girls who like K and H stand in the same circle but they are not immediate neighbours of each other.   ÂSolution
S stands second to the left of M. The girl who likes J stands on the immediate left of M. P likes neither F nor I and faces S, who likes neither J nor L. The girls who like J and L are immediate neighbours and one of them faces N, who likes F. Here we get 3 following cases: Â Case 1:- The girls who like K and H stand in the same circle but they are not immediate neighbours of each other. While P does not like I. so this case is not possible. Case 2:-Â The girl who likes K faces the girl who likes E. T who likes H faces the immediate neighbour of the girl who likes G. So this case is also not possible.
Case 3:- The girl who likes K faces the girl who likes E. T who likes H faces the immediate neighbour of the girl who likes G. R who does not like G does not face T. This is the final arrangement.
Â
Which of the following algorithms is most commonly used in Operating Systems for deadlock prevention?
In C, which function is used to release dynamically allocated memory?
In C, what will be the output of the following code?
int a = 5;
printf("%d", a++);
Which Java keyword is used to inherit a class?
In C++, which feature allows hiding the internal details of a class?
- Which of the following is the primary benefit of Big Data analytics in decision-making?
Which of the following is used to declare a list in Python?
In Java, which method is used to start a thread?
Which Python keyword is used to handle exceptions?
In Python, which of the following is immutable?