Placement AptitudeVery hardTCS NQT Advanced · Infosys SP

Five friends Arun, Bela, Chirag, Divya and Esha sit at desks 1 to 5 in a row (desk 1 at the left). Each is from a different city (Pune, Delhi, Goa, Agra, Surat) and codes in a different language (Java, Python, C, Go, Rust). • The Python coder sits immediately to the right of the person from Goa. • Bela sits at one end and does not code in Java. • The person from Delhi sits at desk 3. • Chirag codes in Rust and sits somewhere to the left of Divya. • Esha is from Surat and sits next to the Go coder. • The Java coder is from Agra, and Arun sits at desk 2. Who codes in C?

  1. A. Divya
  2. B. Bela
  3. C. Esha
  4. D. Arun

Correct answer: B. Bela

Arun is at desk 2, so Bela (at an end) is at 1 or 5. Placing Goa and the Python coder side by side, Delhi at 3 and Chirag left of Divya forces: 1 Bela (Pune, C), 2 Arun (Agra, Java), 3 Chirag (Delhi, Rust), 4 Divya (Goa, Go), 5 Esha (Surat, Python). Bela codes in C.

More Logical Reasoning for Placements questions

Exams that ask this topic